rdkafka-sys 4.8.0+2.3.0

Native bindings to the librdkafka library
Documentation
Build #1562826 2024-11-24T23:50:42.875304+00:00
# rustc version
rustc 1.85.0-nightly (a47555110 2024-11-22)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rdkafka-sys-4.8.0+2.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rdkafka-sys-4.8.0+2.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "cmake_build" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241122-1.85.0-nightly-a47555110\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] e8999b3b54e7b0a3e4d25a62aff6f1b73562ed7bfd5803484a72400ffadc1918
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e8999b3b54e7b0a3e4d25a62aff6f1b73562ed7bfd5803484a72400ffadc1918", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling rdkafka-sys v4.8.0+2.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `rdkafka-sys v4.8.0+2.3.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rdkafka-sys-9ca2aecb3dc581a5/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   Configuring and compiling librdkafka
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_GENERATOR_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_GENERATOR_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE = None
[INFO] [stderr]   CMAKE = None
[INFO] [stderr]   running: cd "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build" && CMAKE_PREFIX_PATH="/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/libz-sys-a593a6cb4b318830/out:" "cmake" "/opt/rustwide/workdir/librdkafka" "-DRDKAFKA_BUILD_STATIC=1" "-DRDKAFKA_BUILD_TESTS=0" "-DRDKAFKA_BUILD_EXAMPLES=0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DWITH_ZLIB=1" "-DWITH_CURL=0" "-DWITH_SSL=0" "-DWITH_SASL=0" "-DWITH_ZSTD=0" "-DENABLE_LZ4_EXT=0" "-DCMAKE_SYSTEM_NAME=Linux" "-DCMAKE_SYSTEM_PROCESSOR=x86" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_C_COMPILER=/usr/bin/x86_64-linux-gnu-gcc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_CXX_COMPILER=/usr/bin/x86_64-linux-gnu-g++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_ASM_COMPILER=/usr/bin/x86_64-linux-gnu-gcc" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- The CXX compiler identification is GNU 11.4.0
[INFO] [stderr]   -- Detecting CXX compiler ABI info
[INFO] [stderr]   -- Detecting CXX compiler ABI info - failed
[INFO] [stderr]   -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++
[INFO] [stderr]   -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ - broken
[INFO] [stderr]   -- Configuring incomplete, errors occurred!
[INFO] [stderr]   See also "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr]   See also "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeError.log".
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   Building and linking librdkafka statically
[INFO] [stderr]   CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
[INFO] [stderr]     The C++ compiler
[INFO] [stderr] 
[INFO] [stderr]       "/usr/bin/x86_64-linux-gnu-g++"
[INFO] [stderr] 
[INFO] [stderr]     is not able to compile a simple test program.
[INFO] [stderr] 
[INFO] [stderr]     It fails with the following output:
[INFO] [stderr] 
[INFO] [stderr]       Change Dir: /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]       
[INFO] [stderr]       Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a520d/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_a520d.dir/build.make CMakeFiles/cmTC_a520d.dir/build
[INFO] [stderr]       gmake[1]: Entering directory '/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       Building CXX object CMakeFiles/cmTC_a520d.dir/testCXXCompiler.cxx.o
[INFO] [stderr]       /usr/bin/x86_64-linux-gnu-g++   -ffunction-sections -fdata-sections -fPIC -m32 -march=i686  -o CMakeFiles/cmTC_a520d.dir/testCXXCompiler.cxx.o -c /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
[INFO] [stderr]       Linking CXX executable cmTC_a520d
[INFO] [stderr]       /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a520d.dir/link.txt --verbose=1
[INFO] [stderr]       /usr/bin/x86_64-linux-gnu-g++  -ffunction-sections -fdata-sections -fPIC -m32 -march=i686  -rdynamic CMakeFiles/cmTC_a520d.dir/testCXXCompiler.cxx.o -o cmTC_a520d 
[INFO] [stderr]       /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.so when searching for -lstdc++
[INFO] [stderr]       /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a when searching for -lstdc++
[INFO] [stderr]       /usr/bin/ld: cannot find -lstdc++: No such file or directory
[INFO] [stderr]       /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.so when searching for -lstdc++
[INFO] [stderr]       collect2: error: ld returned 1 exit status
[INFO] [stderr]       gmake[1]: *** [CMakeFiles/cmTC_a520d.dir/build.make:99: cmTC_a520d] Error 1
[INFO] [stderr]       gmake[1]: Leaving directory '/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/rdkafka-sys-a0daa720706ac04a/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       gmake: *** [Makefile:127: cmTC_a520d/fast] Error 2
[INFO] [stderr]       
[INFO] [stderr]       
[INFO] [stderr] 
[INFO] [stderr]     
[INFO] [stderr] 
[INFO] [stderr]     CMake will not be able to correctly generate this project.
[INFO] [stderr]   Call Stack (most recent call first):
[INFO] [stderr]     CMakeLists.txt:6 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.51/src/lib.rs:1100:5:
[INFO] [stderr] 
[INFO] [stderr]   command did not execute successfully, got: exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   build script failed, must exit now
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "e8999b3b54e7b0a3e4d25a62aff6f1b73562ed7bfd5803484a72400ffadc1918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8999b3b54e7b0a3e4d25a62aff6f1b73562ed7bfd5803484a72400ffadc1918", kill_on_drop: false }`
[INFO] [stdout] e8999b3b54e7b0a3e4d25a62aff6f1b73562ed7bfd5803484a72400ffadc1918