sawtooth-zmq 0.0.2

High-level bindings to the zeromq library
Documentation
Build #698144 2022-12-11T06:04:40.163322+00:00
# rustc version
rustc 1.68.0-nightly (c6fcdb690 2022-12-10)
# docs.rs version
docsrs 0.6.0 (013508c6 2022-12-08)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sawtooth-zmq-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sawtooth-zmq-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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221210-1.68.0-nightly-c6fcdb690\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--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] 8d35d0932b66e8cd50a1054fb7011159ad45b2b4bb06985d40f94cbbd8a40047
[INFO] running `Command { std: "docker" "start" "-a" "8d35d0932b66e8cd50a1054fb7011159ad45b2b4bb06985d40f94cbbd8a40047", kill_on_drop: false }`
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]  --> build.rs:7:63
[INFO] [stderr]   |
[INFO] [stderr] 7 |     for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() {
[INFO] [stderr]   |                                                                  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this changes meaning in Rust 2021
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr]   = note: `#[warn(array_into_iter)]` on by default
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]   |
[INFO] [stderr] 7 |     for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].iter() {
[INFO] [stderr]   |                                                                  ~~~~
[INFO] [stderr] help: or remove `.into_iter()` to iterate by value
[INFO] [stderr]   |
[INFO] [stderr] 7 -     for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() {
[INFO] [stderr] 7 +     for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"] {
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]  --> build.rs:8:66
[INFO] [stderr]   |
[INFO] [stderr] 8 |         if unsafe { zmq::zmq_has(CString::new(has.as_bytes()).unwrap().as_ptr()) } == 1 {
[INFO] [stderr]   |                                  ------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]   |                                  |
[INFO] [stderr]   |                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]   |
[INFO] [stderr]   = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]   = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr]   = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sawtooth-zmq` (build script) generated 2 warnings
[INFO] [stderr]  Documenting sawtooth-zmq v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "8d35d0932b66e8cd50a1054fb7011159ad45b2b4bb06985d40f94cbbd8a40047", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d35d0932b66e8cd50a1054fb7011159ad45b2b4bb06985d40f94cbbd8a40047", kill_on_drop: false }`
[INFO] [stdout] 8d35d0932b66e8cd50a1054fb7011159ad45b2b4bb06985d40f94cbbd8a40047