make[1]: warning: -j32 forced in submake: resetting jobserver mode. make[1]: Entering directory '/sonic/src/sonic-p4rt' function cleanup { # Note: make seems to hang if Bazel is still running cd /sonic/src/sonic-p4rt/sonic-pins && bazel shutdown } trap cleanup EXIT pushd ./sonic-pins bazel build --fission=yes --features=per_object_debug_info --override_repository=sonic_swss_common=/sonic/src/sonic-swss-common -c opt //p4rt_app:p4rt_deb //p4rt_app:p4rt_dbg_deb bazel test --fission=yes --features=per_object_debug_info --override_repository=sonic_swss_common=/sonic/src/sonic-swss-common -c opt //p4rt_app/... cd ./bazel-bin/p4rt_app mv sonic-p4rt_0.0.1_amd64.deb sonic-p4rt-dbgsym_0.0.1_amd64.deb /sonic/target/debs/bullseye/ popd /sonic/src/sonic-p4rt/sonic-pins /sonic/src/sonic-p4rt 2023/07/20 13:26:04 Downloading https://releases.bazel.build/4.0.0/release/bazel-4.0.0-linux-x86_64... Extracting Bazel installation... Starting local Bazel server and connecting to it... Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (14 packages loaded, 14 targets configured) Analyzing: 2 targets (67 packages loaded, 2837 targets configured) Analyzing: 2 targets (77 packages loaded, 3458 targets configured) Analyzing: 2 targets (78 packages loaded, 4006 targets configured) Analyzing: 2 targets (78 packages loaded, 4006 targets configured) Analyzing: 2 targets (78 packages loaded, 4006 targets configured) INFO: Analyzed 2 targets (79 packages loaded, 11269 targets configured). INFO: Found 2 targets... [0 / 1,701] [Prepa] Writing file p4rt_app/p4rt_debug.args ... (11 actions, 0 running) INFO: From Compiling src/google/protobuf/message_lite.cc [for host]: In file included from /usr/include/string.h:495, from external/com_google_protobuf/src/google/protobuf/stubs/port.h:39, from external/com_google_protobuf/src/google/protobuf/stubs/macros.h:34, from external/com_google_protobuf/src/google/protobuf/stubs/common.h:46, from external/com_google_protobuf/src/google/protobuf/message_lite.h:45, from external/com_google_protobuf/src/google/protobuf/message_lite.cc:36: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)' at external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:699:16, inlined from 'virtual google::protobuf::uint8* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/implicit_weak_message.h:85:28, inlined from 'bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/message_lite.cc:419:30: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [159 / 1,701] Compiling src/google/protobuf/descriptor.pb.cc [for host]; 8s linux-sandbox ... (32 actions, 31 running) [269 / 1,884] Compiling src/google/protobuf/descriptor.cc [for host]; 25s linux-sandbox ... (31 actions, 30 running) INFO: From Compiling src/google/protobuf/message_lite.cc: In file included from /usr/include/string.h:495, from external/com_google_protobuf/src/google/protobuf/stubs/port.h:39, from external/com_google_protobuf/src/google/protobuf/stubs/macros.h:34, from external/com_google_protobuf/src/google/protobuf/stubs/common.h:46, from external/com_google_protobuf/src/google/protobuf/message_lite.h:45, from external/com_google_protobuf/src/google/protobuf/message_lite.cc:36: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)' at external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:699:16, inlined from 'virtual google::protobuf::uint8* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/implicit_weak_message.h:85:28, inlined from 'bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/message_lite.cc:419:30: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling absl/strings/cord.cc [for host]: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/shared_ptr_atomic.h:33, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/memory:77, from external/com_google_absl/absl/base/casts.h:28, from external/com_google_absl/absl/base/internal/endian.h:29, from external/com_google_absl/absl/strings/cord.h:73, from external/com_google_absl/absl/strings/cord.cc:15: In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_add(__int_type, std::memory_order) [with _ITp = int]', inlined from 'void absl::lts_20210324::cord_internal::Refcount::Increment()' at external/com_google_absl/absl/strings/internal/cord_internal.h:80:21, inlined from 'static absl::lts_20210324::cord_internal::CordRep* absl::lts_20210324::cord_internal::CordRep::Ref(absl::lts_20210324::cord_internal::CordRep*)' at external/com_google_absl/absl/strings/internal/cord_internal.h:526:26, inlined from 'absl::lts_20210324::cord_internal::CordRep* absl::lts_20210324::Cord::TakeRep() const &' at external/com_google_absl/absl/strings/cord.cc:677:22, inlined from 'void absl::lts_20210324::Cord::AppendImpl(C&&) [with C = const absl::lts_20210324::Cord&]' at external/com_google_absl/absl/strings/cord.cc:722:23: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/atomic_base.h:618:34: warning: 'unsigned int __atomic_fetch_add_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 618 | { return __atomic_fetch_add(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [592 / 2,000] Compiling upbc/protoc-gen-upb.cc [for host]; 4s linux-sandbox ... (32 actions, 31 running) INFO: From Compiling src/google/protobuf/message_lite.cc: In file included from /usr/include/string.h:495, from external/com_google_protobuf/src/google/protobuf/stubs/port.h:39, from external/com_google_protobuf/src/google/protobuf/stubs/macros.h:34, from external/com_google_protobuf/src/google/protobuf/stubs/common.h:46, from external/com_google_protobuf/src/google/protobuf/message_lite.h:45, from external/com_google_protobuf/src/google/protobuf/message_lite.cc:36: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)' at external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:699:16, inlined from 'virtual google::protobuf::uint8* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/implicit_weak_message.h:85:28, inlined from 'bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/message_lite.cc:419:30: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling common/table.cpp: In file included from external/sonic_swss_common/common/table.cpp:9: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/stdexcept:39, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/system_error:41, from external/sonic_swss_common/common/table.cpp:2: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/exception_ptr.h:43, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/exception:168, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/stdexcept:38: In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8434:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8434:38: note: '' declared here 8434 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8488:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8488:34: note: '' declared here 8488 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8512:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8512:38: note: '' declared here 8512 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8543:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8543:34: note: '' declared here 8543 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8596:24: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8596:26: note: '' declared here 8596 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling common/producertable.cpp: In file included from external/sonic_swss_common/common/producertable.cpp:6: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from external/sonic_swss_common/common/redisreply.h:5, from external/sonic_swss_common/common/producertable.cpp:3: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling common/json.cpp: In file included from external/sonic_swss_common/common/json.cpp:8: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/istream:38, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/sstream:38, from external/sonic_swss_common/common/json.cpp:2: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/exception_ptr.h:43, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/exception:168, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:39: In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8434:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8434:38: note: '' declared here 8434 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8488:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8488:34: note: '' declared here 8488 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8512:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8512:38: note: '' declared here 8512 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8543:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8543:34: note: '' declared here 8543 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8596:24: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8596:26: note: '' declared here 8596 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling common/events_common.cpp: In file included from external/sonic_swss_common/common/events_common.h:14, from external/sonic_swss_common/common/events_common.cpp:1: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/istream:38, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/fstream:38, from external/sonic_swss_common/common/events_common.h:10: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/exception_ptr.h:43, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/exception:168, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:39: In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8434:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8434:38: note: '' declared here 8434 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8488:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8488:34: note: '' declared here 8488 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8512:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8512:38: note: '' declared here 8512 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8543:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8543:34: note: '' declared here 8543 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8596:24: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8596:26: note: '' declared here 8596 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Action external/com_github_p4lang_p4runtime/p4/v1/p4runtime.grpc.pb.h: bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/external/com_github_p4lang_p4runtime: warning: directory does not exist. INFO: From Compiling common/events.cpp: In file included from external/sonic_swss_common/common/events_pi.h:12, from external/sonic_swss_common/common/events.cpp:1: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/istream:38, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/fstream:38, from external/sonic_swss_common/common/events_pi.h:9: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ external/sonic_swss_common/common/events.cpp: In member function 'int EventSubscriber::init(bool, int, const event_subscribe_sources_t*)': external/sonic_swss_common/common/events.cpp:358:25: warning: loop variable 'e' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 358 | for (const auto e: *subs_sources) { | ^ external/sonic_swss_common/common/events.cpp:358:25: note: use reference type to prevent copying 358 | for (const auto e: *subs_sources) { | ^ | & external/sonic_swss_common/common/events.cpp: In member function 'void EventSubscriber::prune_track()': external/sonic_swss_common/common/events.cpp:393:20: warning: loop variable 'e' creates a copy from type 'const std::pair, EventSubscriber::_evt_info>' [-Wrange-loop-construct] 393 | for(const auto e: m_track) { | ^ external/sonic_swss_common/common/events.cpp:393:20: note: use reference type to prevent copying 393 | for(const auto e: m_track) { | ^ | & external/sonic_swss_common/common/events.cpp:400:25: warning: loop variable 'r' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 400 | for (const auto r: itc->second) { | ^ external/sonic_swss_common/common/events.cpp:400:25: note: use reference type to prevent copying 400 | for (const auto r: itc->second) { | ^ | & INFO: From Compiling src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc: In file included from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc:29: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy.h:137:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 137 | : public std::iterator< | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tree.h:63, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/set:60, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc:19: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling re2/onepass.cc: In file included from external/com_googlesource_code_re2/re2/onepass.cc:61: In member function 'absl::lts_20210324::InlinedVector::iterator absl::lts_20210324::InlinedVector::insert(const_iterator, size_type, const_reference) [with T = unsigned char; long unsigned int N = 2048; A = std::allocator]', inlined from 'bool re2::Prog::IsOnePass()' at external/com_googlesource_code_re2/re2/onepass.cc:420:15: external/com_google_absl/absl/container/inlined_vector.h:580:29: warning: 'nodes' may be used uninitialized [-Wmaybe-uninitialized] 580 | return storage_.Insert(pos, CopyValueAdapter(dealias), n); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from external/com_google_absl/absl/container/inlined_vector.h:54: external/com_google_absl/absl/container/internal/inlined_vector.h: In member function 'bool re2::Prog::IsOnePass()': external/com_google_absl/absl/container/internal/inlined_vector.h:656:6: note: by argument 2 of type 'absl::lts_20210324::inlined_vector_internal::Storage >::const_iterator' {aka 'const unsigned char*'} to 'absl::lts_20210324::inlined_vector_internal::Storage::iterator absl::lts_20210324::inlined_vector_internal::Storage::Insert(const_iterator, ValueAdapter, size_type) [with ValueAdapter = absl::lts_20210324::inlined_vector_internal::CopyValueAdapter >; T = unsigned char; long unsigned int N = 2048; A = std::allocator]' declared here 656 | auto Storage::Insert(const_iterator pos, ValueAdapter values, | ^~~~~~~~~~~~~~~~ external/com_googlesource_code_re2/re2/onepass.cc:414:38: note: 'nodes' declared here 414 | absl::InlinedVector nodes; | ^~~~~ INFO: From Compiling src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc: In file included from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc:23: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy.h:137:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 137 | : public std::iterator< | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/algorithm:60, from external/com_google_absl/absl/strings/string_view.h:30, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc:19: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling src/core/ext/filters/client_channel/lb_policy/xds/cds.cc: In file included from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc:23: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy.h:137:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 137 | : public std::iterator< | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/array:43, from external/com_google_absl/absl/strings/str_cat.h:56, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc:21: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling src/core/ext/xds/xds_api.cc: In file included from external/com_github_grpc_grpc/src/core/ext/xds/xds_api.h:28, from external/com_github_grpc_grpc/src/core/ext/xds/xds_api.cc:92: In member function 'absl::lts_20210324::InlinedVector::reference absl::lts_20210324::InlinedVector::operator[](size_type) [with T = grpc_core::XdsApi::EdsUpdate::Priority; long unsigned int N = 2; A = std::allocator]', inlined from 'grpc_error* grpc_core::{anonymous}::EdsResponseParse(const EncodingContext&, const envoy_service_discovery_v3_DiscoveryResponse*, const std::set >&, grpc_core::XdsApi::EdsUpdateMap*, std::set >*)' at external/com_github_grpc_grpc/src/core/ext/xds/xds_api.cc:3186:37: external/com_google_absl/absl/container/inlined_vector.h:314:18: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 314 | return data()[i]; | ~~~~~~^ external/com_github_grpc_grpc/src/core/ext/xds/xds_api.cc: In function 'grpc_error* grpc_core::{anonymous}::EdsResponseParse(const EncodingContext&, const envoy_service_discovery_v3_DiscoveryResponse*, const std::set >&, grpc_core::XdsApi::EdsUpdateMap*, std::set >*)': external/com_github_grpc_grpc/src/core/ext/xds/xds_api.cc:3175:14: note: 'priority' was declared here 3175 | size_t priority; | ^~~~~~~~ [916 / 2,000] Compiling p4_pdpi/ir.cc; 15s linux-sandbox ... (32 actions, 31 running) INFO: From Compiling common/events_service.cpp: In file included from external/sonic_swss_common/common/events_common.h:14, from external/sonic_swss_common/common/events_service.h:5, from external/sonic_swss_common/common/events_service.cpp:1: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/istream:38, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/fstream:38, from external/sonic_swss_common/common/events_common.h:10: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling common/luatable.cpp: In file included from external/sonic_swss_common/common/luatable.cpp:8: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/stdexcept:39, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/system_error:41, from external/sonic_swss_common/common/luatable.cpp:2: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc: In file included from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.h:35, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc:27: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy.h:137:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 137 | : public std::iterator< | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/array:43, from external/com_google_absl/absl/strings/str_cat.h:56, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc:22: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:40, from external/com_google_absl/absl/strings/str_cat.h:58: In static member function 'static constexpr std::size_t std::char_traits::length(const char_type*)', inlined from 'constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(const _CharT*) [with _CharT = char; _Traits = std::char_traits]' at /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string_view:134:35, inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = std::__cxx11::basic_string&; _U2 = std::nullptr_t; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = std::basic_string_view; _T2 = std::basic_string_view]' at /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_pair.h:535:35, inlined from 'std::pair, std::basic_string_view > grpc_core::{anonymous}::XdsClusterResolverLb::DiscoveryMechanism::GetLrsClusterKey() const' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc:149:72, inlined from 'grpc_core::RefCountedPtr grpc_core::{anonymous}::XdsClusterResolverLb::CreateChildPolicyConfigLocked()' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc:941:68, inlined from 'void grpc_core::{anonymous}::XdsClusterResolverLb::UpdateChildPolicyLocked()' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc:1033:53: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/char_traits.h:399:32: warning: argument 1 null where non-null expected [-Wnonnull] 399 | return __builtin_strlen(__s); | ~~~~~~~~~~~~~~~~^~~~~ /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/char_traits.h:399:32: note: in a call to built-in function 'long unsigned int __builtin_strlen(const char*)' INFO: From Compiling p4_constraints/frontend/ast_constructors.cc: external/com_github_p4lang_p4_constraints/p4_constraints/frontend/ast_constructors.cc: In function 'absl::lts_20210324::StatusOr p4_constraints::ast::MakeKey(absl::lts_20210324::Span)': external/com_github_p4lang_p4_constraints/p4_constraints/frontend/ast_constructors.cc:144:21: warning: comparison of integer expressions of different signedness: 'int' and 'absl::lts_20210324::Span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int i = 0; i < key_fragments.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling p4_pdpi/ir.cc: p4_pdpi/ir.cc: In function 'absl::lts_20210324::StatusOr pdpi::PiReadRequestToIr(const IrP4Info&, const p4::v1::ReadRequest&)': p4_pdpi/ir.cc:1559:32: warning: 'google::protobuf::uint64 p4::v1::TableEntry::controller_metadata() const' is deprecated [-Wdeprecated-declarations] 1559 | entry.controller_metadata() != 0 || entry.idle_timeout_ns() != 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from ./p4_pdpi/ir.h:27, from p4_pdpi/ir.cc:15: bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:13320:40: note: declared here 13320 | inline ::PROTOBUF_NAMESPACE_ID::uint64 TableEntry::controller_metadata() const { | ^~~~~~~~~~ p4_pdpi/ir.cc: In function 'absl::lts_20210324::StatusOr pdpi::PiWriteRequestToIr(const IrP4Info&, const p4::v1::WriteRequest&)': p4_pdpi/ir.cc:1632:28: warning: 'google::protobuf::uint64 p4::v1::WriteRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 1632 | if (write_request.role_id() != 0) { | ~~~~~~~~~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11619:40: note: declared here 11619 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::role_id() const { | ^~~~~~~~~~~~ p4_pdpi/ir.cc:1635:30: warning: 'google::protobuf::uint64 p4::v1::WriteRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 1635 | write_request.role_id(), " instead.")); | ~~~~~~~~~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11619:40: note: declared here 11619 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::role_id() const { | ^~~~~~~~~~~~ p4_pdpi/ir.cc: In function 'absl::lts_20210324::StatusOr pdpi::IrWriteRequestToPi(const IrP4Info&, const IrWriteRequest&)': p4_pdpi/ir.cc:1999:31: warning: 'void p4::v1::WriteRequest::set_role_id(google::protobuf::uint64)' is deprecated [-Wdeprecated-declarations] 1999 | pi_write_request.set_role_id(0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11627:13: note: declared here 11627 | inline void WriteRequest::set_role_id(::PROTOBUF_NAMESPACE_ID::uint64 value) { | ^~~~~~~~~~~~ INFO: From Compiling common/dbconnector.cpp: In file included from external/sonic_swss_common/common/dbconnector.cpp:8: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/vector:60, from external/sonic_swss_common/common/dbconnector.cpp:3: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_pair.h:61, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:64: In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8434:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8434:38: note: '' declared here 8434 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8488:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8488:34: note: '' declared here 8488 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8512:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8512:38: note: '' declared here 8512 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8543:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8543:34: note: '' declared here 8543 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at external/sonic_swss_common/common/json.hpp:8596:24: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ external/sonic_swss_common/common/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': external/sonic_swss_common/common/json.hpp:8596:26: note: '' declared here 8596 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/map:60, from external/com_google_absl/absl/strings/str_split.h:40, from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:23: In member function '_Tp* std::_Rb_tree_iterator<_Tp>::operator->() const [with _Tp = std::pair, std::unique_ptr >]', inlined from 'const std::string& grpc_core::{anonymous}::XdsResolver::ClusterState::cluster() const' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:144:52, inlined from 'void grpc_core::{anonymous}::XdsResolver::XdsConfigSelector::MaybeAddCluster(const std::string&)' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:530:43: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tree.h:282:41: warning: pointer used after 'void operator delete(void*, std::size_t)' [-Wuse-after-free] 282 | { return static_cast<_Link_type> (_M_node)->_M_valptr(); } | ^~~~~~~ In destructor 'virtual grpc_core::{anonymous}::XdsResolver::ClusterState::~ClusterState()', inlined from 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = grpc_core::{anonymous}::XdsResolver::ClusterState]' at /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/unique_ptr.h:95:2, inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = grpc_core::{anonymous}::XdsResolver::ClusterState; _Dp = std::default_delete]' at /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/unique_ptr.h:396:17, inlined from 'grpc_core::{anonymous}::XdsResolver::ClusterState::ClusterState(const std::string&, ClusterStateMap*)' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:142:48, inlined from 'grpc_core::RefCountedPtr grpc_core::MakeRefCounted(Args&& ...) [with T = {anonymous}::XdsResolver::ClusterState; Args = {const std::__cxx11::basic_string, std::allocator >&, std::map, std::allocator >, std::unique_ptr<{anonymous}::XdsResolver::ClusterState, std::default_delete<{anonymous}::XdsResolver::ClusterState> >, std::less, std::allocator > >, std::allocator, std::allocator >, std::unique_ptr<{anonymous}::XdsResolver::ClusterState, std::default_delete<{anonymous}::XdsResolver::ClusterState> > > > >*}]' at external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:338:27, inlined from 'void grpc_core::{anonymous}::XdsResolver::XdsConfigSelector::MaybeAddCluster(const std::string&)' at external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:529:76: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc:133:9: note: call to 'void operator delete(void*, std::size_t)' here 133 | class ClusterState | ^~~~~~~~~~~~ INFO: From Compiling libs/serialization/src/binary_iarchive.cpp: In file included from external/boost/boost/detail/endian.hpp:9, from external/boost/boost/archive/impl/basic_binary_iarchive.ipp:25, from external/boost/libs/serialization/src/binary_iarchive.cpp:20: external/boost/boost/predef/detail/endian_compat.h:11:161: note: '#pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include and use BOOST_ENDIAN_*_BYTE instead' 11 | #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include and use BOOST_ENDIAN_*_BYTE instead") | ^ INFO: From Compiling src/cpp/common/channel_filter.cc: In file included from external/com_github_grpc_grpc/src/cpp/common/channel_filter.cc:22: external/com_github_grpc_grpc/src/cpp/common/channel_filter.h:59:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 59 | class const_iterator : public std::iterator > pdpi::HexStringToAnyLargeEnoughBitset(absl::lts_20210324::string_view) [with long unsigned int num_bits = 32; absl::lts_20210324::string_view = std::basic_string_view]': p4_pdpi/string_encodings/hex_string.cc:44:3: required from 'absl::lts_20210324::StatusOr pdpi::HexStringTo(absl::lts_20210324::string_view) [with T = int; absl::lts_20210324::string_view = std::basic_string_view]' p4_pdpi/string_encodings/hex_string.cc:54:26: required from here ./p4_pdpi/string_encodings/hex_string.h:117:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | for (int i = 0; i < hex_string.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ ./p4_pdpi/string_encodings/hex_string.h: In instantiation of 'absl::lts_20210324::StatusOr > pdpi::HexStringToAnyLargeEnoughBitset(absl::lts_20210324::string_view) [with long unsigned int num_bits = 64; absl::lts_20210324::string_view = std::basic_string_view]': p4_pdpi/string_encodings/hex_string.cc:44:3: required from 'absl::lts_20210324::StatusOr pdpi::HexStringTo(absl::lts_20210324::string_view) [with T = long int; absl::lts_20210324::string_view = std::basic_string_view]' p4_pdpi/string_encodings/hex_string.cc:62:30: required from here ./p4_pdpi/string_encodings/hex_string.h:117:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] INFO: From Compiling p4_pdpi/netaddr/mac_address.cc: In file included from ./p4_pdpi/netaddr/network_address.h:28, from ./p4_pdpi/netaddr/ipv6_address.h:23, from ./p4_pdpi/netaddr/mac_address.h:22, from p4_pdpi/netaddr/mac_address.cc:14: ./p4_pdpi/string_encodings/hex_string.h: In instantiation of 'std::string pdpi::BitsetToHexString(const std::bitset<_Nb>&) [with long unsigned int num_bits = 64; std::string = std::__cxx11::basic_string]': p4_pdpi/netaddr/mac_address.cc:103:65: required from here ./p4_pdpi/string_encodings/hex_string.h:95:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 95 | int kth_bit = (k < num_bits) ? bitset[k] : 0; // Implicit bits are 0. | ~~~^~~~~~~~~~~ INFO: From Compiling src/core/ext/xds/xds_client.cc: In file included from external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.h:35, from external/com_github_grpc_grpc/src/core/ext/xds/xds_client.cc:33: external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy.h:137:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 137 | : public std::iterator< | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/algorithm:60, from external/com_google_absl/absl/container/inlined_vector.h:38, from external/com_github_grpc_grpc/src/core/ext/xds/xds_client.cc:23: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling libs/serialization/src/binary_wiarchive.cpp: In file included from external/boost/boost/detail/endian.hpp:9, from external/boost/boost/archive/impl/basic_binary_iarchive.ipp:25, from external/boost/libs/serialization/src/binary_wiarchive.cpp:24: external/boost/boost/predef/detail/endian_compat.h:11:161: note: '#pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include and use BOOST_ENDIAN_*_BYTE instead' 11 | #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include and use BOOST_ENDIAN_*_BYTE instead") | ^ INFO: From Compiling p4rt_app/sonic/app_db_to_pdpi_ir_translator.cc: In file included from p4rt_app/sonic/app_db_to_pdpi_ir_translator.cc:32: bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_construct.h:61, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:33, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ext/alloc_traits.h:34, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/unordered_map:41, from ./p4rt_app/sonic/app_db_to_pdpi_ir_translator.h:19, from p4rt_app/sonic/app_db_to_pdpi_ir_translator.cc:14: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:36, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/x86_64-linux-gnu/bits/c++allocator.h:33, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/allocator.h:46, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/unordered_map:40: In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8434:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8434:38: note: '' declared here 8434 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8488:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8488:34: note: '' declared here 8488 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8512:36: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8512:38: note: '' declared here 8512 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8543:32: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8543:34: note: '' declared here 8543 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = nlohmann::basic_json<>::json_value]', inlined from 'nlohmann::basic_json::value_type& nlohmann::basic_json::operator=(nlohmann::basic_json) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:1976:13, inlined from 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]' at bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8596:24: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/move.h:205:7: warning: '.nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator>::m_value' may be used uninitialized [-Wmaybe-uninitialized] 205 | __a = _GLIBCXX_MOVE(__b); | ^~~ bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp: In member function 'nlohmann::basic_json nlohmann::basic_json::parser::parse_internal(bool) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator]': bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:8596:26: note: '' declared here 8596 | result = basic_json(value_t::discarded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling p4rt_app/sonic/response_handler.cc: p4rt_app/sonic/response_handler.cc: In function 'google::rpc::Code p4rt_app::sonic::{anonymous}::SwssToP4RTErrorCode(const std::string&)': p4rt_app/sonic/response_handler.cc:68:1: warning: control reaches end of non-void function [-Wreturn-type] 68 | } | ^ INFO: From Compiling p4_constraints/frontend/parser.cc: external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc: In member function 'p4_constraints::Token p4_constraints::{anonymous}::TokenStream::Peek() const': external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc:54:14: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | if (index_ < tokens_.size()) return tokens_[index_]; | ~~~~~~~^~~~~~~~~~~~~~~~ external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc: In function 'absl::lts_20210324::Status p4_constraints::{anonymous}::Unexpected(p4_constraints::Token, const std::vector&)': external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc:151:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc:154:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | } else if (i == expected.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~~~~~ external/com_github_p4lang_p4_constraints/p4_constraints/frontend/parser.cc:159:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | if (i == expected.size() - 1) error << "."; | ~~^~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling p4_pdpi/netaddr/ipv6_address.cc: In file included from ./p4_pdpi/netaddr/network_address.h:28, from ./p4_pdpi/netaddr/ipv6_address.h:23, from p4_pdpi/netaddr/ipv6_address.cc:14: ./p4_pdpi/string_encodings/hex_string.h: In instantiation of 'std::string pdpi::BitsetToHexString(const std::bitset<_Nb>&) [with long unsigned int num_bits = 128; std::string = std::__cxx11::basic_string]': ./p4_pdpi/netaddr/network_address.h:86:67: required from 'std::string netaddr::NetworkAddress::ToHexString() const [with long unsigned int num_bits = 128; T = netaddr::Ipv6Address; std::string = std::__cxx11::basic_string]' p4_pdpi/netaddr/ipv6_address.cc:53:76: required from here ./p4_pdpi/string_encodings/hex_string.h:95:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 95 | int kth_bit = (k < num_bits) ? bitset[k] : 0; // Implicit bits are 0. | ~~~^~~~~~~~~~~ INFO: From Compiling common/countertable.cpp: In file included from external/sonic_swss_common/common/countertable.cpp:8: external/sonic_swss_common/common/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:45, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/stdexcept:39, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/system_error:41, from external/sonic_swss_common/common/countertable.cpp:2: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ INFO: From Compiling p4_pdpi/utils/ir.cc: p4_pdpi/utils/ir.cc: In function 'absl::lts_20210324::StatusOr pdpi::ArbitraryByteStringToIrValue(Format, int, const std::string&)': p4_pdpi/utils/ir.cc:224:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 224 | if (expected_num_hex_chars != hex_string.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p4_pdpi/utils/ir.cc: In function 'absl::lts_20210324::StatusOr > pdpi::IrValueToNormalizedByteString(const IrValue&, int)': p4_pdpi/utils/ir.cc:327:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 327 | if (expected_num_hex_chars != stripped_hex.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ p4_pdpi/utils/ir.cc: In function 'absl::lts_20210324::StatusOr > pdpi::Intersection(const std::string&, const std::string&)': p4_pdpi/utils/ir.cc:420:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 420 | for (int i = 0; i < left.size(); ++i) { | ~~^~~~~~~~~~~~~ INFO: From Compiling external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual google::protobuf::uint8* p4::v1::WriteRequest::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:2457:20: warning: 'google::protobuf::uint64 p4::v1::WriteRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 2457 | if (this->role_id() != 0) { | ~~~~~~~~~~~~~^~ In file included from bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:4: bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11619:40: note: declared here 11619 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::role_id() const { | ^~~~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual size_t p4::v1::WriteRequest::ByteSizeLong() const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:2540:20: warning: 'google::protobuf::uint64 p4::v1::WriteRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 2540 | if (this->role_id() != 0) { | ~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11619:40: note: declared here 11619 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::role_id() const { | ^~~~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'void p4::v1::WriteRequest::MergeFrom(const p4::v1::WriteRequest&)': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:2593:19: warning: 'google::protobuf::uint64 p4::v1::WriteRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 2593 | if (from.role_id() != 0) { | ~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:11619:40: note: declared here 11619 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::role_id() const { | ^~~~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual google::protobuf::uint8* p4::v1::TableEntry::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:5136:32: warning: 'google::protobuf::uint64 p4::v1::TableEntry::controller_metadata() const' is deprecated [-Wdeprecated-declarations] 5136 | if (this->controller_metadata() != 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:13320:40: note: declared here 13320 | inline ::PROTOBUF_NAMESPACE_ID::uint64 TableEntry::controller_metadata() const { | ^~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual size_t p4::v1::TableEntry::ByteSizeLong() const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:5256:32: warning: 'google::protobuf::uint64 p4::v1::TableEntry::controller_metadata() const' is deprecated [-Wdeprecated-declarations] 5256 | if (this->controller_metadata() != 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:13320:40: note: declared here 13320 | inline ::PROTOBUF_NAMESPACE_ID::uint64 TableEntry::controller_metadata() const { | ^~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'void p4::v1::TableEntry::MergeFrom(const p4::v1::TableEntry&)': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:5327:31: warning: 'google::protobuf::uint64 p4::v1::TableEntry::controller_metadata() const' is deprecated [-Wdeprecated-declarations] 5327 | if (from.controller_metadata() != 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:13320:40: note: declared here 13320 | inline ::PROTOBUF_NAMESPACE_ID::uint64 TableEntry::controller_metadata() const { | ^~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual google::protobuf::uint8* p4::v1::Role::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:16020:15: warning: 'google::protobuf::uint64 p4::v1::Role::id() const' is deprecated [-Wdeprecated-declarations] 16020 | if (this->id() != 0) { | ~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:18873:40: note: declared here 18873 | inline ::PROTOBUF_NAMESPACE_ID::uint64 Role::id() const { | ^~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual size_t p4::v1::Role::ByteSizeLong() const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:16074:15: warning: 'google::protobuf::uint64 p4::v1::Role::id() const' is deprecated [-Wdeprecated-declarations] 16074 | if (this->id() != 0) { | ~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:18873:40: note: declared here 18873 | inline ::PROTOBUF_NAMESPACE_ID::uint64 Role::id() const { | ^~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'void p4::v1::Role::MergeFrom(const p4::v1::Role&)': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:16117:14: warning: 'google::protobuf::uint64 p4::v1::Role::id() const' is deprecated [-Wdeprecated-declarations] 16117 | if (from.id() != 0) { | ~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:18873:40: note: declared here 18873 | inline ::PROTOBUF_NAMESPACE_ID::uint64 Role::id() const { | ^~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual google::protobuf::uint8* p4::v1::SetForwardingPipelineConfigRequest::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:17948:20: warning: 'google::protobuf::uint64 p4::v1::SetForwardingPipelineConfigRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 17948 | if (this->role_id() != 0) { | ~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:19811:40: note: declared here 19811 | inline ::PROTOBUF_NAMESPACE_ID::uint64 SetForwardingPipelineConfigRequest::role_id() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'virtual size_t p4::v1::SetForwardingPipelineConfigRequest::ByteSizeLong() const': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:18031:20: warning: 'google::protobuf::uint64 p4::v1::SetForwardingPipelineConfigRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 18031 | if (this->role_id() != 0) { | ~~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:19811:40: note: declared here 19811 | inline ::PROTOBUF_NAMESPACE_ID::uint64 SetForwardingPipelineConfigRequest::role_id() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc: In member function 'void p4::v1::SetForwardingPipelineConfigRequest::MergeFrom(const p4::v1::SetForwardingPipelineConfigRequest&)': bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.cc:18086:19: warning: 'google::protobuf::uint64 p4::v1::SetForwardingPipelineConfigRequest::role_id() const' is deprecated [-Wdeprecated-declarations] 18086 | if (from.role_id() != 0) { | ~~~~~~~~~~~~^~ bazel-out/k8-opt/bin/external/com_github_p4lang_p4runtime/p4/v1/p4runtime.pb.h:19811:40: note: declared here 19811 | inline ::PROTOBUF_NAMESPACE_ID::uint64 SetForwardingPipelineConfigRequest::role_id() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: From Compiling p4rt_app/sonic/app_db_manager.cc: In file included from p4rt_app/sonic/app_db_manager.cc:42: bazel-out/k8-opt/bin/external/sonic_swss_common/_virtual_includes/libswsscommon/swss/json.hpp:6272:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 6272 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_construct.h:61, from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/memory:64, from ./p4rt_app/sonic/app_db_manager.h:19, from p4rt_app/sonic/app_db_manager.cc:14: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ERROR: /var/williamz/.cache/bazel/_bazel_williamz/5fd88bad78ef03829a4685c83637a020/external/boringssl/BUILD:161:11: Compiling src/crypto/curve25519/curve25519.c failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 38 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 38 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox external/boringssl/src/crypto/curve25519/curve25519.c:503:57: error: argument 2 of type 'const uint8_t[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Werror=array-parameter=] 503 | int x25519_ge_frombytes_vartime(ge_p3 *h, const uint8_t s[32]) { | ~~~~~~~~~~~~~~^~~~~ In file included from external/boringssl/src/crypto/curve25519/curve25519.c:33: external/boringssl/src/crypto/curve25519/internal.h:109:58: note: previously declared as 'const uint8_t *' {aka 'const unsigned char *'} 109 | int x25519_ge_frombytes_vartime(ge_p3 *h, const uint8_t *s); | ~~~~~~~~~~~~~~~^ external/boringssl/src/crypto/curve25519/curve25519.c:823:57: error: argument 2 of type 'const uint8_t *' {aka 'const unsigned char *'} declared as a pointer [-Werror=array-parameter=] 823 | void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t *a) { | ~~~~~~~~~~~~~~~^ external/boringssl/src/crypto/curve25519/internal.h:117:56: note: previously declared as an array 'const uint8_t[32]' {aka 'const unsigned char[32]'} 117 | void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t a[32]); | ~~~~~~~~~~~~~~^~~~~ cc1: all warnings being treated as errors INFO: Elapsed time: 210.207s, Critical Path: 51.44s INFO: 1326 processes: 135 internal, 1191 linux-sandbox. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully make[1]: *** [Makefile:34: /sonic/target/debs/bullseye/sonic-p4rt_0.0.1_amd64.deb] Error 1 make[1]: Leaving directory '/sonic/src/sonic-p4rt' [ FAIL LOG END ] [ target/debs/bullseye/sonic-p4rt_0.0.1_amd64.deb ] [ 01 ] [ target/debs/bullseye/sonic-linkmgrd_1.0.0-1_amd64.deb ] [ 02 ] [ target/debs/bullseye/libsairedis_1.0.0_amd64.deb ] [ 03 ] [ target/docker-config-engine-bullseye.gz ] make: *** [slave.mk:641: target/debs/bullseye/sonic-p4rt_0.0.1_amd64.deb] Error 1 make: *** Waiting for unfinished jobs.... ^Cmake: *** [slave.mk:992: target/docker-config-engine-bullseye.gz] Interrupt make: *** [slave.mk:681: target/debs/bullseye/sonic-linkmgrd_1.0.0-1_amd64.deb] Error 130 make: *** [slave.mk:681: target/debs/bullseye/libsairedis_1.0.0_amd64.deb] Error 130 ^C make[1]: *** [Makefile.work:537: target/sonic-broadcom.bin] Error 1 make: *** [Makefile:41: target/sonic-broadcom.bin] Interrupt williamz@AZUHPSP08:/work/users/williamz/Sonic/Gcc12/Helga_202211_develop_gcc12_01$