samsa 0.1.7

Rust-native Kafka/Redpanda protocol and client implementation.
Build #1307418 2024-07-30T14:29:42.016946+00:00
# rustc version
rustc 1.82.0-nightly (612a33f20 2024-07-29)# docs.rs version
docsrs 0.6.0 (bd66f012 2024-07-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/samsa-0.1.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/samsa-0.1.7/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240729-1.82.0-nightly-612a33f20\", \"--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] [stdout] b3064f8e355dc638fec4fdf741824447790195a5b2fce4319b48ccb27d425dd4
[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" "b3064f8e355dc638fec4fdf741824447790195a5b2fce4319b48ccb27d425dd4", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: consumer, consumer_group, producer, sasl, sasl_tls, tls_consume, tls_produce
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling aws-lc-rs v1.8.1
[INFO] [stderr]     Checking aws-lc-sys v0.20.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking rsasl v2.0.1
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]    Compiling rustls v0.23.12
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr] error: lifetime may not live long enough
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rsasl-2.0.1/src/callback.rs:302:24
[INFO] [stderr]     |
[INFO] [stderr] 292 | impl<'a> Request<'a> {
[INFO] [stderr]     |      -- lifetime `'a` defined here
[INFO] [stderr] ...
[INFO] [stderr] 299 |     pub(crate) fn new_action<'t, 'p, P: Property<'p>>(
[INFO] [stderr]     |                                  -- lifetime `'p` defined here
[INFO] [stderr] ...
[INFO] [stderr] 302 |         unsafe { &mut *(val as &mut dyn Erased as *mut dyn Erased as *mut Self) }
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'p`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding the following bound: `'a: 'p`
[INFO] [stderr]     = note: requirement occurs because of a mutable pointer to `callback::Request<'_>`
[INFO] [stderr]     = note: mutable pointers are invariant over their type parameter
[INFO] [stderr]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stderr] 
[INFO] [stderr] error: lifetime may not live long enough
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rsasl-2.0.1/src/callback.rs:302:24
[INFO] [stderr]     |
[INFO] [stderr] 292 | impl<'a> Request<'a> {
[INFO] [stderr]     |      -- lifetime `'a` defined here
[INFO] [stderr] ...
[INFO] [stderr] 299 |     pub(crate) fn new_action<'t, 'p, P: Property<'p>>(
[INFO] [stderr]     |                                  -- lifetime `'p` defined here
[INFO] [stderr] ...
[INFO] [stderr] 302 |         unsafe { &mut *(val as &mut dyn Erased as *mut dyn Erased as *mut Self) }
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'p` must outlive `'a`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding the following bound: `'p: 'a`
[INFO] [stderr]     = note: requirement occurs because of a mutable pointer to `callback::Request<'_>`
[INFO] [stderr]     = note: mutable pointers are invariant over their type parameter
[INFO] [stderr]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stderr] 
[INFO] [stderr] help: `'a` and `'p` must be the same: replace one with the other
[INFO] [stderr] 
[INFO] [stderr] error: lifetime may not live long enough
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rsasl-2.0.1/src/validate.rs:134:24
[INFO] [stderr]     |
[INFO] [stderr] 133 |     pub(crate) fn new<'opt, V: Validation>(opt: &'opt mut Tagged<'_, V>) -> &'opt mut Self {
[INFO] [stderr]     |                                            ---                              -------------- return type is &mut Validate<'1>
[INFO] [stderr]     |                                            |
[INFO] [stderr]     |                                            has type `&mut Tagged<'2, V>`
[INFO] [stderr] 134 |         unsafe { &mut *(opt as &mut dyn Erased as *mut dyn Erased as *mut Self) }
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'1` must outlive `'2`
[INFO] [stderr]     |
[INFO] [stderr]     = note: requirement occurs because of a mutable pointer to `Validate<'_>`
[INFO] [stderr]     = note: mutable pointers are invariant over their type parameter
[INFO] [stderr]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stderr] 
[INFO] [stderr] error: lifetime may not live long enough
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rsasl-2.0.1/src/validate.rs:134:24
[INFO] [stderr]     |
[INFO] [stderr] 133 |     pub(crate) fn new<'opt, V: Validation>(opt: &'opt mut Tagged<'_, V>) -> &'opt mut Self {
[INFO] [stderr]     |                                            ---                              -------------- return type is &mut Validate<'1>
[INFO] [stderr]     |                                            |
[INFO] [stderr]     |                                            has type `&mut Tagged<'2, V>`
[INFO] [stderr] 134 |         unsafe { &mut *(opt as &mut dyn Erased as *mut dyn Erased as *mut Self) }
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'2` must outlive `'1`
[INFO] [stderr]     |
[INFO] [stderr]     = note: requirement occurs because of a mutable pointer to `Validate<'_>`
[INFO] [stderr]     = note: mutable pointers are invariant over their type parameter
[INFO] [stderr]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stderr] 
[INFO] [stderr] error[E0621]: explicit lifetime required in the type of `provider`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rsasl-2.0.1/src/context.rs:120:14
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub fn build_context<'a>(provider: &'a dyn Provider) -> &'a Context<'a> {
[INFO] [stderr]     |                                    ---------------- help: add explicit lifetime `'a` to the type of `provider`: `&'a (dyn Provider<'a> + 'a)`
[INFO] [stderr] 120 |     unsafe { &*(provider as *const dyn Provider as *const Context) }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0621`.
[INFO] [stderr] error: could not compile `rsasl` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "b3064f8e355dc638fec4fdf741824447790195a5b2fce4319b48ccb27d425dd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3064f8e355dc638fec4fdf741824447790195a5b2fce4319b48ccb27d425dd4", kill_on_drop: false }`
[INFO] [stdout] b3064f8e355dc638fec4fdf741824447790195a5b2fce4319b48ccb27d425dd4