leveldb-sys 2.0.9

FFI bindings to LevelDB
Documentation
Build #1777490 2025-02-19T02:42:49.754292+00:00
# rustc version
rustc 1.87.0-nightly (827a0d638 2025-02-18)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/leveldb-sys-2.0.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/leveldb-sys-2.0.9/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250218-1.87.0-nightly-827a0d638\", \"--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] e9c250049214ed15147a656775358ee327d1a0ea3bcd1749fbb519e6f38f8c07
[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" "e9c250049214ed15147a656775358ee327d1a0ea3bcd1749fbb519e6f38f8c07", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling leveldb-sys v2.0.9 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `leveldb-sys v2.0.9 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/leveldb-sys-097b057b0a0b714f/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   [build] Started
[INFO] [stderr]   [leveldb] Building
[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/leveldb-sys-8fc6b7f7419953a2/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "cmake" "/opt/rustwide/workdir/deps/leveldb-1.22" "-DLEVELDB_BUILD_TESTS=OFF" "-DLEVELDB_BUILD_BENCHMARKS=OFF" "-DCMAKE_INSTALL_LIBDIR=/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/out/lib" "-DHAVE_SNAPPY=OFF" "-DCMAKE_SYSTEM_NAME=Linux" "-DCMAKE_SYSTEM_PROCESSOR=x86" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/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/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr]   See also "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeError.log".
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[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/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]       
[INFO] [stderr]       Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f67cf/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_f67cf.dir/build.make CMakeFiles/cmTC_f67cf.dir/build
[INFO] [stderr]       gmake[1]: Entering directory '/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       Building CXX object CMakeFiles/cmTC_f67cf.dir/testCXXCompiler.cxx.o
[INFO] [stderr]       /usr/bin/x86_64-linux-gnu-g++   -ffunction-sections -fdata-sections -fPIC -m32 -march=i686  -o CMakeFiles/cmTC_f67cf.dir/testCXXCompiler.cxx.o -c /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
[INFO] [stderr]       Linking CXX executable cmTC_f67cf
[INFO] [stderr]       /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f67cf.dir/link.txt --verbose=1
[INFO] [stderr]       /usr/bin/x86_64-linux-gnu-g++  -ffunction-sections -fdata-sections -fPIC -m32 -march=i686  CMakeFiles/cmTC_f67cf.dir/testCXXCompiler.cxx.o -o cmTC_f67cf 
[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_f67cf.dir/build.make:99: cmTC_f67cf] Error 1
[INFO] [stderr]       gmake[1]: Leaving directory '/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/leveldb-sys-8fc6b7f7419953a2/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       gmake: *** [Makefile:127: cmTC_f67cf/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:7 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119: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" "e9c250049214ed15147a656775358ee327d1a0ea3bcd1749fbb519e6f38f8c07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9c250049214ed15147a656775358ee327d1a0ea3bcd1749fbb519e6f38f8c07", kill_on_drop: false }`
[INFO] [stdout] e9c250049214ed15147a656775358ee327d1a0ea3bcd1749fbb519e6f38f8c07