You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python_grpc_compile succeeded but python_grpc_library failed.
Log Output
% blaze build ...
INFO: Analyzed 3 targets (86 packages loaded, 3180 targets configured).
INFO: Found 3 targets...
INFO: From Compiling src/google/protobuf/generated_message_tctable_lite.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/generated_message_tctable_lite.cc:347:14: warning: unused function 'Offset' [-Wunused-function]
inline void* Offset(void* base, uint32_t offset) {
^
1 warning generated.
INFO: From Compiling src/google/protobuf/stubs/strutil.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/stubs/strutil.cc:506:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(dest + used, (use_hex ? "\\x%02x" : "\\%03o"),
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
INFO: From Compiling src/google/protobuf/compiler/cpp/helpers.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/compiler/cpp/helpers.cc:197:25: warning: unused function 'VerifyInt32TypeToVerifyCustom' [-Wunused-function]
inline VerifySimpleType VerifyInt32TypeToVerifyCustom(VerifyInt32Type t) {
^
1 warning generated.
INFO: From Generating Descriptor Set proto_library @com_github_cncf_udpa//xds/type/v3:pkg:
xds/type/v3/typed_struct.proto:10:1: warning: Import validate/validate.proto is unused.
INFO: From Generating Descriptor Set proto_library @com_github_cncf_udpa//xds/service/orca/v3:pkg:
xds/service/orca/v3/orca.proto:14:1: warning: Import validate/validate.proto is unused.
ERROR: /private/var/tmp/_bazel_user/e73f6637d252203b675bd1a947b12b44/external/com_github_grpc_grpc/src/core/BUILD:4596:16: Compiling src/core/ext/transport/chttp2/server/chttp2_server.cc failed: (Exit 1): wrapped_clang_pp failed: error executing command (from target @com_github_grpc_grpc//src/core:grpc_transport_chttp2_server) external/local_config_cc/wrapped_clang_pp '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -O0 -DDEBUG '-std=c++11' ... (remaining 75 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:40:
In file included from external/com_github_grpc_grpc/src/core/lib/avl/avl.h:26:
external/com_github_grpc_grpc/src/core/lib/gpr/useful.h:109:17: error: 'auto' not allowed in lambda parameter
[&](const auto& x) {
^~~~
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:58:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
reset(std::exchange(other.value_, nullptr));
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:63:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
reset(std::exchange(other.value_, nullptr));
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:109:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
T* old_value = std::exchange(value_, value);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:114:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
T* old_value = std::exchange(value_, value);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:134:25: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
T* release() { return std::exchange(value_, nullptr); }
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:201:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
reset(std::exchange(other.value_, nullptr));
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:206:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
reset(std::exchange(other.value_, nullptr));
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:252:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
T* old_value = std::exchange(value_, value);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:257:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
T* old_value = std::exchange(value_, value);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
In file included from external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:30:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/arena.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/memory_quota.h:42:
external/com_github_grpc_grpc/src/core/lib/promise/activity.h:113:12: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
return std::exchange(wakeable_, promise_detail::unwakeable());
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
In file included from external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:30:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/arena.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/memory_quota.h:42:
external/com_github_grpc_grpc/src/core/lib/promise/activity.h:334:12: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
return std::exchange(action_during_run_, ActionDuringRun::kNone);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:36:17: error: no template named 'aligned_storage_t' in namespace 'std'; did you mean 'absl::aligned_storage_t'?
using ArgType = std::aligned_storage_t<sizeof(void*)>;
^~~~~~~~~~~~~~~~~~~~~~
absl::aligned_storage_t
external/com_google_absl/absl/meta/type_traits.h:625:1: note: 'absl::aligned_storage_t' declared here
using aligned_storage_t = typename std::aligned_storage<Len, Align>::type;
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:64:17: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
: center_(std::exchange(other.center_, nullptr)) {}
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:66:15: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
center_ = std::exchange(other.center_, nullptr);
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:302:24: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
if (auto* center = std::exchange(center_, nullptr)) center->UnrefSend();
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:425:7: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
std::exchange(center_, nullptr)->UnrefRecv();
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:470:17: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
if (auto* p = std::exchange(center_, nullptr)) p->AckNext();
^~~~~~~~~~~~~
absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:60:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/metadata_batch.h:41:
In file included from external/com_github_grpc_grpc/src/core/lib/compression/compression_internal.h:34:
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:87:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void set(int i) { units_[unit_for(i)] |= mask_for(i); }
^
const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:90:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void set(int i, bool is_set) {
^
const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:99:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void clear(int i) { units_[unit_for(i)] &= ~mask_for(i); }
^
const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:87:18: error: constexpr function's return type 'void' is not a literal type
constexpr void set(int i) { units_[unit_for(i)] |= mask_for(i); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
Error in child process '/usr/bin/xcrun'. 1
INFO: Elapsed time: 35.837s, Critical Path: 8.14s
INFO: 508 processes: 28 internal, 478 darwin-sandbox, 2 local.
FAILED: Build did NOT complete successfully
Issue Description
python_grpc_compile succeeded but python_grpc_library failed.
Log Output
rules_proto_grpc Version
rules_proto_grpc-4.4.0
Bazel Version
[bazel release 6.2.1-homebrew]
OS
Ventura Version 13.3.1 (a) (22E772610a)
Link to Demo Repo
No response
WORKSPACE Content
BUILD Content
Proto Content
Any Other Content
No response
The text was updated successfully, but these errors were encountered: