skytable 0.5.0

Official Rust client driver for Skytable
Documentation
Build #425396 2021-08-20 07:04:34
# rustc version
rustc 1.56.0-nightly (6d64f7f69 2021-08-19)# docs.rs version
docsrs 0.6.0 (843531f 2021-06-26)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/skytable-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/skytable-0.5.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" "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" "--all-features" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j2" "--" "--cfg" "docsrs" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210819-1.56.0-nightly-6d64f7f69" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 259528c4e606fd0e9db4dea56cf1ab48024995d280da5e2664194030c88f7c2b
[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" "259528c4e606fd0e9db4dea56cf1ab48024995d280da5e2664194030c88f7c2b", kill_on_drop: false }`
[INFO] [stderr]  Documenting skytable v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:64:32
[INFO] [stderr]     |
[INFO] [stderr] 64  |               #[cfg_attr(docsrs, doc(cfg(feature = "async")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/aio.rs:104:1
[INFO] [stderr]     |
[INFO] [stderr] 104 | / cfg_async!(
[INFO] [stderr] 105 | |     /// An asynchronous database connection over Skyhash/TCP
[INFO] [stderr] 106 | |     pub struct Connection {
[INFO] [stderr] 107 | |         stream: BufWriter<TcpStream>,
[INFO] [stderr] ...   |
[INFO] [stderr] 121 | |     impl_async_methods!(Connection);
[INFO] [stderr] 122 | | );
[INFO] [stderr]     | |__- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `impl_async_methods`
[INFO] [stderr]    --> src/aio.rs:121:5
[INFO] [stderr]     |
[INFO] [stderr] 121 |     impl_async_methods!(Connection);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_async` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:44:32
[INFO] [stderr]     |
[INFO] [stderr] 44  |               #[cfg_attr(docsrs, doc(cfg(all(feature="async", any(feature = "aio-ssl", feature = "aio-sslv")))))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/aio.rs:124:1
[INFO] [stderr]     |
[INFO] [stderr] 124 | / cfg_async_ssl_any!(
[INFO] [stderr] 125 | |     use tokio_openssl::SslStream;
[INFO] [stderr] 126 | |     use openssl::ssl::{SslContext, SslMethod, Ssl};
[INFO] [stderr] 127 | |     use core::pin::Pin;
[INFO] [stderr] ...   |
[INFO] [stderr] 151 | |     impl_async_methods!(TlsConnection);
[INFO] [stderr] 152 | | );
[INFO] [stderr]     | |__- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `impl_async_methods`
[INFO] [stderr]    --> src/aio.rs:151:5
[INFO] [stderr]     |
[INFO] [stderr] 151 |     impl_async_methods!(TlsConnection);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_async_ssl_any` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:54:32
[INFO] [stderr]     |
[INFO] [stderr] 54  |               #[cfg_attr(docsrs, doc(cfg(feature = "sync")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/sync.rs:104:1
[INFO] [stderr]     |
[INFO] [stderr] 104 | / cfg_sync!(
[INFO] [stderr] 105 | |     /// 4 KB Read Buffer
[INFO] [stderr] 106 | |     const BUF_CAP: usize = 4096;
[INFO] [stderr] 107 | |
[INFO] [stderr] ...   |
[INFO] [stderr] 127 | |
[INFO] [stderr] 128 | | );
[INFO] [stderr]     | |__- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `impl_sync_methods`
[INFO] [stderr]    --> src/sync.rs:126:5
[INFO] [stderr]     |
[INFO] [stderr] 126 |     impl_sync_methods!(Connection);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_sync` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:24:32
[INFO] [stderr]     |
[INFO] [stderr] 24  |               #[cfg_attr(docsrs, doc(cfg(all(feature="sync", any(feature = "ssl", feature = "sslv")))))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/sync.rs:130:1
[INFO] [stderr]     |
[INFO] [stderr] 130 | / cfg_sync_ssl_any!(
[INFO] [stderr] 131 | |     use openssl::ssl::{Ssl, SslContext, SslMethod, SslStream};
[INFO] [stderr] 132 | |     use crate::error::SslError;
[INFO] [stderr] 133 | |     #[derive(Debug)]
[INFO] [stderr] ...   |
[INFO] [stderr] 156 | |     impl_sync_methods!(TlsConnection);
[INFO] [stderr] 157 | | );
[INFO] [stderr]     | |__- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `impl_sync_methods`
[INFO] [stderr]    --> src/sync.rs:156:5
[INFO] [stderr]     |
[INFO] [stderr] 156 |     impl_sync_methods!(TlsConnection);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_sync_ssl_any` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:54:32
[INFO] [stderr]     |
[INFO] [stderr] 54  |               #[cfg_attr(docsrs, doc(cfg(feature = "sync")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:230:5
[INFO] [stderr]     |
[INFO] [stderr] 230 | /     cfg_sync! {
[INFO] [stderr] 231 | |         /// Get a [sync connection](sync::Connection) to the database
[INFO] [stderr] 232 | |         pub fn get_connection(&self) -> SkyRawResult<sync::Connection> {
[INFO] [stderr] 233 | |             let con =
[INFO] [stderr] ...   |
[INFO] [stderr] 250 | |         }
[INFO] [stderr] 251 | |     }
[INFO] [stderr]     | |_____- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_sync_ssl_any`
[INFO] [stderr]    --> src/lib.rs:237:9
[INFO] [stderr]     |
[INFO] [stderr] 237 |         cfg_sync_ssl_any! {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_sync` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/util.rs:64:32
[INFO] [stderr]     |
[INFO] [stderr] 64  |               #[cfg_attr(docsrs, doc(cfg(feature = "async")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:252:5
[INFO] [stderr]     |
[INFO] [stderr] 252 | /     cfg_async! {
[INFO] [stderr] 253 | |         /// Get an [async connection](aio::Connection) to the database
[INFO] [stderr] 254 | |         pub async fn get_async_connection(&self) -> SkyRawResult<aio::Connection> {
[INFO] [stderr] 255 | |             let con = aio::Connection::new(self.host.unwrap_or("127.0.0.1"), self.port.unwrap_or(2003))
[INFO] [stderr] ...   |
[INFO] [stderr] 273 | |         }
[INFO] [stderr] 274 | |     }
[INFO] [stderr]     | |_____- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_async_ssl_any`
[INFO] [stderr]    --> src/lib.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 |         cfg_async_ssl_any! {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_async` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `skytable` (lib doc) generated 6 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "259528c4e606fd0e9db4dea56cf1ab48024995d280da5e2664194030c88f7c2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "259528c4e606fd0e9db4dea56cf1ab48024995d280da5e2664194030c88f7c2b", kill_on_drop: false }`
[INFO] [stdout] 259528c4e606fd0e9db4dea56cf1ab48024995d280da5e2664194030c88f7c2b