Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] breakdown dbms/src/TiDB #5719

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

detongz
Copy link

@detongz detongz commented Aug 28, 2022

What problem does this PR solve?

Issue Number: ref #4646

Problem Summary:
Breaking down dbms/src/Storages/Transaction/TiDB.h.

What is changed and how it works?

Move code from dbms/src/Storages/Transaction/TiDB.h to dbms/src/TiDB/Schema.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Release note

None

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has not been approved.

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot
Copy link
Member

@mischaZhang: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot added do-not-merge/needs-linked-issue do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/release-note-label-needed labels Aug 28, 2022
@sre-bot
Copy link
Collaborator

sre-bot commented Aug 28, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ti-chi-bot ti-chi-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 28, 2022
@ti-chi-bot
Copy link
Member

Welcome @mischaZhang!

It looks like this is your first PR to pingcap/tiflash 🎉.

I'm the bot to help you request reviewers, add labels and more, See available commands.

We want to make sure your contribution gets all the attention it needs!



Thank you, and welcome to pingcap/tiflash. 😃

@detongz
Copy link
Author

detongz commented Aug 28, 2022

My local vscode environment clang cannot format code, it reports errors:

clang: error: unknown argument: '-style=file'
clang: error: unknown argument: '-fallback-style=LLVM'
clang: error: no input files

Need to fix this local clang error.

@Lloyd-Pottiger
Copy link
Contributor

My local vscode environment clang cannot format code, it reports errors:

Please check your clang-format version which should be 13.0.0 or newer. And you can follow https://github.com/pingcap/tiflash#contributing

@detongz
Copy link
Author

detongz commented Aug 29, 2022

My local vscode environment clang cannot format code, it reports errors:

Please check your clang-format version which should be 13.0.0 or newer. And you can follow https://github.com/pingcap/tiflash#contributing

THX

