diff --git "a/Tasks/Task 4/task4-finetuning-os-embed.ipynb" "b/Tasks/Task 4/task4-finetuning-os-embed.ipynb" new file mode 100644--- /dev/null +++ "b/Tasks/Task 4/task4-finetuning-os-embed.ipynb" @@ -0,0 +1,2032 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \u001b[1;31merror\u001b[0m: \u001b[1msubprocess-exited-with-error\u001b[0m\n", + " \n", + " \u001b[31m×\u001b[0m \u001b[32mBuilding wheel for grpcio-tools \u001b[0m\u001b[1;32m(\u001b[0m\u001b[32mpyproject.toml\u001b[0m\u001b[1;32m)\u001b[0m did not run successfully.\n", + " \u001b[31m│\u001b[0m exit code: \u001b[1;36m1\u001b[0m\n", + " \u001b[31m╰─>\u001b[0m \u001b[31m[1154 lines of output]\u001b[0m\n", + " \u001b[31m \u001b[0m :30: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html\n", + " \u001b[31m \u001b[0m running bdist_wheel\n", + " \u001b[31m \u001b[0m running build\n", + " \u001b[31m \u001b[0m running build_py\n", + " \u001b[31m \u001b[0m creating build/lib.macosx-14.0-arm64-cpython-311/grpc_tools\n", + " \u001b[31m \u001b[0m copying grpc_tools/command.py -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools\n", + " \u001b[31m \u001b[0m copying grpc_tools/__init__.py -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools\n", + " \u001b[31m \u001b[0m copying grpc_tools/protoc.py -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools\n", + " \u001b[31m \u001b[0m creating build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/wrappers.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/type.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/timestamp.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/struct.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/source_context.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/field_mask.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/empty.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/duration.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/descriptor.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m creating build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf/compiler\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/compiler/plugin.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf/compiler\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/api.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m copying grpc_tools/_proto/google/protobuf/any.proto -> build/lib.macosx-14.0-arm64-cpython-311/grpc_tools/_proto/google/protobuf\n", + " \u001b[31m \u001b[0m running build_ext\n", + " \u001b[31m \u001b[0m building 'grpc_tools._protoc_compiler' extension\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/grpc_root/src/compiler\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/grpc_tools\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/js\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/php\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/python\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/ruby\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util\n", + " \u001b[31m \u001b[0m creating build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c grpc_root/src/compiler/python_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/grpc_root/src/compiler/python_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/any_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/any_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/api.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/api.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc:73:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc:89:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < canonical_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc:97:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < canonical_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc:129:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < aliases_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc:203:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < canonical_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc:377:32: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (canonical_values_.size() != descriptor_->value_count()) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:109:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < msgs.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:127:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < service_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:154:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:157:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < GOOGLE_ARRAYSIZE(kMacroNames); ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:164:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < names_to_undef.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:618:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < enum_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:634:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:655:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < enum_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:660:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:669:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < service_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:678:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < extension_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:689:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:741:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:752:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:764:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:811:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_data.size();) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:812:48: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < kBytesPerLine && i < file_data.size(); ++i, ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:821:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_data.size(); i += kBytesPerLine) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:916:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:939:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:959:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:983:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1000:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1073:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1087:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < classes.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1092:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < enums.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1324:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1336:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < enum_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1345:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < service_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1379:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1391:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < message_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1408:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < enum_generators_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:179:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parts.size() - 1; i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:689:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int32_t' (aka 'int') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (; pos < source_annotation.end() && pos < insertion_content.size() - 1;\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:692:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int32_t' (aka 'int') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (pos >= source_annotation.begin()) {\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:751:35: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'size_t' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (source_annotation.begin() >= insertion_offset && !crossed_offset) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:858:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < data_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1057:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < output_directives_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1139:27: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parsed_files.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1163:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < proto_path_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1465:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < arguments.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1470:17: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (i + 1 == arguments.size() || arguments[i + 1][0] == '-') {\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1707:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parts.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2191:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parsed_files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2202:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < relative_output_filenames.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2225:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < output_filenames.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2227:11: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (i == output_filenames.size() - 1) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2268:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parsed_files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2424:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parsed_files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2435:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parsed_files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2607:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < nested_messages.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 5 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc:148:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc:201:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/importer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/importer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/arena.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/arena.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:141:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields->size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:179:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < aligned_to_1[f].size(); i += 4) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:181:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = i; j < aligned_to_1[f].size() && j < i + 4; ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:193:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < aligned_to_4[f].size(); i += 2) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:195:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = i; j < aligned_to_4[f].size() && j < i + 2; ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:198:13: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (i == aligned_to_4[f].size() - 1) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:218:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < aligned_to_8[f].size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 19 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/arenastring.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/arenastring.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c grpc_tools/_protoc_compiler.cpp -o build/temp.macosx-14.0-arm64-cpython-311/grpc_tools/_protoc_compiler.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/importer.cc:401:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < mappings_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 32 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 7 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_context.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:8356:5: error: member access into incomplete type 'PyFrameObject' (aka '_frame')\n", + " \u001b[31m \u001b[0m __Pyx_PyFrame_SetLineNumber(py_frame, py_line);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:652:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'\n", + " \u001b[31m \u001b[0m #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m /opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'\n", + " \u001b[31m \u001b[0m typedef struct _frame PyFrameObject;\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9155:23: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9155:53: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9169:23: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m *type = exc_info->exc_type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9171:21: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m *tb = exc_info->exc_traceback;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9185:26: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m tmp_type = exc_info->exc_type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9187:24: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m tmp_tb = exc_info->exc_traceback;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9188:15: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_info->exc_type = type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9190:15: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_info->exc_traceback = tb;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9211:26: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m tmp_type = exc_info->exc_type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9213:24: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m tmp_tb = exc_info->exc_traceback;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9214:15: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_info->exc_type = *type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9216:15: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_info->exc_traceback = *tb;\n", + " \u001b[31m \u001b[0m ~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9440:20: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m t = exc_state->exc_type;\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9442:21: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m tb = exc_state->exc_traceback;\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9443:16: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_state->exc_type = NULL;\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9445:16: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m exc_state->exc_traceback = NULL;\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9522:20: error: no member named 'exc_type' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m if (exc_state->exc_type) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m grpc_tools/_protoc_compiler.cpp:9525:24: error: no member named 'exc_traceback' in '_err_stackitem'\n", + " \u001b[31m \u001b[0m if (exc_state->exc_traceback) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^\n", + " \u001b[31m \u001b[0m fatal error: too many errors emitted, stopping now [-ferror-limit=]\n", + " \u001b[31m \u001b[0m 20 errors generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/code_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/code_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc:90:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc:43:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.h:44:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h:43:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:49:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc:181:53: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc:132:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc:135:27: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = i + 1; j < fields.size(); ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc:154:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc:573:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields_by_number().size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc:716:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields_by_number().size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc:758:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields_by_number().size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc:88:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < canonical_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc:111:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < aliases_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc:172:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < canonical_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/code_generator.cc:56:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/code_generator.cc:112:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parts.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:261:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:737:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < filename.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:1166:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < scc->descriptors.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:126:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < lines.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc:309:20: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for(int i = 0; i < text.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:95:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < GOOGLE_ARRAYSIZE(kForbiddenWordList); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:164:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:562:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < text.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_file.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc:225:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < map_fields.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc:250:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < map_fields.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc:93:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc:45:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h:43:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc:696:53: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:190:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < num_words; i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:216:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:258:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < value.length(); j++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:665:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < name.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:755:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < worker.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1113:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < lines.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1167:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int len = 0; len < input->size(); ++len) {\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1180:14: warning: comparison of integers of different signs: 'int' and 'const size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (offset != StringPiece::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1201:14: warning: comparison of integers of different signs: 'int' and 'const size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (offset == StringPiece::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1398:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1606:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int y = 0; y < desired_output.size(); y++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1613:11: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (x >= input_for_decode.size()) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1625:9: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (x != input_for_decode.size()) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1911:14: warning: comparison of integers of different signs: 'int' and 'const size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (offset == StringPiece::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1922:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m while (start < proto_file_list.length()) {\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1924:16: warning: comparison of integers of different signs: 'int' and 'const size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (offset == StringPiece::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc:34:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h:43:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc:120:51: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 16 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:76:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:129:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_generators.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:131:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < file_generators.size(); ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:138:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_generators.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:176:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_generators.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:188:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < all_files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:199:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < all_annotations.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:42:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h:43:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc:156:53: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m 8 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:265:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:284:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:299:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < words.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:313:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < words.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:330:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:345:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1228:40: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < type.size() && i < containing_type.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1228:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < type.size() && i < containing_type.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1232:29: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (type[i] == '.' && i >= package.size()) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc:109:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < tokens.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc:309:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc:425:24: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (last_dot_pos == std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1490:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < input.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc:540:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < top_level_enum_values.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc:869:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < to_register.size(); ++j) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1539:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files_ordered.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1647:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1708:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1788:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:1831:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < fields.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3448:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3554:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3735:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3757:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < extensions.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3778:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3928:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/parser.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/parser.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:89:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < masks.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:523:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m while (limit_chunk_ < chunks_.size() && IsColdChunk(limit_chunk_)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2191:15: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m (i == sorted.size() ||\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2190:26: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (; extension_idx < sorted_extensions.size() &&\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2203:11: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (i == sorted.size()) break;\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2782:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < has_bit_indices_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2968:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < optimized_order_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3101:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < optimized_order_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3267:41: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int chunk_index = 0; chunk_index < chunks.size(); chunk_index++) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3457:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < HasBitsSize(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3468:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < optimized_order_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3601:41: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int chunk_index = 0; chunk_index < chunks.size(); chunk_index++) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4095:41: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m i < ordered_fields.size() || j < sorted_extensions.size();) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4095:12: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m i < ordered_fields.size() || j < sorted_extensions.size();) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4096:14: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if ((j == sorted_extensions.size()) ||\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4376:41: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int chunk_index = 0; chunk_index < chunks.size(); chunk_index++) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4403:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int j = 0; j < chunk.size(); j++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:37:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc:3595:51: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_service.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/descriptor.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/descriptor.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/parser.cc:161:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 1; i < name.length(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/parser.cc:506:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < detached_comments->size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc:560:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < text_format_data_str.size(); i += kBytesPerLine) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc:574:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < sorted_extensions.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 5 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc:158:27: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < default_str.length(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc:329:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < name.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc:625:44: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m i < descriptor_->field_count() || j < sorted_extensions.size();) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc:628:18: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m } else if (j == sorted_extensions.size()) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc:841:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < map_fields.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc:146:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < file_data.size(); i += kBytesPerLine) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc:186:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < dependencies.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/subprocess.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/subprocess.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc:37:\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h:43:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/io/printer.h:90:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < path.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc:71:53: note: in instantiation of member function 'google::protobuf::io::AnnotationProtoCollector::AddAnnotation' requested here\n", + " \u001b[31m \u001b[0m io::AnnotationProtoCollector annotation_collector(\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc:101:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < options.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc:248:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < files.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/extension_set.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/extension_set.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_reflection.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_reflection.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 22 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/io_win32.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/io_win32.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/printer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/printer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:409:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (input_pos == input_data.size()) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:291:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < full_name.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:368:24: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m while (first_index != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:379:23: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (file_name_start == std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:401:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:414:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:425:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:571:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < name.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1224:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1244:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1317:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1329:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1428:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1437:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1548:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1556:17: warning: comparison of integers of different signs: 'int' and 'const typename basic_string, allocator>::size_type' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (lastindex != std::string::npos) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1660:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < lines.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/zip_writer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:401:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1307:26: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::GeneratedClassFileName' requested here\n", + " \u001b[31m \u001b[0m std::string filename = GeneratedClassFileName(en, options);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:414:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1271:26: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::LegacyGeneratedClassFileName' requested here\n", + " \u001b[31m \u001b[0m std::string filename = LegacyGeneratedClassFileName(desc, options);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1405:5: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::LegacyGenerateClassFile' requested here\n", + " \u001b[31m \u001b[0m LegacyGenerateClassFile(file, en, options, generator_context);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:401:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1418:26: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::GeneratedClassFileName' requested here\n", + " \u001b[31m \u001b[0m std::string filename = GeneratedClassFileName(message, options);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:414:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < result.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1271:26: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::LegacyGeneratedClassFileName' requested here\n", + " \u001b[31m \u001b[0m std::string filename = LegacyGeneratedClassFileName(desc, options);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:1520:5: note: in instantiation of function template specialization 'google::protobuf::compiler::php::(anonymous namespace)::LegacyGenerateClassFile' requested here\n", + " \u001b[31m \u001b[0m LegacyGenerateClassFile(file, message, options, generator_context);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/descriptor_database.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/descriptor_database.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 17 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc:126:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < all_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc:176:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < all_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc:195:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < text_blob.size(); i += kBytesPerLine) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc:203:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < all_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc:244:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < base_values_.size(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/strtod.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/strtod.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc:97:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < buf.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/message_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/message_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/descriptor.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/descriptor.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 5 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/service.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/service.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/implicit_weak_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/implicit_weak_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/extension_set_heavy.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/extension_set_heavy.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_table_driven.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_table_driven.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/tokenizer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/tokenizer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/source_context.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/source_context.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 20 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/plugin.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/plugin.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/parse_context.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/parse_context.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/inlined_string_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/inlined_string_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/map.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/map.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/field_mask.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/field_mask.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/duration.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/duration.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/struct.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/struct.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/coded_stream.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/coded_stream.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/reflection_ops.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/reflection_ops.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/map_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/map_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/int128.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/int128.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_enum_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_enum_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/io/gzip_stream.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/io/gzip_stream.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/dynamic_message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/dynamic_message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/repeated_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/repeated_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/stubs/int128.cc:176:13: warning: comparison of integers of different signs: 'std::streamsize' (aka 'long') and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (width > rep.size()) {\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/timestamp.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/timestamp.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/status.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/status.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/bytestream.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/bytestream.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/message.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/message.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_bases.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_bases.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/strutil.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/strutil.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/statusor.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/statusor.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/empty.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/empty.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/common.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/common.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/type.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/type.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_tctable_full.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/stubs/strutil.cc:506:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]\n", + " \u001b[31m \u001b[0m sprintf(dest + used, (use_hex ? \"\\\\x%02x\" : \"\\\\%03o\"),\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here\n", + " \u001b[31m \u001b[0m __deprecated_msg(\"This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.\")\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'\n", + " \u001b[31m \u001b[0m #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/field_mask_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/field_mask_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/repeated_ptr_field.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/substitute.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/substitute.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/stringpiece.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/message_differencer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/message_differencer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/wrappers.pb.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/wrappers.pb.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/field_mask_util.cc:369:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < parts.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/field_mask_util.cc:375:12: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m i != parts.size() - 1)) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:182:33: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m while (*num_left > 0 && index < str.size()) {\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:328:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m } while (i < str.length()); // case iv\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:352:21: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < len; i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/time.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/time.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/stubs/stringprintf.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/unknown_field_set.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/unknown_field_set.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/datapiece.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc:31:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.h:105:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 1; i < indent_string.length(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:152:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < v.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:155:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/text_format.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/text_format.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/delimited_message_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:339:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(u32_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:122:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'unsigned long long' and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:341:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(u64_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:122:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:335:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(i32_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:135:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'unsigned long long' and 'long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:341:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(u64_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:148:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'long long' and 'unsigned long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:335:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(i32_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:161:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'unsigned long long' and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:57:36: warning: comparison of integers of different signs: 'long long' and 'unsigned long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m MathUtil::Sign(before) == MathUtil::Sign(after)) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:75:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::ValidateNumberConversion' requested here\n", + " \u001b[31m \u001b[0m return ValidateNumberConversion(after, before);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:337:14: note: in instantiation of function template specialization 'google::protobuf::util::converter::(anonymous namespace)::NumberConvertAndCheck' requested here\n", + " \u001b[31m \u001b[0m return NumberConvertAndCheck(i64_);\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:161:10: note: in instantiation of function template specialization 'google::protobuf::util::converter::DataPiece::GenericConvert' requested here\n", + " \u001b[31m \u001b[0m return GenericConvert();\n", + " \u001b[31m \u001b[0m ^\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:56:13: warning: comparison of integers of different signs: 'unsigned long long' and 'long long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (after == before &&\n", + " \u001b[31m \u001b[0m ~~~~~ ^ ~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:87:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (n_valid_bytes == str.size()) {\n", + " \u001b[31m \u001b[0m ~~~~~~~~~~~~~ ^ ~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:102:14: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (; len < input->size(); ++len) {\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:117:14: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (; len < input->size(); ++len) {\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:963:12: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (size >= kKeywordTrue.length() &&\n", + " \u001b[31m \u001b[0m ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:967:12: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (size >= kKeywordFalse.length() &&\n", + " \u001b[31m \u001b[0m ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:971:12: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (size >= kKeywordNull.length() &&\n", + " \u001b[31m \u001b[0m ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:380:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < uninterpreted_events_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/field_comparator.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/field_comparator.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 12 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 6 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/object_writer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/time_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/time_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/type_info.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/type_info.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc:31:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.h:157:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < children_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc:315:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < children_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc:392:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < children_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/type_resolver_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/error_listener.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:410:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m while (i < name.size() &&\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:413:22: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (i > 0 && i == name.size()) { // safe field name\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/utility.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/utility.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 2 warnings generated.\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/utility.cc:348:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < GOOGLE_ARRAYSIZE(well_known_types_name_array_); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/wire_format.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/wire_format.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m 1 warning generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/util/json_util.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/util/json_util.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/util/json_util.cc:37:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.h:157:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 0; i < children_.size(); ++i) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m In file included from third_party/protobuf/src/google/protobuf/util/json_util.cc:39:\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.h:105:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]\n", + " \u001b[31m \u001b[0m for (int i = 1; i < indent_string.length(); i++) {\n", + " \u001b[31m \u001b[0m ~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m third_party/protobuf/src/google/protobuf/util/json_util.cc:67:13: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]\n", + " \u001b[31m \u001b[0m if (len <= buffer_size_) {\n", + " \u001b[31m \u001b[0m ~~~ ^ ~~~~~~~~~~~~\n", + " \u001b[31m \u001b[0m 3 warnings generated.\n", + " \u001b[31m \u001b[0m clang++ -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/Users/jeevan/Documents/Learnings/ai-engineering-bootcamp/AIE4/mid-term/ai-safety-chatty/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c third_party/protobuf/src/google/protobuf/wire_format_lite.cc -o build/temp.macosx-14.0-arm64-cpython-311/third_party/protobuf/src/google/protobuf/wire_format_lite.o -std=c++14 -fno-wrapv -frtti\n", + " \u001b[31m \u001b[0m error: command '/usr/bin/clang++' failed with exit code 1\n", + " \u001b[31m \u001b[0m \u001b[31m[end of output]\u001b[0m\n", + " \n", + " \u001b[1;35mnote\u001b[0m: This error originates from a subprocess, and is likely not a problem with pip.\n", + "\u001b[31m ERROR: Failed building wheel for grpcio-tools\u001b[0m\u001b[31m\n", + "\u001b[0m\u001b[31mERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio-tools)\u001b[0m\u001b[31m\n", + "\u001b[0m\n", + "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m24.1.2\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m24.2\u001b[0m\n", + "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n", + "Note: you may need to restart the kernel to use updated packages.\n" + ] + } + ], + "source": [ + "%pip install -qU \\\n", + " langsmith==0.1.125 \\\n", + " langchain_openai \\\n", + " langchain_huggingface \\\n", + " langchain-core==0.2.41 \\\n", + " langchain \\\n", + " langchain_community \\\n", + " langchain-qdrant==0.1.4 \\\n", + " langchain-text-splitters \\\n", + " langchain-openai \\\n", + " langchain_huggingface \\\n", + " faiss-cpu \\\n", + " langchain-experimental \\\n", + " unstructured==0.15.7 \\\n", + " python-pptx==1.0.2 \\\n", + " nltk==3.9.1 \\\n", + " PyMuPDF==1.24.10 \\\n", + " ragas==0.1.18 \\\n", + " protobuf==3.20.3 \\\n", + " pyarrow==14.0.1 \\\n", + " fsspec==2024.6.1 \\\n", + " sentence_transformers \\\n", + " datasets \\\n", + " pyarrow==14.0.1\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import nest_asyncio\n", + "\n", + "nest_asyncio.apply()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "import getpass\n", + "from uuid import uuid4\n", + "\n", + "os.environ[\"LANGCHAIN_TRACING_V2\"] = \"true\"\n", + "os.environ[\"LANGCHAIN_API_KEY\"] = getpass.getpass(\"LangChain API Key:\")\n", + "\n", + "os.environ[\"LANGCHAIN_PROJECT\"] = \"AIM-SDG-MidTerm - AI Safety\"\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass.getpass(\"OpenAI API Key:\")\n", + "\n", + "os.environ[\"QDRANT_API_KEY\"] = getpass.getpass(\"Enter Your Qdrant API Key: \")\n", + "os.environ[\"QDRANT_URL\"] = getpass.getpass(\"Enter Your Qdrant URL: \")\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Preparing Training documents" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_experimental.text_splitter import SemanticChunker\n", + "from enum import Enum\n", + "from typing import List\n", + "from langchain_community.document_loaders import PyMuPDFLoader\n", + "from langchain_core.documents import Document\n", + "import asyncio\n", + "\n", + "class PDFLoaderWrapper():\n", + " class LoaderType(str, Enum):\n", + " PYMUPDF = \"pymupdf\"\n", + "\n", + " def __init__(self, file_path: str | List[str] , loader_type: LoaderType = LoaderType.PYMUPDF):\n", + " self.file_path = file_path if isinstance(file_path, list) else [file_path]\n", + " self.loader_type = loader_type\n", + "\n", + " async def aload(self) -> List[Document]:\n", + " all_docs = []\n", + " for file_path in self.file_path:\n", + " if self.loader_type == self.LoaderType.PYMUPDF:\n", + " try:\n", + " loader = PyMuPDFLoader(file_path)\n", + " docs = await loader.aload()\n", + " all_docs.extend(docs)\n", + " except Exception as e:\n", + " print(f\"Error loading file {file_path}: {e}\")\n", + " continue\n", + " return all_docs\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "\n", + "BOR_FILE_PATH = \"https://www.whitehouse.gov/wp-content/uploads/2022/10/Blueprint-for-an-AI-Bill-of-Rights.pdf\"\n", + "NIST_FILE_PATH = \"https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf\"\n", + "SMALL_DOC = \"https://arxiv.org/pdf/1908.10084\"\n", + "documents_to_preload = [\n", + " BOR_FILE_PATH,\n", + " NIST_FILE_PATH\n", + " # SMALL_DOC\n", + "]\n", + "\n", + "pdf_loader = PDFLoaderWrapper(\n", + " documents_to_preload, PDFLoaderWrapper.LoaderType.PYMUPDF\n", + ")\n", + "documents = await pdf_loader.aload()\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_text_splitters import RecursiveCharacterTextSplitter\n", + "\n", + "text_splitter = RecursiveCharacterTextSplitter(\n", + " chunk_size = 1024,\n", + " chunk_overlap = 50,\n", + " length_function = len\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "training_documents = text_splitter.split_documents(documents.load())" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import uuid\n", + "\n", + "id_set = set()\n", + "\n", + "for document in training_documents:\n", + " id = str(uuid.uuid4())\n", + " while id in id_set:\n", + " id = uuid.uuid4()\n", + " id_set.add(id)\n", + " document.metadata[\"id\"] = id" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import random\n", + "\n", + "total_documents = len(training_documents)\n", + "\n", + "# Define the split percentages\n", + "train_percent = 0.75 # 75% for training\n", + "val_percent = 0.125 # 12.5% for validation\n", + "test_percent = 0.125 # 12.5% for testing\n", + "\n", + "# Shuffle the documents\n", + "random.shuffle(training_documents)\n", + "\n", + "# Calculate the split indices\n", + "train_split = int(total_documents * train_percent)\n", + "val_split = int(total_documents * (train_percent + val_percent))\n", + "\n", + "# Split the documents\n", + "training_split_documents = training_documents[:train_split]\n", + "val_split_documents = training_documents[train_split:val_split]\n", + "test_split_documents = training_documents[val_split:]\n", + "\n", + "print(f\"Training set: {len(training_split_documents)} documents\")\n", + "print(f\"Validation set: {len(val_split_documents)} documents\")\n", + "print(f\"Test set: {len(test_split_documents)} documents\")\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Constructing a Fine-Tuning dataset" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_openai import ChatOpenAI\n", + "from langchain_core.prompts import ChatPromptTemplate\n", + "\n", + "qa_chat_model = ChatOpenAI(\n", + " model=\"gpt-4o\",\n", + " temperature=0\n", + ")\n", + "\n", + "qa_prompt = \"\"\"\\\n", + "Given the following context, you must generate questions based on only the provided context.\n", + "Check internet the question that you generate is realistic and asked by online users and \n", + "include only such questions in the output to be realistic.\n", + "You are to generate {n_questions} questions which should be provided in the following format:\n", + "\n", + "1. QUESTION #1\n", + "2. QUESTION #2\n", + "...\n", + "\n", + "Context:\n", + "{context}\n", + "\"\"\"\n", + "\n", + "qa_prompt_template = ChatPromptTemplate.from_template(qa_prompt)\n", + "\n", + "question_generation_chain = qa_prompt_template | qa_chat_model" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import tqdm\n", + "def create_questions(documents, n_questions):\n", + " questions = {}\n", + " relevant_docs = {}\n", + " for document in tqdm.tqdm(documents):\n", + " document_content = {\"context\" : document.page_content, \"questions\" : []}\n", + " questions_generated = question_generation_chain.invoke({\"context\": document.page_content, \"n_questions\": n_questions})\n", + " for question in questions_generated.content.split(\"\\n\"):\n", + " question_id = str(uuid.uuid4())\n", + " questions[question_id] = \"\".join(question.split(\".\")[1:]).strip()\n", + " relevant_docs[question_id] = [document.metadata[\"id\"]]\n", + " return questions, relevant_docs" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "training_questions, training_relevant_contexts = create_questions(training_split_documents,10)\n", + "len(training_questions)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "val_questions, val_relevant_contexts = create_questions(val_split_documents,5)\n", + "len(val_questions)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "test_questions, test_relevant_contexts = create_questions(test_split_documents,5)\n", + "len(test_questions)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import json\n", + "\n", + "training_corpus = {train_item.metadata[\"id\"] : train_item.page_content for train_item in training_split_documents}\n", + "\n", + "train_dataset = {\n", + " \"questions\" : training_questions,\n", + " \"relevant_contexts\" : training_relevant_contexts,\n", + " \"corpus\" : training_corpus\n", + "}\n", + "\n", + "with open(\"training_dataset.jsonl\", \"w\") as f:\n", + " json.dump(train_dataset, f)\n", + "\n", + "val_corpus = {val_item.metadata[\"id\"] : val_item.page_content for val_item in val_split_documents}\n", + "\n", + "val_dataset = {\n", + " \"questions\" : val_questions,\n", + " \"relevant_contexts\" : val_relevant_contexts,\n", + " \"corpus\" : val_corpus\n", + "}\n", + "\n", + "with open(\"val_dataset.jsonl\", \"w\") as f:\n", + " json.dump(val_dataset, f)\n", + "\n", + "train_corpus = {test_item.metadata[\"id\"] : test_item.page_content for test_item in test_split_documents}\n", + "\n", + "test_dataset = {\n", + " \"questions\" : test_questions,\n", + " \"relevant_contexts\" : test_relevant_contexts,\n", + " \"corpus\" : train_corpus\n", + "}\n", + "\n", + "with open(\"test_dataset.jsonl\", \"w\") as f:\n", + " json.dump(test_dataset, f)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Fine-tuning `Snowflake/snowflake-arctic-embed-l`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from sentence_transformers import SentenceTransformer\n", + "from torch.utils.data import DataLoader\n", + "from torch.utils.data import Dataset\n", + "from sentence_transformers import InputExample\n", + "\n", + "model_id = \"Snowflake/snowflake-arctic-embed-l\"\n", + "model = SentenceTransformer(model_id)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from sentence_transformers.losses import MatryoshkaLoss, MultipleNegativesRankingLoss\n", + "\n", + "corpus = train_dataset['corpus']\n", + "queries = train_dataset['questions']\n", + "relevant_docs = train_dataset['relevant_contexts']\n", + "\n", + "examples = []\n", + "for query_id, query in queries.items():\n", + " doc_id = relevant_docs[query_id][0]\n", + " text = corpus[doc_id]\n", + " example = InputExample(texts=[query, text])\n", + " examples.append(example)\n", + "\n", + "# tourch DataLoader\n", + "\n", + "loader = DataLoader(\n", + " examples\n", + ")\n", + "\n", + "# Using MultipleNegativesRankingLoss and MartyoshkaLoss for training\n", + "\n", + "matryoshka_dimensions = [768, 512, 256, 128, 64]\n", + "inner_train_loss = MultipleNegativesRankingLoss(model)\n", + "train_loss = MatryoshkaLoss(\n", + " model, inner_train_loss, matryoshka_dims=matryoshka_dimensions\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from sentence_transformers.evaluation import InformationRetrievalEvaluator\n", + "\n", + "corpus = val_dataset['corpus']\n", + "queries = val_dataset['questions']\n", + "relevant_docs = val_dataset['relevant_contexts']\n", + "\n", + "evaluator = InformationRetrievalEvaluator(queries, corpus, relevant_docs)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "EPOCHS = 5" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "warmup_steps = int(len(loader) * EPOCHS * 0.1)\n", + "\n", + "model.fit(\n", + " train_objectives=[(loader, train_loss)],\n", + " epochs=EPOCHS,\n", + " warmup_steps=warmup_steps,\n", + " output_path='finetuned_arctic',\n", + " show_progress_bar=True,\n", + " evaluator=evaluator,\n", + " evaluation_steps=50,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "\n", + "from langchain_community.vectorstores import FAISS\n", + "from langchain_openai.embeddings import OpenAIEmbeddings\n", + "from langchain_core.documents import Document\n", + "\n", + "def evaluate_openai(\n", + " dataset,\n", + " embed_model,\n", + " top_k=5,\n", + " verbose=False,\n", + "):\n", + " corpus = dataset['corpus']\n", + " questions = dataset['questions']\n", + " relevant_docs = dataset['relevant_contexts']\n", + " documents = [Document(page_content=content, metadata={\"id\": doc_id}) for doc_id, content in corpus.items()]\n", + " vectorstore = FAISS.from_documents(documents, embed_model)\n", + "\n", + " retriever = vectorstore.as_retriever(search_kwargs={\"k\": top_k})\n", + "\n", + " eval_results = []\n", + " for id, question in tqdm.tqdm(questions.items()):\n", + " retrieved_nodes = retriever.invoke(question)\n", + " retrieved_ids = [node.metadata[\"id\"] for node in retrieved_nodes]\n", + " expected_id = relevant_docs[id][0]\n", + " is_hit = expected_id in retrieved_ids\n", + " eval_results.append({\"id\": id, \"question\": question, \"expected_id\": expected_id, \"is_hit\": is_hit})\n", + "\n", + " return eval_results" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We are taking 3 models for comparison\n", + "1. text-embedding-3-small\n", + "2. Snowflake/snowflake-arctic-embed-l(base)\n", + "3. Snowflake/snowflake-arctic-embed-l(fine-tuned)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Evaluating `text-embedding-3-small`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "te3_openai = OpenAIEmbeddings(model=\"text-embedding-3-small\")\n", + "te3_results = evaluate_openai(test_dataset, te3_openai)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "te3_results_df = pd.DataFrame(te3_results)\n", + "te3_hit_rate = te3_results_df[\"is_hit\"].mean()\n", + "te3_hit_rate" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Evaluating `Snowflake/snowflage-arctic-embed-l`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_huggingface import HuggingFaceEmbeddings\n", + "\n", + "huggingface_embeddings = HuggingFaceEmbeddings(model_name=\"Snowflake/snowflake-arctic-embed-l\")\n", + "arctic_embed_m_results = evaluate_openai(test_dataset, huggingface_embeddings)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "arctic_embed_m_results_df = pd.DataFrame(arctic_embed_m_results)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "arctic_embed_m_hit_rate = arctic_embed_m_results_df[\"is_hit\"].mean()\n", + "arctic_embed_m_hit_rate" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Evaluating `Snowflake/snowflage-arctic-embed-l` (fine-tuned)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "finetune_embeddings = HuggingFaceEmbeddings(model_name=\"finetuned_arctic\")\n", + "finetune_results = evaluate_openai(test_dataset, finetune_embeddings)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "finetune_results_df = pd.DataFrame(finetune_results)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "finetune_hit_rate = finetune_results_df[\"is_hit\"].mean()\n", + "finetune_hit_rate" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Checking the models with rag" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_community.vectorstores import FAISS\n", + "from langchain_core.prompts import ChatPromptTemplate\n", + "from operator import itemgetter\n", + "from langchain_core.output_parsers import StrOutputParser\n", + "from langchain_core.runnables import RunnablePassthrough, RunnableParallel\n", + "\n", + "# using the training_documents which already loaded as split documents\n", + "def create_rag_chain(huggingface_embeddings):\n", + "\n", + " vectorstore = FAISS.from_documents(training_documents, huggingface_embeddings)\n", + " retriever = vectorstore.as_retriever(search_kwargs={\"k\": 6})\n", + "\n", + " RAG_PROMPT = \"\"\"\\\n", + " Given a provided context and a question, you must answer the question. If you do not know the answer, you must state that you do not know.\n", + "\n", + " Context:\n", + " {context}\n", + "\n", + " Question:\n", + " {question}\n", + "\n", + " Answer:\n", + " \"\"\"\n", + "\n", + " rag_prompt_template = ChatPromptTemplate.from_template(RAG_PROMPT)\n", + "\n", + " rag_llm = ChatOpenAI(\n", + " model=\"gpt-4o\",\n", + " temperature=0\n", + " )\n", + "\n", + " rag_chain = (\n", + " {\"context\": itemgetter(\"question\") | retriever, \"question\": itemgetter(\"question\")}\n", + " | RunnablePassthrough.assign(context=itemgetter(\"context\"))\n", + " | {\"response\": rag_prompt_template | rag_llm | StrOutputParser(), \"context\": itemgetter(\"context\")}\n", + " )\n", + " return rag_chain" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "base_rag_chain = create_rag_chain(huggingface_embeddings)\n", + "fine_tuned_rag_chain = create_rag_chain(finetune_embeddings)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Try some questions here" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# RAGAS Evaluation" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from ragas.testset.generator import TestsetGenerator\n", + "from ragas.testset.evolutions import simple, reasoning, multi_context\n", + "from langchain_openai import OpenAIEmbeddings\n", + "\n", + "generator_llm = ChatOpenAI(model=\"gpt-4o\")\n", + "critic_llm = ChatOpenAI(model=\"gpt-4o\")\n", + "embeddings = OpenAIEmbeddings()\n", + "\n", + "generator = TestsetGenerator.from_langchain(\n", + " generator_llm,\n", + " critic_llm,\n", + " embeddings\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# We are going to use the test_split_documents that we created earlier\n", + "testset = generator.generate_with_langchain_docs(test_split_documents, test_size=20, distributions={simple: 0.5, reasoning: 0.25, multi_context: 0.25})" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "testset.to_pandas().head()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from datasets import Dataset\n", + "\n", + "def generate_answers(chain, testset):\n", + " answers = []\n", + " contexts = []\n", + " questions = testset.to_pandas()[\"question\"].values.tolist()\n", + " ground_truths = testset.to_pandas()[\"ground_truth\"].values.tolist()\n", + "\n", + " for question in tqdm.tqdm(questions):\n", + " answer = chain.invoke({\"question\" : question})\n", + " answers.append(answer[\"response\"])\n", + " contexts.append([context.page_content for context in answer[\"context\"]])\n", + "\n", + " return Dataset.from_dict({\n", + " \"question\" : questions,\n", + " \"answer\" : answers,\n", + " \"contexts\" : contexts,\n", + " \"ground_truth\" : ground_truths\n", + " })" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "base_dataset = generate_answers(base_rag_chain, testset)\n", + "finetune_dataset = generate_answers(fine_tuned_rag_chain, testset)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from ragas.metrics import (\n", + " faithfulness,\n", + " answer_relevancy,\n", + " context_recall,\n", + " context_precision,\n", + ")\n", + "from ragas import evaluate\n", + "\n", + "base_result = evaluate(\n", + " base_dataset,\n", + " metrics=[\n", + " faithfulness,\n", + " answer_relevancy,\n", + " context_recall,\n", + " context_precision,\n", + " ],\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "base_result" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "base_result.to_pandas().head()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fine_tuned_result = evaluate(\n", + " finetune_dataset,\n", + " metrics=[\n", + " faithfulness,\n", + " answer_relevancy,\n", + " context_recall,\n", + " context_precision,\n", + " ],\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fine_tuned_result" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fine_tuned_result.to_pandas().head()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Merge base_result and fine_tuned_result to compare the results\n", + "merged_result = base_result.merge(fine_tuned_result, on=\"question\")\n", + "\n", + "merged_result.to_pandas().head()\n", + "\n", + "# Display graphs for the merged results\n", + "merged_result.plot()\n", + "\n", + "\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": ".venv", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.9" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}