pingcap / tiflash

The analytical engine for TiDB and TiDB Cloud. Try free: https://tidbcloud.com/free-trial
https://docs.pingcap.com/tidb/stable/tiflash-overview
Apache License 2.0
946 stars 409 forks source link

Compile bench fail #6721

Closed xzhangxian1008 closed 1 year ago

xzhangxian1008 commented 1 year ago

Enhancement

Lloyd-Pottiger commented 1 year ago
FAILED: dbms/CMakeFiles/bench_dbms.dir/src/Storages/Transaction/tests/bench_region_block_reader.cpp.o 
/data1/qiuyang/projects/tiflash-env/sysroot/bin/ccache /data1/qiuyang/projects/tiflash-env/sysroot/bin/clang++ -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=10 -DAWS_SDK_VERSION_PATCH=36 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_CONTEXT_EXPORT="" -DBOOST_CONTEXT_NO_LIB -DBOOST_CONTEXT_STATIC_LINK -DBOOST_FIBER_NO_LIB -DBOOST_FIBER_STATIC_LINK -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_SYSTEM_NO_DEPRECATED -DCARES_STATICLIB -DDBMS_PUBLIC_GTEST -DGTEST_HAS_POSIX_RE=0 -DLZ4_DISABLE_DEPRECATE_WARNINGS=1 -DMULTIPLE_CONTEXT_GTEST -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DSTACK_LINE_READER_BUFFER_SIZE=1024 -DTIFLASH_COMPILER_VPCLMULQDQ_SUPPORT=1 -DTIFLASH_ENABLE_AVX512_SUPPORT=1 -DTIFLASH_ENABLE_AVX_SUPPORT=1 -DTIFLASH_SOURCE_PREFIX=\"/data1/qiuyang/projects/tiflash\" -I/data1/qiuyang/projects/tiflash/contrib/libsparsehash -I/data1/qiuyang/projects/tiflash/contrib/benchmark/include -I/data1/qiuyang/projects/tiflash/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/tiflash-proxy/raftstore-proxy/ffi/src -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/double-conversion -I/data1/qiuyang/projects/tiflash/contrib/boost -I/data1/qiuyang/projects/tiflash/contrib/xxHash -I/data1/qiuyang/projects/tiflash/contrib/libpcg-random/include -I/data1/qiuyang/projects/tiflash/contrib/libcityhash/include -I/data1/qiuyang/projects/tiflash/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/libs/libpocoext/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Data/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Foundation/include -I/data1/qiuyang/projects/tiflash/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/contrib/poco/Util/include -I/data1/qiuyang/projects/tiflash/contrib/poco/XML/include -I/data1/qiuyang/projects/tiflash/contrib/poco/JSON/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Net/include -I/data1/qiuyang/projects/tiflash/contrib/cctz/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc-cmake/include -I/data1/qiuyang/projects/tiflash/contrib/cpu_features/include -I/data1/qiuyang/projects/tiflash/contrib/libcpuid/include -I/data1/qiuyang/projects/tiflash/contrib/lz4/lib -I/data1/qiuyang/projects/tiflash/contrib/zstd/lib -I/data1/qiuyang/projects/tiflash/contrib/client-c/third_party/libfiu/libfiu -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/core/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/core/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/push/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/push/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/pull/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/pull/include -I/data1/qiuyang/projects/tiflash/contrib/cpptoml -I/data1/qiuyang/projects/tiflash/contrib/magic_enum/include -I/data1/qiuyang/projects/tiflash/contrib/poco/NetSSL_OpenSSL/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Crypto/include -I/data1/qiuyang/projects/tiflash-env/sysroot/include -I/data1/qiuyang/projects/tiflash/contrib/xxHash/cmake_unofficial/.. -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp/kvproto -I/data1/qiuyang/projects/tiflash/contrib/grpc/include -I/data1/qiuyang/projects/tiflash/contrib/abseil-cpp -I/data1/qiuyang/projects/tiflash/contrib/client-c/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/tipb/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src/Storages/DeltaMerge/File/dtpb -I/data1/qiuyang/projects/tiflash/contrib/libbtrie/include -I/data1/qiuyang/projects/tiflash/contrib/benchmark/src/../include -I/data1/qiuyang/projects/tiflash/contrib/libdivide -I/data1/qiuyang/projects/tiflash/contrib/libmetrohash/src -I/data1/qiuyang/projects/tiflash/contrib/libfarmhash -I/data1/qiuyang/projects/tiflash/libs/libdaemon/include -I/data1/qiuyang/projects/tiflash/contrib/libunwind/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest -isystem /data1/qiuyang/projects/tiflash/contrib/fmtlib-cmake/../fmtlib/include -isystem /data1/qiuyang/projects/tiflash/libs/libsymbolization/include -isystem /data1/qiuyang/projects/tiflash/contrib/protobuf/src -isystem /data1/qiuyang/projects/tiflash/contrib/re2 -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/re2-cmake -isystem /data1/qiuyang/projects/tiflash/contrib/aws/src/aws-cpp-sdk-core/include -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/aws-cmake/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws/generated/src/aws-cpp-sdk-s3/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-auth/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-common/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-io/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-crt-cpp/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-mqtt/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-sdkutils/include -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt  -fno-omit-frame-pointer  -Wall -Wno-unused-command-line-argument  -Wnon-virtual-dtor  -stdlib=libc++ -Wextra -Werror -O2 -g -DNDEBUG -O3  -pthread -fPIC -DDUMMY_BACKTRACE -std=gnu++17 -MD -MT dbms/CMakeFiles/bench_dbms.dir/src/Storages/Transaction/tests/bench_region_block_reader.cpp.o -MF dbms/CMakeFiles/bench_dbms.dir/src/Storages/Transaction/tests/bench_region_block_reader.cpp.o.d -o dbms/CMakeFiles/bench_dbms.dir/src/Storages/Transaction/tests/bench_region_block_reader.cpp.o -c /data1/qiuyang/projects/tiflash/dbms/src/Storages/Transaction/tests/bench_region_block_reader.cpp
/data1/qiuyang/projects/tiflash/dbms/src/Storages/Transaction/tests/bench_region_block_reader.cpp:77:17: error: use of undeclared identifier 'EncodeDatum'
                EncodeDatum(pk_fields[i], table_info.columns[idx].getCodecFlag(), pk_buf);
                ^
