liblmdb-sys 0.2.2

LMDB native lib
Documentation
Build #1417572 2024-10-26T11:11:25.228587+00:00
# rustc version
rustc 1.84.0-nightly (c1db4dc24 2024-10-25)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/liblmdb-sys-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/liblmdb-sys-0.2.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241025-1.84.0-nightly-c1db4dc24\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] f10e3913d8c7ecea504afe1411c433ead79d4d8cb10836783c03ad09b6f41cfb
[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" "f10e3913d8c7ecea504afe1411c433ead79d4d8cb10836783c03ad09b6f41cfb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stderr]  --> build.rs:6:27
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut config = gcc::Config::new();
[INFO] [stderr]   |                           ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stderr]  --> build.rs:6:35
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut config = gcc::Config::new();
[INFO] [stderr]   |                                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `liblmdb-sys` (build script) generated 2 warnings
[INFO] [stderr]    Compiling liblmdb-sys v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: liblmdb-sys@0.2.2: mdb/libraries/liblmdb/mdb.c: In function 'mdb_env_get_maxkeysize':
[INFO] [stderr] warning: liblmdb-sys@0.2.2: mdb/libraries/liblmdb/mdb.c:9821:33: warning: unused parameter 'env' [-Wunused-parameter]
[INFO] [stderr] warning: liblmdb-sys@0.2.2:  9821 | mdb_env_get_maxkeysize(MDB_env *env)
[INFO] [stderr] warning: liblmdb-sys@0.2.2:       |                        ~~~~~~~~~^~~
[INFO] [stderr] warning: liblmdb-sys@0.2.2: mdb/libraries/liblmdb/mdb.c: In function 'mdb_cursor_put':
[INFO] [stderr] warning: liblmdb-sys@0.2.2: mdb/libraries/liblmdb/mdb.c:6535:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: liblmdb-sys@0.2.2:  6535 |                                         if (SIZELEFT(fp) < offset) {
[INFO] [stderr] warning: liblmdb-sys@0.2.2:       |                                            ^
[INFO] [stderr] warning: liblmdb-sys@0.2.2: mdb/libraries/liblmdb/mdb.c:6540:33: note: here
[INFO] [stderr] warning: liblmdb-sys@0.2.2:  6540 |                                 case MDB_CURRENT:
[INFO] [stderr] warning: liblmdb-sys@0.2.2:       |                                 ^~~~
[INFO] [stderr] warning: liblmdb-sys@0.2.2: /usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr] warning: liblmdb-sys@0.2.2: collect2: error: ld returned 1 exit status
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `liblmdb-sys v0.2.2 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/liblmdb-sys-37f51208d637178c/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CC_i686-pc-windows-msvc = None
[INFO] [stderr]   CC_i686_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   CC = None
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CFLAGS_i686-pc-windows-msvc = None
[INFO] [stderr]   CFLAGS_i686_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m32" "-Wall" "-Wextra" "/Fo/opt/rustwide/target/i686-pc-windows-msvc/debug/build/liblmdb-sys-6324c5e10d8dbf5d/out/mdb/libraries/liblmdb/mdb.o" "/c" "mdb/libraries/liblmdb/mdb.c"
[INFO] [stderr]   cargo:warning=mdb/libraries/liblmdb/mdb.c: In function 'mdb_env_get_maxkeysize':
[INFO] [stderr]   cargo:warning=mdb/libraries/liblmdb/mdb.c:9821:33: warning: unused parameter 'env' [-Wunused-parameter]
[INFO] [stderr]   cargo:warning= 9821 | mdb_env_get_maxkeysize(MDB_env *env)
[INFO] [stderr]   cargo:warning=      |                        ~~~~~~~~~^~~
[INFO] [stderr]   cargo:warning=mdb/libraries/liblmdb/mdb.c: In function 'mdb_cursor_put':
[INFO] [stderr]   cargo:warning=mdb/libraries/liblmdb/mdb.c:6535:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr]   cargo:warning= 6535 |                                         if (SIZELEFT(fp) < offset) {
[INFO] [stderr]   cargo:warning=      |                                            ^
[INFO] [stderr]   cargo:warning=mdb/libraries/liblmdb/mdb.c:6540:33: note: here
[INFO] [stderr]   cargo:warning= 6540 |                                 case MDB_CURRENT:
[INFO] [stderr]   cargo:warning=      |                                 ^~~~
[INFO] [stderr]   cargo:warning=/usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr]   cargo:warning=collect2: error: ld returned 1 exit status
[INFO] [stderr]   exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gcc-0.3.55/src/lib.rs:1672:5:
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   Internal error occurred: Command "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m32" "-Wall" "-Wextra" "/Fo/opt/rustwide/target/i686-pc-windows-msvc/debug/build/liblmdb-sys-6324c5e10d8dbf5d/out/mdb/libraries/liblmdb/mdb.o" "/c" "mdb/libraries/liblmdb/mdb.c" with args "cc" did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "f10e3913d8c7ecea504afe1411c433ead79d4d8cb10836783c03ad09b6f41cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f10e3913d8c7ecea504afe1411c433ead79d4d8cb10836783c03ad09b6f41cfb", kill_on_drop: false }`
[INFO] [stdout] f10e3913d8c7ecea504afe1411c433ead79d4d8cb10836783c03ad09b6f41cfb