cargo build 失败了

弹出了下面的错误 能否帮忙看下 F:\tikv>cargo build Compiling openssl-sys v0.9.49 Compiling serde_json v1.0.40 Compiling futures-util v0.3.1 Compiling uuid v0.7.4 Compiling serde_urlencoded v0.5.5 Compiling toml v0.4.10 Compiling ipnetwork v0.15.1 Compiling bstr v0.2.8 Compiling crossbeam-deque v0.7.1 Compiling darling v0.10.1 Compiling tokio-reactor v0.1.9 Compiling nom v5.0.1 Compiling protobuf-build v0.10.0 Compiling clang-sys v0.28.1 Compiling chrono-tz v0.5.1 Compiling backtrace v0.3.37 Compiling flate2 v1.0.11 Compiling libtitan_sys v0.0.1 (https://github.com/pingcap/rust-rocksdb.git#d10a04ff) Compiling snappy-sys v0.1.0 (https://github.com/busyjay/rust-snappy.git?branch=static-link#8c12738b) Compiling h2 v0.1.26 Compiling cache-size v0.4.0 Compiling pnet_datalink v0.23.0 Compiling futures-executor v0.3.1 Compiling tokio-threadpool v0.1.15 Compiling crossbeam v0.7.2 Compiling rayon-core v1.6.0 Compiling tidb_query_codegen v0.0.1 (F:\tikv\components\tidb_query_codegen) Compiling tokio-udp v0.1.5 Compiling tokio-tcp v0.1.3 Compiling raft-proto v0.6.0-alpha (https://github.com/pingcap/raft-rs#24327816) Compiling kvproto v0.0.2 (https://github.com/pingcap/kvproto.git#70550110) Compiling tipb v0.0.1 (https://github.com/pingcap/tipb.git#44f75c9b) Compiling bindgen v0.51.1 error: failed to run custom build command for libtitan_sys v0.0.1 (https://github.com/pingcap/rust-rocksdb.git#d10a04ff)

Caused by: process didn’t exit successfully: F:\tikv\target\debug\build\libtitan_sys-65e6649eb96caedd\build-script-build (exit code: 101) — stdout running: “cmake” “-Wdev” “–debug-output” “D:\software\rust\cargo\git\checkouts\rust-rocksdb-82ef6e5337b3fbe6\d10a04f\librocksdb_sys\libtitan_sys\titan” “-G” “Visual Studio 14 2015” “-Thost=x64” “-Ax64” “-DROCKSDB_DIR=D:\software\rust\cargo\git\checkouts\rust-rocksdb-82ef6e5337b3fbe6\d10a04f\librocksdb_sys\libtitan_sys\…\rocksdb” “-DWITH_TITAN_TESTS=OFF” “-DWITH_TITAN_TOOLS=OFF” “-DWITH_ZLIB=ON” “-DWITH_BZ2=ON” “-DWITH_LZ4=ON” “-DWITH_ZSTD=ON” “-DWITH_SNAPPY=ON” “-DWITH_TITAN_TESTS=OFF” “-DWITH_TITAN_TOOLS=OFF” “-DCMAKE_INSTALL_PREFIX=F:\tikv\target\debug\build\libtitan_sys-68ab5f07e4358b34\out” “-DCMAKE_C_FLAGS= -nologo -MD -Brepro” “-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro” “-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro” “-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro” “-DCMAKE_BUILD_TYPE=Debug” “-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON” Running with debug output on. – The C compiler identification is MSVC 19.0.24210.0 Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerId.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – The CXX compiler identification is MSVC 19.0.24210.0 Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerId.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCompilerCommon.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe - works Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCompilerCommon.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting C compiler ABI info Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting C compiler ABI info - done Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting C compile features Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting C compile features - done Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCompilerCommon.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe - works Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCompilerCommon.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting CXX compiler ABI info Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting CXX compiler ABI info - done Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting CXX compile features Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Detecting CXX compile features - done Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found Git: C:/Program Files/Git/bin/git.exe (found version “2.15.1.windows.2”) Called from: [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [3] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/FindGit.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found snappy: F:/tikv/target/debug/build/snappy-sys-beebf5a7de169deb/out/build/Debug/snappy.lib Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [3] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/rocksdb/cmake/modules/Findsnappy.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found bzip2: F:/tikv/target/debug/build/bzip2-sys-ad0a4faf5231db74/out/lib/bz2.lib Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [3] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/rocksdb/cmake/modules/Findbzip2.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found lz4: F:/tikv/target/debug/build/lz4-sys-6ef65cbf8723ada9/out/lz4.lib Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [3] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/rocksdb/cmake/modules/Findlz4.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found ZLIB: F:/tikv/target/debug/build/libz-sys-ca68306b273645e8/out/build/z.lib (found version “1.2.11”) Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [3] D:/software/Cmake/share/cmake-3.17/Modules/FindZLIB.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Found zstd: F:/tikv/target/debug/build/zstd-sys-972e59c9372c2bf7/out/zstd.lib Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageMessage.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake [3] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/rocksdb/cmake/modules/Findzstd.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Performing Test HAVE_SSE42 Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt – Configuring incomplete, errors occurred! See also “F:/tikv/target/debug/build/libtitan_sys-68ab5f07e4358b34/out/build/CMakeFiles/CMakeOutput.log”.

— stderr CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:44 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:44 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompilerABI.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/Internal/FeatureTesting.cmake:33 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/Compiler/MSVC-CXX.cmake:67 (_record_compiler_features) D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features) D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/Internal/FeatureTesting.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/Compiler/MSVC-CXX.cmake [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/Internal/FeatureTesting.cmake:33 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): D:/software/Cmake/share/cmake-3.17/Modules/Compiler/MSVC-CXX.cmake:67 (_record_compiler_features) D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features) D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [5] D:/software/Cmake/share/cmake-3.17/Modules/Internal/FeatureTesting.cmake [4] D:/software/Cmake/share/cmake-3.17/Modules/Compiler/MSVC-CXX.cmake [3] D:/software/Cmake/share/cmake-3.17/Modules/CMakeDetermineCompileFeatures.cmake [2] D:/software/Cmake/share/cmake-3.17/Modules/CMakeTestCXXCompiler.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake:110 (try_compile): Policy CMP0066 is not set: Honor per-config flags in try_compile() source-file signature. Run “cmake --help-policy CMP0066” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the test project. Call Stack (most recent call first): cmake/rocksdb_flags.cmake:110 (CHECK_CXX_SOURCE_COMPILES) CMakeLists.txt:31 (include) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Warning (dev) at D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake:110 (try_compile): Policy CMP0056 is not set: Honor link flags in try_compile() source-file signature. Run “cmake --help-policy CMP0056” for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility with older versions of CMake, try_compile is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project. Call Stack (most recent call first): cmake/rocksdb_flags.cmake:110 (CHECK_CXX_SOURCE_COMPILES) CMakeLists.txt:31 (include) This warning is for project developers. Use -Wno-dev to suppress it.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Error at F:/tikv/target/debug/build/libtitan_sys-68ab5f07e4358b34/out/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (set): Syntax error in cmake code at

F:/tikv/target/debug/build/libtitan_sys-68ab5f07e4358b34/out/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2

when parsing string

D:\software\rust\cargo\git\checkouts\rust-rocksdb-82ef6e5337b3fbe6\d10a04f\librocksdb_sys\libtitan_sys\..\rocksdb/cmake/modules/

Invalid character escape ‘\s’.

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt CMake Error at D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake:110 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): cmake/rocksdb_flags.cmake:110 (CHECK_CXX_SOURCE_COMPILES) CMakeLists.txt:31 (include)

Called from: [3] D:/software/Cmake/share/cmake-3.17/Modules/CheckCXXSourceCompiles.cmake [2] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/cmake/rocksdb_flags.cmake [1] D:/software/rust/cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/d10a04f/librocksdb_sys/libtitan_sys/titan/CMakeLists.txt thread ‘main’ panicked at ’ command did not execute successfully, got: exit code: 1

build script failed, must exit now’, D:\software\rust\cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\cmake-0.1.42\src\lib.rs:861:5 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish… error: build failed