/data1/qiuyang/projects/tiflash/dbms/src/Storages/Transaction/tests/bench_region_block_reader.cpp:82:17: error: no member named 'EncodeInt64' in namespace 'DB'
            DB::EncodeInt64(handle_value, pk_buf);
            ~~~~^
2 errors generated.
[1419/1738] Building CXX object dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_exchange.cpp.o
FAILED: dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_exchange.cpp.o 
/data1/qiuyang/projects/tiflash-env/sysroot/bin/ccache /data1/qiuyang/projects/tiflash-env/sysroot/bin/clang++ -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=10 -DAWS_SDK_VERSION_PATCH=36 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_CONTEXT_EXPORT="" -DBOOST_CONTEXT_NO_LIB -DBOOST_CONTEXT_STATIC_LINK -DBOOST_FIBER_NO_LIB -DBOOST_FIBER_STATIC_LINK -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_SYSTEM_NO_DEPRECATED -DCARES_STATICLIB -DDBMS_PUBLIC_GTEST -DGTEST_HAS_POSIX_RE=0 -DLZ4_DISABLE_DEPRECATE_WARNINGS=1 -DMULTIPLE_CONTEXT_GTEST -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DSTACK_LINE_READER_BUFFER_SIZE=1024 -DTIFLASH_COMPILER_VPCLMULQDQ_SUPPORT=1 -DTIFLASH_ENABLE_AVX512_SUPPORT=1 -DTIFLASH_ENABLE_AVX_SUPPORT=1 -DTIFLASH_SOURCE_PREFIX=\"/data1/qiuyang/projects/tiflash\" -I/data1/qiuyang/projects/tiflash/contrib/libsparsehash -I/data1/qiuyang/projects/tiflash/contrib/benchmark/include -I/data1/qiuyang/projects/tiflash/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/tiflash-proxy/raftstore-proxy/ffi/src -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/double-conversion -I/data1/qiuyang/projects/tiflash/contrib/boost -I/data1/qiuyang/projects/tiflash/contrib/xxHash -I/data1/qiuyang/projects/tiflash/contrib/libpcg-random/include -I/data1/qiuyang/projects/tiflash/contrib/libcityhash/include -I/data1/qiuyang/projects/tiflash/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/libs/libpocoext/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Data/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Foundation/include -I/data1/qiuyang/projects/tiflash/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/contrib/poco/Util/include -I/data1/qiuyang/projects/tiflash/contrib/poco/XML/include -I/data1/qiuyang/projects/tiflash/contrib/poco/JSON/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Net/include -I/data1/qiuyang/projects/tiflash/contrib/cctz/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc-cmake/include -I/data1/qiuyang/projects/tiflash/contrib/cpu_features/include -I/data1/qiuyang/projects/tiflash/contrib/libcpuid/include -I/data1/qiuyang/projects/tiflash/contrib/lz4/lib -I/data1/qiuyang/projects/tiflash/contrib/zstd/lib -I/data1/qiuyang/projects/tiflash/contrib/client-c/third_party/libfiu/libfiu -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/core/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/core/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/push/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/push/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/pull/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/pull/include -I/data1/qiuyang/projects/tiflash/contrib/cpptoml -I/data1/qiuyang/projects/tiflash/contrib/magic_enum/include -I/data1/qiuyang/projects/tiflash/contrib/poco/NetSSL_OpenSSL/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Crypto/include -I/data1/qiuyang/projects/tiflash-env/sysroot/include -I/data1/qiuyang/projects/tiflash/contrib/xxHash/cmake_unofficial/.. -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp/kvproto -I/data1/qiuyang/projects/tiflash/contrib/grpc/include -I/data1/qiuyang/projects/tiflash/contrib/abseil-cpp -I/data1/qiuyang/projects/tiflash/contrib/client-c/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/tipb/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src/Storages/DeltaMerge/File/dtpb -I/data1/qiuyang/projects/tiflash/contrib/libbtrie/include -I/data1/qiuyang/projects/tiflash/contrib/benchmark/src/../include -I/data1/qiuyang/projects/tiflash/contrib/libdivide -I/data1/qiuyang/projects/tiflash/contrib/libmetrohash/src -I/data1/qiuyang/projects/tiflash/contrib/libfarmhash -I/data1/qiuyang/projects/tiflash/libs/libdaemon/include -I/data1/qiuyang/projects/tiflash/contrib/libunwind/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest -isystem /data1/qiuyang/projects/tiflash/contrib/fmtlib-cmake/../fmtlib/include -isystem /data1/qiuyang/projects/tiflash/libs/libsymbolization/include -isystem /data1/qiuyang/projects/tiflash/contrib/protobuf/src -isystem /data1/qiuyang/projects/tiflash/contrib/re2 -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/re2-cmake -isystem /data1/qiuyang/projects/tiflash/contrib/aws/src/aws-cpp-sdk-core/include -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/aws-cmake/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws/generated/src/aws-cpp-sdk-s3/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-auth/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-common/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-io/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-crt-cpp/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-mqtt/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-sdkutils/include -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt  -fno-omit-frame-pointer  -Wall -Wno-unused-command-line-argument  -Wnon-virtual-dtor  -stdlib=libc++ -Wextra -Werror -O2 -g -DNDEBUG -O3  -pthread -fPIC -DDUMMY_BACKTRACE -std=gnu++17 -MD -MT dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_exchange.cpp.o -MF dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_exchange.cpp.o.d -o dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_exchange.cpp.o -c /data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.cpp
In file included from /data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.cpp:15:
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.h:78:17: error: value of type 'DB::MPMCQueue<std::shared_ptr<mpp::MPPDataPacket>>::Result' (aka 'DB::MPMCQueueResult') is not contextually convertible to 'bool'
            if (queue->pop(res))
                ^~~~~~~~~~~~~~~
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.h:175:20: error: no template named 'MPPTunnelBase'; did you mean 'MPPTunnelSetBase'?
using MockTunnel = MPPTunnelBase<MockWriter>;
                   ^~~~~~~~~~~~~
                   MPPTunnelSetBase