@ti-chi-bot ti-chi-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 31, 2022
@ti-chi-bot ti-chi-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 6, 2022
@detongz detongz force-pushed the breakdown-dbms-src-TiDB branch 2 times, most recently from 5b01fb7 to 5373754 Compare September 6, 2022 10:18
@@ -20,7 +20,9 @@
#include <IO/WriteHelpers.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change these files from "644" to "755"?
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you meet any problems with building tiflash in your local machine? maybe you can share the details of your building or file an issue

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I am building tiflash on my mac and came across erros:

  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/handshaker/alts_tsi_utils.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/handshaker/transport_security_common_api.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc.o
  [ 98%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/fake_transport_security.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/local_transport_security.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/ssl/session_cache/ssl_session_cache.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/ssl_transport_security.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/transport_security.cc.o
  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/transport_security_grpc.cc.o
  [100%] Linking CXX static library libgrpc.a
  [100%] Built target grpc
  cargo:root=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/container
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/container
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/numeric
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/profiling
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/status
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/status
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/synchronization
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/synchronization
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/types
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/abseil-cpp/absl/types
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/cares/cares/lib
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/build/third_party/re2
  cargo:rustc-link-lib=static=absl_bad_optional_access
  cargo:rustc-link-lib=static=absl_bad_variant_access
  cargo:rustc-link-lib=static=absl_base
  cargo:rustc-link-lib=static=absl_city
  cargo:rustc-link-lib=static=absl_civil_time
  cargo:rustc-link-lib=static=absl_cord
  cargo:rustc-link-lib=static=absl_cord_internal
  cargo:rustc-link-lib=static=absl_cordz_functions
  cargo:rustc-link-lib=static=absl_cordz_handle
  cargo:rustc-link-lib=static=absl_cordz_info
  cargo:rustc-link-lib=static=absl_debugging_internal
  cargo:rustc-link-lib=static=absl_demangle_internal
  cargo:rustc-link-lib=static=absl_exponential_biased
  cargo:rustc-link-lib=static=absl_graphcycles_internal
  cargo:rustc-link-lib=static=absl_hash
  cargo:rustc-link-lib=static=absl_hashtablez_sampler
  cargo:rustc-link-lib=static=absl_int128
  cargo:rustc-link-lib=static=absl_log_severity
  cargo:rustc-link-lib=static=absl_low_level_hash
  cargo:rustc-link-lib=static=absl_malloc_internal
  cargo:rustc-link-lib=static=absl_random_distributions
  cargo:rustc-link-lib=static=absl_random_internal_platform
  cargo:rustc-link-lib=static=absl_random_internal_pool_urbg
  cargo:rustc-link-lib=static=absl_random_internal_randen
  cargo:rustc-link-lib=static=absl_random_internal_randen_hwaes
  cargo:rustc-link-lib=static=absl_random_internal_randen_hwaes_impl
  cargo:rustc-link-lib=static=absl_random_internal_randen_slow
  cargo:rustc-link-lib=static=absl_random_internal_seed_material
  cargo:rustc-link-lib=static=absl_random_seed_gen_exception
  cargo:rustc-link-lib=static=absl_random_seed_sequences
  cargo:rustc-link-lib=static=absl_raw_hash_set
  cargo:rustc-link-lib=static=absl_raw_logging_internal
  cargo:rustc-link-lib=static=absl_spinlock_wait
  cargo:rustc-link-lib=static=absl_stacktrace
  cargo:rustc-link-lib=static=absl_status
  cargo:rustc-link-lib=static=absl_statusor
  cargo:rustc-link-lib=static=absl_str_format_internal
  cargo:rustc-link-lib=static=absl_strings
  cargo:rustc-link-lib=static=absl_strings_internal
  cargo:rustc-link-lib=static=absl_symbolize
  cargo:rustc-link-lib=static=absl_synchronization
  cargo:rustc-link-lib=static=absl_throw_delegate
  cargo:rustc-link-lib=static=absl_time
  cargo:rustc-link-lib=static=absl_time_zone
  cargo:rustc-link-lib=static=address_sorting
  cargo:rustc-link-lib=static=cares
  cargo:rustc-link-lib=static=gpr
  cargo:rustc-link-lib=static=upb
  cargo:rustc-link-lib=static=z
  cargo:rustc-link-lib=static=grpc
  cargo:rustc-link-lib=static=re2
  cargo:rustc-link-lib=static=ssl
  cargo:rustc-link-lib=static=crypto
  CXX_x86_64-apple-darwin = None
  CXX_x86_64_apple_darwin = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-apple-darwin = None
  CXXFLAGS_x86_64_apple_darwin = None
  HOST_CXXFLAGS = None
  CXXFLAGS = Some(" -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
  running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-I" "grpc/include" "-std=c++11" "-DGRPC_SYS_SECURE" "-Werror" "-o" "/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/grpc_wrap.o" "-c" "grpc_wrap.cc"
  cargo:warning=In file included from grpc_wrap.cc:43:
  cargo:warning=In file included from grpc/include/grpc/grpc.h:26:
  cargo:warning=In file included from grpc/include/grpc/byte_buffer.h:25:
  cargo:warning=In file included from grpc/include/grpc/slice_buffer.h:24:
  cargo:warning=In file included from grpc/include/grpc/slice.h:25:
  cargo:warning=In file included from grpc/include/grpc/support/sync.h:25:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/sync.h:57:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/sync_posix.h:26:
  cargo:warning=/usr/local/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
  cargo:warning=     ^
  cargo:warning=/usr/local/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=        ^
  cargo:warning=/usr/local/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=/usr/local/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=                                        ^
  cargo:warning=/usr/local/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
  cargo:warning=     ^
  cargo:warning=/usr/local/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=        ^
  cargo:warning=/usr/local/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=/usr/local/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=                                        ^
  cargo:warning=In file included from grpc_wrap.cc:46:
  cargo:warning=In file included from grpc/include/grpc/support/log.h:24:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/log.h:27:
  cargo:warning=/usr/local/include/stdlib.h:134:25: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may be null
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:135:22: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:136:23: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may be null
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:139:20: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may be null
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=                           _Nullable
  cargo:warning=/usr/local/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=                           _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:26: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=/usr/local/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=                              _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=                              _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:45: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=/usr/local/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=                                                 _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=                                                 _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:142:59: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=/usr/local/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=                                                                  _Nullable
  cargo:warning=/usr/local/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=                                                                  _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:142:73: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=/usr/local/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=                                                                                _Nullable
  cargo:warning=/usr/local/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=                                                                                _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:6: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=/usr/local/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:147:25: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=/usr/local/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:147:6: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=/usr/local/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:156:23: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:157:26: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:157:52: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=/usr/local/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=                                                      _Nullable
  cargo:warning=/usr/local/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=                                                      _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:158:21: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=/usr/local/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=                          _Nonnull
  cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
  cargo:warning=20 errors generated.
  exit status: 1

  --- stderr
  CMake Warning at third_party/abseil-cpp/CMakeLists.txt:74 (message):
    A future Abseil release will default ABSL_PROPAGATE_CXX_STD to ON for CMake
    3.8 and up.  We recommend enabling this option to ensure your project still
    builds correctly.


  CMake Warning at cmake/protobuf.cmake:51 (message):
    gRPC_PROTOBUF_PROVIDER is "module" but PROTOBUF_ROOT_DIR is wrong
  Call Stack (most recent call first):
    CMakeLists.txt:312 (include)


  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_ASM_COMPILER
      CMAKE_ASM_FLAGS


  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libaddress_sorting.a(address_sorting_windows.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libaddress_sorting.a(address_sorting_windows.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupb.a(decode_fast.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupb.a(decode_fast.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_android.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_getenv.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_platform.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_strcasecmp.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_writev.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(windows_port.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_android.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_getenv.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_platform.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_strcasecmp.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_writev.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(windows_port.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(elf_mem_image.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(vdso_support.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(elf_mem_image.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(vdso_support.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_iphone.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_android.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_util_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_abseil.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(time_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_msys.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(wrap_memcpy.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stat_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(thd_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stap_timers.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_iphone.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_android.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_util_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_abseil.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(time_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_msys.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(wrap_memcpy.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stat_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(thd_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stap_timers.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(sockaddr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(error_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_apple.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(closure.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolver.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(timer.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(fork_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_fallback.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_host_name_max.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_if_nametoindex_unsupported.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iocp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_posix_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_set_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolve_address_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_utils_posix_noifaddrs.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(unix_sockets_posix_noop.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(wakeup_fd_eventfd.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(load_system_roots_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(slice_refcount.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ssl_session_boringssl.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(sockaddr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(error_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_apple.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(closure.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolver.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(timer.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(fork_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_fallback.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_host_name_max.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_if_nametoindex_unsupported.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iocp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_posix_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_set_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolve_address_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_utils_posix_noifaddrs.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(unix_sockets_posix_noop.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(wakeup_fd_eventfd.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(load_system_roots_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(slice_refcount.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ssl_session_boringssl.cc.o) has no symbols


  error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-I" "grpc/include" "-std=c++11" "-DGRPC_SYS_SECURE" "-Werror" "-o" "/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-553cf66380eef710/out/grpc_wrap.o" "-c" "grpc_wrap.cc" with args "c++" did not execute successfully (status code exit status: 1).


make[6]: *** [build] Error 101
make[5]: *** [debug] Error 2
make[4]: *** [release] Error 2
make[3]: *** [/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/release/libtiflash_proxy.dylib] Error 2
make[2]: *** [contrib/tiflash-proxy-cmake/CMakeFiles/tiflash_proxy.dir/all] Error 2
make[1]: *** [dbms/src/Server/CMakeFiles/tiflash.dir/rule] Error 2
make: *** [tiflash] Error 2
make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first tiflash compiles fine, I am new to rust and cargo compile error blocks me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am compiling from master(e6f48a6).

cd /Volumes/SSD/tiflash/contrib/tiflash-proxy && /Applications/CMake.app/Contents/bin/cmake -E env PROTOC=/Volumes/SSD/tiflash/cmake-build-debug/contrib/protobuf-cmake/protoc PROTOC_INCLUDE=/Volumes/SSD/tiflash/contrib/protobuf/src ENGINE_LABEL_VALUE=tiflash make debug

Compile failed with error:

  [100%] Building CXX object CMakeFiles/grpc.dir/src/core/tsi/transport_security_grpc.cc.o
  [100%] Linking CXX static library libgrpc.a
  [100%] Built target grpc
  cargo:root=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/base
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/container
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/container
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/debugging
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/hash
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/numeric
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/profiling
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/random
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/status
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/status
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/strings
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/synchronization
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/synchronization
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/time
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/types
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/abseil-cpp/absl/types
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/cares/cares/lib
  cargo:rustc-link-search=native=/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/build/third_party/re2
  cargo:rustc-link-lib=static=absl_bad_optional_access
  cargo:rustc-link-lib=static=absl_bad_variant_access
  cargo:rustc-link-lib=static=absl_base
  cargo:rustc-link-lib=static=absl_city
  cargo:rustc-link-lib=static=absl_civil_time
  cargo:rustc-link-lib=static=absl_cord
  cargo:rustc-link-lib=static=absl_cord_internal
  cargo:rustc-link-lib=static=absl_cordz_functions
  cargo:rustc-link-lib=static=absl_cordz_handle
  cargo:rustc-link-lib=static=absl_cordz_info
  cargo:rustc-link-lib=static=absl_debugging_internal
  cargo:rustc-link-lib=static=absl_demangle_internal
  cargo:rustc-link-lib=static=absl_exponential_biased
  cargo:rustc-link-lib=static=absl_graphcycles_internal
  cargo:rustc-link-lib=static=absl_hash
  cargo:rustc-link-lib=static=absl_hashtablez_sampler
  cargo:rustc-link-lib=static=absl_int128
  cargo:rustc-link-lib=static=absl_log_severity
  cargo:rustc-link-lib=static=absl_low_level_hash
  cargo:rustc-link-lib=static=absl_malloc_internal
  cargo:rustc-link-lib=static=absl_random_distributions
  cargo:rustc-link-lib=static=absl_random_internal_platform
  cargo:rustc-link-lib=static=absl_random_internal_pool_urbg
  cargo:rustc-link-lib=static=absl_random_internal_randen
  cargo:rustc-link-lib=static=absl_random_internal_randen_hwaes
  cargo:rustc-link-lib=static=absl_random_internal_randen_hwaes_impl
  cargo:rustc-link-lib=static=absl_random_internal_randen_slow
  cargo:rustc-link-lib=static=absl_random_internal_seed_material
  cargo:rustc-link-lib=static=absl_random_seed_gen_exception
  cargo:rustc-link-lib=static=absl_random_seed_sequences
  cargo:rustc-link-lib=static=absl_raw_hash_set
  cargo:rustc-link-lib=static=absl_raw_logging_internal
  cargo:rustc-link-lib=static=absl_spinlock_wait
  cargo:rustc-link-lib=static=absl_stacktrace
  cargo:rustc-link-lib=static=absl_status
  cargo:rustc-link-lib=static=absl_statusor
  cargo:rustc-link-lib=static=absl_str_format_internal
  cargo:rustc-link-lib=static=absl_strings
  cargo:rustc-link-lib=static=absl_strings_internal
  cargo:rustc-link-lib=static=absl_symbolize
  cargo:rustc-link-lib=static=absl_synchronization
  cargo:rustc-link-lib=static=absl_throw_delegate
  cargo:rustc-link-lib=static=absl_time
  cargo:rustc-link-lib=static=absl_time_zone
  cargo:rustc-link-lib=static=address_sorting
  cargo:rustc-link-lib=static=cares
  cargo:rustc-link-lib=static=gpr
  cargo:rustc-link-lib=static=upb
  cargo:rustc-link-lib=static=z
  cargo:rustc-link-lib=static=grpc
  cargo:rustc-link-lib=static=re2
  cargo:rustc-link-lib=static=ssl
  cargo:rustc-link-lib=static=crypto
  CXX_x86_64-apple-darwin = None
  CXX_x86_64_apple_darwin = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-apple-darwin = None
  CXXFLAGS_x86_64_apple_darwin = None
  HOST_CXXFLAGS = None
  CXXFLAGS = Some(" -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
  running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-I" "grpc/include" "-std=c++11" "-DGRPC_SYS_SECURE" "-Werror" "-o" "/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/grpc_wrap.o" "-c" "grpc_wrap.cc"
  cargo:warning=In file included from grpc_wrap.cc:43:
  cargo:warning=In file included from grpc/include/grpc/grpc.h:26:
  cargo:warning=In file included from grpc/include/grpc/byte_buffer.h:25:
  cargo:warning=In file included from grpc/include/grpc/slice_buffer.h:24:
  cargo:warning=In file included from grpc/include/grpc/slice.h:25:
  cargo:warning=In file included from grpc/include/grpc/support/sync.h:25:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/sync.h:57:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/sync_posix.h:26:
  cargo:warning=/usr/local/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
  cargo:warning=     ^
  cargo:warning=/usr/local/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=        ^
  cargo:warning=/usr/local/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=/usr/local/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=                                        ^
  cargo:warning=/usr/local/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
  cargo:warning=     ^
  cargo:warning=/usr/local/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=        ^
  cargo:warning=/usr/local/include/pthread.h:537:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
  cargo:warning=/usr/local/include/pthread.h:197:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
  cargo:warning=        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
  cargo:warning=                                        ^
  cargo:warning=In file included from grpc_wrap.cc:46:
  cargo:warning=In file included from grpc/include/grpc/support/log.h:24:
  cargo:warning=In file included from grpc/include/grpc/impl/codegen/log.h:27:
  cargo:warning=/usr/local/include/stdlib.h:134:25: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may be null
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=double   atof(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:135:22: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      atoi(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:136:23: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=/usr/local/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may be null
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=long     atol(const char *);
  cargo:warning=                         ^
  cargo:warning=                          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:139:20: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may be null
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=                           _Nullable
  cargo:warning=/usr/local/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=         atoll(const char *);
  cargo:warning=                          ^
  cargo:warning=                           _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:26: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=/usr/local/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=                              _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                            ^
  cargo:warning=                              _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:45: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=/usr/local/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=                                                 _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=                                               ^
  cargo:warning=                                                 _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:142:59: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=/usr/local/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=                                                                  _Nullable
  cargo:warning=/usr/local/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                 ^
  cargo:warning=                                                                  _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:142:73: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=/usr/local/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=                                                                                _Nullable
  cargo:warning=/usr/local/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
  cargo:warning=                                                                               ^
  cargo:warning=                                                                                _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:141:6: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=/usr/local/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=void    *bsearch(const void *__key, const void *__base, size_t __nel,
  cargo:warning=        ^
  cargo:warning=          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:147:25: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=/usr/local/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=                           ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:147:6: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=/usr/local/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=char    *getenv(const char *);
  cargo:warning=        ^
  cargo:warning=          _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:156:23: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      mblen(const char *__s, size_t __n);
  cargo:warning=                          ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:157:26: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=/usr/local/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=                            _Nullable
  cargo:warning=/usr/local/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                          ^
  cargo:warning=                            _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:157:52: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=/usr/local/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=                                                      _Nullable
  cargo:warning=/usr/local/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
  cargo:warning=                                                    ^
  cargo:warning=                                                      _Nonnull
  cargo:warning=/usr/local/include/stdlib.h:158:21: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=/usr/local/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may be null
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=                          _Nullable
  cargo:warning=/usr/local/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer should never be null
  cargo:warning=int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
  cargo:warning=                        ^
  cargo:warning=                          _Nonnull
  cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
  cargo:warning=20 errors generated.
  exit status: 1

  --- stderr
  CMake Warning at third_party/abseil-cpp/CMakeLists.txt:74 (message):
    A future Abseil release will default ABSL_PROPAGATE_CXX_STD to ON for CMake
    3.8 and up.  We recommend enabling this option to ensure your project still
    builds correctly.


  CMake Warning at cmake/protobuf.cmake:51 (message):
    gRPC_PROTOBUF_PROVIDER is "module" but PROTOBUF_ROOT_DIR is wrong
  Call Stack (most recent call first):
    CMakeLists.txt:312 (include)


  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_ASM_COMPILER
      CMAKE_ASM_FLAGS


  make[2]: warning: -jN forced in submake: disabling jobserver mode.
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupb.a(decode_fast.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupb.a(decode_fast.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libaddress_sorting.a(address_sorting_windows.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libaddress_sorting.a(address_sorting_windows.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_android.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_getenv.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_platform.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_strcasecmp.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_writev.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(windows_port.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_android.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_getenv.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_platform.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_strcasecmp.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(ares_writev.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libcares.a(windows_port.c.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(elf_mem_image.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(vdso_support.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(elf_mem_image.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libabsl_debugging_internal.a(vdso_support.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_iphone.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_android.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_util_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_abseil.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(time_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_msys.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(wrap_memcpy.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stat_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(thd_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stap_timers.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_iphone.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(cpu_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(env_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_android.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(log_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_util_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(string_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_abseil.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(sync_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(time_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_msys.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(tmpfile_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(wrap_memcpy.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stat_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(thd_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgpr.a(stap_timers.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(sockaddr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(error_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_apple.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(closure.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolver.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(timer.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(fork_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_fallback.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_host_name_max.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_if_nametoindex_unsupported.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iocp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_posix_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_set_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolve_address_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_utils_posix_noifaddrs.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(unix_sockets_posix_noop.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(wakeup_fd_eventfd.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(load_system_roots_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(slice_refcount.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ssl_session_boringssl.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_ev_driver_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_ares_wrapper_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(sockaddr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_event_engine.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint_pair_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(error_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_apple.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ev_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(closure.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(endpoint.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolver.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(timer.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(fork_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_fallback.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(gethostname_host_name_max.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(grpc_if_nametoindex_unsupported.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iocp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_posix_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(iomgr_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_set_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(pollset_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(resolve_address_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_utils_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(socket_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_cfstream.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_client_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_utils_posix_noifaddrs.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_server_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(tcp_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(unix_sockets_posix_noop.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(wakeup_fd_eventfd.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(check_gcp_environment_windows.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(load_system_roots_linux.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(slice_refcount.cc.o) has no symbols
  /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgrpc.a(ssl_session_boringssl.cc.o) has no symbols


  error occurred: Command "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-I" "grpc/include" "-std=c++11" "-DGRPC_SYS_SECURE" "-Werror" "-o" "/Volumes/SSD/tiflash/contrib/tiflash-proxy/target/x86_64-apple-darwin/debug/build/grpcio-sys-5e6c743aa722a862/out/grpc_wrap.o" "-c" "grpc_wrap.cc" with args "c++" did not execute successfully (status code exit status: 1).


make[1]: *** [build] Error 101
make: *** [debug] Error 2

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the clang/gcc version you are using?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc -v
Apple clang version 14.0.0 (clang-1400.0.29.102)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please check golang/go#38876?

@ti-chi-bot
Copy link
Member

@mischaZhang: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants