libssh-rs 0.3.6

Bindings to the libssh library
Documentation
Build #2693663 2025-11-28 15:46:33
# rustc version
rustc 1.93.0-nightly (c86564c41 2025-11-27)# docs.rs version
docsrs 0.6.0 (6d5049f1 2025-11-27 )# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libssh-rs-0.3.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libssh-rs-0.3.6/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251127-1.93.0-nightly-c86564c41\", \"--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}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", 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] 979374ba0fd788737c7728ff10f0eabaa4bb1365bbd31f914d1b7009c1c81316
[INFO] running `Command { std: "docker" "start" "-a" "979374ba0fd788737c7728ff10f0eabaa4bb1365bbd31f914d1b7009c1c81316", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:393:21
[INFO] [stderr]     |
[INFO] [stderr] 393 |     fn lock_session(&self) -> MutexGuard<SessionHolder> {
[INFO] [stderr]     |                     ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 393 |     fn lock_session(&self) -> MutexGuard<'_, SessionHolder> {
[INFO] [stderr]     |                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/channel.rs:159:21
[INFO] [stderr]     |
[INFO] [stderr] 159 |     fn lock_session(&self) -> (MutexGuard<SessionHolder>, sys::ssh_channel) {
[INFO] [stderr]     |                     ^^^^^      ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 159 |     fn lock_session(&self) -> (MutexGuard<'_, SessionHolder>, sys::ssh_channel) {
[INFO] [stderr]     |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/sftp.rs:46:21
[INFO] [stderr]    |
[INFO] [stderr] 46 |     fn lock_session(&self) -> (MutexGuard<SessionHolder>, sys::sftp_session) {
[INFO] [stderr]    |                     ^^^^^      ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 46 |     fn lock_session(&self) -> (MutexGuard<'_, SessionHolder>, sys::sftp_session) {
[INFO] [stderr]    |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/sftp.rs:286:21
[INFO] [stderr]     |
[INFO] [stderr] 286 |     fn lock_session(&self) -> (MutexGuard<SessionHolder>, sys::sftp_file) {
[INFO] [stderr]     |                     ^^^^^      ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 286 |     fn lock_session(&self) -> (MutexGuard<'_, SessionHolder>, sys::sftp_file) {
[INFO] [stderr]     |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/sftp.rs:630:21
[INFO] [stderr]     |
[INFO] [stderr] 630 |     fn lock_session(&self) -> (MutexGuard<SessionHolder>, sys::sftp_dir) {
[INFO] [stderr]     |                     ^^^^^      ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 630 |     fn lock_session(&self) -> (MutexGuard<'_, SessionHolder>, sys::sftp_dir) {
[INFO] [stderr]     |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: `libssh-rs` (lib) generated 5 warnings (run `cargo fix --lib -p libssh-rs` to apply 5 suggestions)
[INFO] [stderr]     Scraping libssh-rs v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting libssh-rs v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/libssh_rs/index.html
[INFO] running `Command { std: "docker" "inspect" "979374ba0fd788737c7728ff10f0eabaa4bb1365bbd31f914d1b7009c1c81316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "979374ba0fd788737c7728ff10f0eabaa4bb1365bbd31f914d1b7009c1c81316", kill_on_drop: false }`
[INFO] [stdout] 979374ba0fd788737c7728ff10f0eabaa4bb1365bbd31f914d1b7009c1c81316