/data1/qiuyang/projects/tiflash/dbms/src/Flash/Mpp/MPPTunnelSet.h:26:7: note: 'MPPTunnelSetBase' declared here
class MPPTunnelSetBase : private boost::noncopyable
      ^
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.cpp:20:10: fatal error: 'Flash/Mpp/HashParitionWriter.cpp' file not found
#include <Flash/Mpp/HashParitionWriter.cpp> // to include the implementation of HashParitionWriter
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
[1428/1738] Building CXX object dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_window.cpp.o
FAILED: dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_window.cpp.o 
/data1/qiuyang/projects/tiflash-env/sysroot/bin/ccache /data1/qiuyang/projects/tiflash-env/sysroot/bin/clang++ -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=10 -DAWS_SDK_VERSION_PATCH=36 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_CONTEXT_EXPORT="" -DBOOST_CONTEXT_NO_LIB -DBOOST_CONTEXT_STATIC_LINK -DBOOST_FIBER_NO_LIB -DBOOST_FIBER_STATIC_LINK -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_SYSTEM_NO_DEPRECATED -DCARES_STATICLIB -DDBMS_PUBLIC_GTEST -DGTEST_HAS_POSIX_RE=0 -DLZ4_DISABLE_DEPRECATE_WARNINGS=1 -DMULTIPLE_CONTEXT_GTEST -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DSTACK_LINE_READER_BUFFER_SIZE=1024 -DTIFLASH_COMPILER_VPCLMULQDQ_SUPPORT=1 -DTIFLASH_ENABLE_AVX512_SUPPORT=1 -DTIFLASH_ENABLE_AVX_SUPPORT=1 -DTIFLASH_SOURCE_PREFIX=\"/data1/qiuyang/projects/tiflash\" -I/data1/qiuyang/projects/tiflash/contrib/libsparsehash -I/data1/qiuyang/projects/tiflash/contrib/benchmark/include -I/data1/qiuyang/projects/tiflash/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/tiflash-proxy/raftstore-proxy/ffi/src -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src -I/data1/qiuyang/projects/tiflash/contrib/double-conversion -I/data1/qiuyang/projects/tiflash/contrib/boost -I/data1/qiuyang/projects/tiflash/contrib/xxHash -I/data1/qiuyang/projects/tiflash/contrib/libpcg-random/include -I/data1/qiuyang/projects/tiflash/contrib/libcityhash/include -I/data1/qiuyang/projects/tiflash/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/libs/libcommon/include -I/data1/qiuyang/projects/tiflash/libs/libpocoext/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Data/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Foundation/include -I/data1/qiuyang/projects/tiflash/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/zlib-ng -I/data1/qiuyang/projects/tiflash/contrib/poco/Util/include -I/data1/qiuyang/projects/tiflash/contrib/poco/XML/include -I/data1/qiuyang/projects/tiflash/contrib/poco/JSON/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Net/include -I/data1/qiuyang/projects/tiflash/contrib/cctz/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc/include -I/data1/qiuyang/projects/tiflash/contrib/jemalloc-cmake/include -I/data1/qiuyang/projects/tiflash/contrib/cpu_features/include -I/data1/qiuyang/projects/tiflash/contrib/libcpuid/include -I/data1/qiuyang/projects/tiflash/contrib/lz4/lib -I/data1/qiuyang/projects/tiflash/contrib/zstd/lib -I/data1/qiuyang/projects/tiflash/contrib/client-c/third_party/libfiu/libfiu -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/core/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/core/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/push/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/push/include -I/data1/qiuyang/projects/tiflash/contrib/prometheus-cpp/pull/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/prometheus-cpp-cmake/pull/include -I/data1/qiuyang/projects/tiflash/contrib/cpptoml -I/data1/qiuyang/projects/tiflash/contrib/magic_enum/include -I/data1/qiuyang/projects/tiflash/contrib/poco/NetSSL_OpenSSL/include -I/data1/qiuyang/projects/tiflash/contrib/poco/Crypto/include -I/data1/qiuyang/projects/tiflash-env/sysroot/include -I/data1/qiuyang/projects/tiflash/contrib/xxHash/cmake_unofficial/.. -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/kvproto/cpp/kvproto -I/data1/qiuyang/projects/tiflash/contrib/grpc/include -I/data1/qiuyang/projects/tiflash/contrib/abseil-cpp -I/data1/qiuyang/projects/tiflash/contrib/client-c/include -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/contrib/grpc/third_party/cares/cares -I/data1/qiuyang/projects/tiflash/cmake-build-release/contrib/tipb/cpp -I/data1/qiuyang/projects/tiflash/cmake-build-release/dbms/src/Storages/DeltaMerge/File/dtpb -I/data1/qiuyang/projects/tiflash/contrib/libbtrie/include -I/data1/qiuyang/projects/tiflash/contrib/benchmark/src/../include -I/data1/qiuyang/projects/tiflash/contrib/libdivide -I/data1/qiuyang/projects/tiflash/contrib/libmetrohash/src -I/data1/qiuyang/projects/tiflash/contrib/libfarmhash -I/data1/qiuyang/projects/tiflash/libs/libdaemon/include -I/data1/qiuyang/projects/tiflash/contrib/libunwind/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest/include -isystem /data1/qiuyang/projects/tiflash/contrib/googletest/googletest -isystem /data1/qiuyang/projects/tiflash/contrib/fmtlib-cmake/../fmtlib/include -isystem /data1/qiuyang/projects/tiflash/libs/libsymbolization/include -isystem /data1/qiuyang/projects/tiflash/contrib/protobuf/src -isystem /data1/qiuyang/projects/tiflash/contrib/re2 -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/re2-cmake -isystem /data1/qiuyang/projects/tiflash/contrib/aws/src/aws-cpp-sdk-core/include -isystem /data1/qiuyang/projects/tiflash/cmake-build-release/contrib/aws-cmake/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws/generated/src/aws-cpp-sdk-s3/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-auth/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-common/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-io/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-crt-cpp/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-mqtt/include -isystem /data1/qiuyang/projects/tiflash/contrib/aws-c-sdkutils/include -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt  -fno-omit-frame-pointer  -Wall -Wno-unused-command-line-argument  -Wnon-virtual-dtor  -stdlib=libc++ -Wextra -Werror -O2 -g -DNDEBUG -O3  -pthread -fPIC -DDUMMY_BACKTRACE -std=gnu++17 -MD -MT dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_window.cpp.o -MF dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_window.cpp.o.d -o dbms/CMakeFiles/bench_dbms.dir/src/Flash/tests/bench_window.cpp.o -c /data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_window.cpp
In file included from /data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_window.cpp:15:
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.h:78:17: error: value of type 'DB::MPMCQueue<std::shared_ptr<mpp::MPPDataPacket>>::Result' (aka 'DB::MPMCQueueResult') is not contextually convertible to 'bool'
            if (queue->pop(res))
                ^~~~~~~~~~~~~~~
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_exchange.h:175:20: error: no template named 'MPPTunnelBase'; did you mean 'MPPTunnelSetBase'?
using MockTunnel = MPPTunnelBase<MockWriter>;
                   ^~~~~~~~~~~~~
                   MPPTunnelSetBase
