readpassphrase-sys 0.0.2

Minimal Rust bindings for OpenBSD's readpassphrase
Build #413975 2021-07-21T22:23:04.093583+00:00
# rustc version
rustc 1.55.0-nightly (b41936b92 2021-07-20)
# docs.rs version
docsrs 0.6.0 (843531f 2021-06-26)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/readpassphrase-sys-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/readpassphrase-sys-0.0.2/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" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bf3311aec13679c042c55305eed4f6f98359c47a37eb765a3317ad487259f4e0" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210720-1.55.0-nightly-b41936b92" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4d1f8f028265b254eaaf6772d320072ed57310b9f04a807ab484ee82def87fd8
[INFO] running `Command { std: "docker" "start" "-a" "4d1f8f028265b254eaaf6772d320072ed57310b9f04a807ab484ee82def87fd8", kill_on_drop: false }`
[INFO] [stderr]  Documenting readpassphrase-sys v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] error: free function without a body
[INFO] [stderr]   --> src/lib.rs:44:1
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub extern "C" fn readpassphrase(_prompt: *const libc::c_char, _buf: *mut libc::c_char, _bufsiz: u64, _flags: i32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stderr]    |                                                                                                                   |
[INFO] [stderr]    |                                                                                                                   help: provide a definition for the function: `{ <body> }`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stderr]   --> src/lib.rs:44:50
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub extern "C" fn readpassphrase(_prompt: *const libc::c_char, _buf: *mut libc::c_char, _bufsiz: u64, _flags: i32);
[INFO] [stderr]    |                                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stderr]   --> src/lib.rs:44:75
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub extern "C" fn readpassphrase(_prompt: *const libc::c_char, _buf: *mut libc::c_char, _bufsiz: u64, _flags: i32);
[INFO] [stderr]    |                                                                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0433`.
[INFO] [stderr] error: could not document `readpassphrase-sys`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name readpassphrase_sys src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi -Z unstable-options --emit=invocation-specific --resource-suffix -20210720-1.55.0-nightly-b41936b92 --static-root-path / --cap-lints warn --disable-per-crate-search -L dependency=/opt/rustwide/target/debug/deps --crate-version 0.0.2` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "4d1f8f028265b254eaaf6772d320072ed57310b9f04a807ab484ee82def87fd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d1f8f028265b254eaaf6772d320072ed57310b9f04a807ab484ee82def87fd8", kill_on_drop: false }`
[INFO] [stdout] 4d1f8f028265b254eaaf6772d320072ed57310b9f04a807ab484ee82def87fd8