lambda-runtime-types 0.1.1

Common structures for lambda architecture
Documentation
Build #453930 2021-10-26 22:35:09
# rustc version
rustc 1.58.0-nightly (29b124802 2021-10-25)# docs.rs version
docsrs 0.6.0 (06dfd05 2021-10-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/lambda-runtime-types-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/lambda-runtime-types-0.1.1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/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" "-20211025-1.58.0-nightly-29b124802" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] d97dbf0ec45545c97ce6ed2043f8812421dbf9eb39bc4110f08489c2f730d474
[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" "d97dbf0ec45545c97ce6ed2043f8812421dbf9eb39bc4110f08489c2f730d474", kill_on_drop: false }`
[INFO] [stderr]  Documenting lambda-runtime-types v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:80:1
[INFO] [stderr]     |
[INFO] [stderr] 80  | /// `Event` which is send by the `SecretManager` to the rotation lambda
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:157:5
[INFO] [stderr]     |
[INFO] [stderr] 157 |     rustdoc::missing_doc_code_examples,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:108:1
[INFO] [stderr]     |
[INFO] [stderr] 108 | /// Available steps for in a Secret Manager rotation
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:126:1
[INFO] [stderr]     |
[INFO] [stderr] 126 | / /// Defines a type which is executed every time a lambda
[INFO] [stderr] 127 | | /// is invoced. This type is made for `SecretManager`
[INFO] [stderr] 128 | | /// rotation lambdas.
[INFO] [stderr] 129 | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 141 | | ///             necessary fields, as other undefined
[INFO] [stderr] 142 | | ///             fields are internally preserved.
[INFO] [stderr]     | |________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:150:5
[INFO] [stderr]     |
[INFO] [stderr] 150 |     /// See documentation of [`super::Runner::setup`]
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:153:5
[INFO] [stderr]     |
[INFO] [stderr] 153 | /     /// Create a new secret without setting it yet.
[INFO] [stderr] 154 | |     /// Only called if there is no pending secret available
[INFO] [stderr] 155 | |     /// (which may happen if rotation fails at any stage)
[INFO] [stderr]     | |_________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:163:5
[INFO] [stderr]     |
[INFO] [stderr] 163 | /     /// Set the secret in the service
[INFO] [stderr] 164 | |     /// Only called if password is not already set, checked by  
[INFO] [stderr] 165 | |     /// calling [`test`] with new password beforehand. The reason
[INFO] [stderr] 166 | |     /// for that it, that a failure in a later stage means all
[INFO] [stderr] 167 | |     /// stages are called again with set failing as the old password
[INFO] [stderr] 168 | |     /// does not work anymore
[INFO] [stderr]     | |_____________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:176:5
[INFO] [stderr]     |
[INFO] [stderr] 176 |     /// Test whether a connection with the given secret works
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/rotate/mod.rs:183:5
[INFO] [stderr]     |
[INFO] [stderr] 183 |     /// Perform any work which may be necessary to complete rotation
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:204:1
[INFO] [stderr]     |
[INFO] [stderr] 204 | / /// Defines a type which is executed every time a lambda
[INFO] [stderr] 205 | | /// is invoced.
[INFO] [stderr] 206 | | ///
[INFO] [stderr] 207 | | /// Types:
[INFO] [stderr] ...   |
[INFO] [stderr] 218 | | /// * `Return`: Type which is the result of the lamba
[INFO] [stderr] 219 | | ///             invocation being returned to AWS
[INFO] [stderr]     | |________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:227:5
[INFO] [stderr]     |
[INFO] [stderr] 227 | /     /// Invoked only once before lambda runtime start. Does not get called on each
[INFO] [stderr] 228 | |     /// lambda invocation. Can be used to setup logging and other global services,
[INFO] [stderr] 229 | |     /// but should be short as it delays lambda startup
[INFO] [stderr]     | |_______________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:232:5
[INFO] [stderr]     |
[INFO] [stderr] 232 | /     /// Invoked for every lambda invocation. Data in `shared` is persisted between
[INFO] [stderr] 233 | |     /// invocations as long as they are running in the same `execution environment`
[INFO] [stderr] 234 | |     ///
[INFO] [stderr] 235 | |     /// More Info: <https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html>
[INFO] [stderr]     | |_______________________________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:239:1
[INFO] [stderr]     |
[INFO] [stderr] 239 | / /// Lambda entrypoint. This function sets up a lambda
[INFO] [stderr] 240 | | /// multi-thread runtimes and executes [`exec`]. If you
[INFO] [stderr] 241 | | /// already have your own runtime, use the [`exec`]
[INFO] [stderr] 242 | | /// function.
[INFO] [stderr] ...   |
[INFO] [stderr] 257 | | /// * `Return`: Type which is the result of the lamba
[INFO] [stderr] 258 | | ///             invocation being returned to AWS
[INFO] [stderr]     | |________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:276:1
[INFO] [stderr]     |
[INFO] [stderr] 276 | / /// Lambda entrypoint. This function requires a
[INFO] [stderr] 277 | | /// running tokio runtime. Alternativly use [`exec_tokio`]
[INFO] [stderr] 278 | | /// which creates one.
[INFO] [stderr] 279 | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 293 | | /// * `Return`: Type which is the result of the lamba
[INFO] [stderr] 294 | | ///             invocation being returned to AWS
[INFO] [stderr]     | |________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:374:1
[INFO] [stderr]     |
[INFO] [stderr] 374 | / /// TestData which can be used to test lambda invocations
[INFO] [stderr] 375 | | /// locally in combination with [`exec_test`].
[INFO] [stderr]     | |______________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:384:1
[INFO] [stderr]     |
[INFO] [stderr] 384 | / /// Lambda entrypoint. This function can be used to
[INFO] [stderr] 385 | | /// test one or multiple lambda invocations locally.
[INFO] [stderr] 386 | | ///
[INFO] [stderr] 387 | | /// Types:
[INFO] [stderr] ...   |
[INFO] [stderr] 400 | | /// * `Return`: Type which is the result of the lamba
[INFO] [stderr] 401 | | ///             invocation being returned to AWS
[INFO] [stderr]     | |________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: `lambda-runtime-types` (lib doc) generated 15 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "d97dbf0ec45545c97ce6ed2043f8812421dbf9eb39bc4110f08489c2f730d474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d97dbf0ec45545c97ce6ed2043f8812421dbf9eb39bc4110f08489c2f730d474", kill_on_drop: false }`
[INFO] [stdout] d97dbf0ec45545c97ce6ed2043f8812421dbf9eb39bc4110f08489c2f730d474