/data1/qiuyang/projects/tiflash/dbms/src/Flash/Mpp/MPPTunnelSet.h:26:7: note: 'MPPTunnelSetBase' declared here
class MPPTunnelSetBase : private boost::noncopyable
      ^
/data1/qiuyang/projects/tiflash/dbms/src/Flash/tests/bench_window.cpp:42:14: error: no matching member function for call to 'mockTable'
            .mockTable("test", "t1", 0 /*table_id=*/, columns)
            ~^~~~~~~~~
/data1/qiuyang/projects/tiflash/dbms/src/TestUtils/mockExecutor.h:88:25: note: candidate function not viable: no known conversion from 'int' to 'DB::TableInfo &' (aka 'TiDB::TableInfo &') for 3rd argument
    DAGRequestBuilder & mockTable(const String & db, const String & table, TableInfo & table_info, const MockColumnInfoVec & columns);
                        ^
/data1/qiuyang/projects/tiflash/dbms/src/TestUtils/mockExecutor.h:89:25: note: candidate function not viable: requires 3 arguments, but 4 were provided
    DAGRequestBuilder & mockTable(const MockTableName & name, TableInfo & table_info, const MockColumnInfoVec & columns);
                        ^
3 errors generated.
[1442/1738] Building CXX object dbms/CMakeFiles/bench_dbms.dir/src/Functions/tests/bench_function_least.cpp.o
ninja: build stopped: subcommand failed.
Lloyd-Pottiger commented 1 year ago

/assign @ywqzzy