runtimelib 0.19.0

Jupyter runtime library
Build #1527641 2024-11-12T22:11:02.530513+00:00
# rustc version
rustc 1.84.0-nightly (81eef2d36 2024-11-11)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/runtimelib-0.19.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/runtimelib-0.19.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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241111-1.84.0-nightly-81eef2d36\", \"--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] f11befc35510f74c1a6675f309d93c8d95b9ac5b953626bb9fc509082226ffdc
[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" "f11befc35510f74c1a6675f309d93c8d95b9ac5b953626bb9fc509082226ffdc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking zeromq v0.4.1
[INFO] [stderr] error[E0432]: unresolved import `super::make_framed`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/tcp.rs:7:5
[INFO] [stderr]     |
[INFO] [stderr] 7   | use super::make_framed;
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^ no `make_framed` in `transport`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:94:4
[INFO] [stderr]     |
[INFO] [stderr] 94  | fn make_framed<T>(stream: T) -> FramedIo
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] note: the item is gated behind the `tokio-runtime` feature
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:93:7
[INFO] [stderr]     |
[INFO] [stderr] 93  | #[cfg(feature = "tokio-runtime")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:105:4
[INFO] [stderr]     |
[INFO] [stderr] 105 | fn make_framed<T>(stream: T) -> FramedIo
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:104:1
[INFO] [stderr]     |
[INFO] [stderr] 104 | #[cfg(any(feature = "async-std-runtime", feature = "async-dispatcher-runtime"))]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rt_task`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/join_handle.rs:21:22
[INFO] [stderr]    |
[INFO] [stderr] 21 |         let result = rt_task::JoinHandle::poll(Pin::new(&mut self.0), cx);
[INFO] [stderr]    |                      ^^^^^^^ use of undeclared crate or module `rt_task`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr]    |
[INFO] [stderr] 8  + use crate::__async_rt::task::JoinHandle;
[INFO] [stderr]    |
[INFO] [stderr] 8  + use std::thread::JoinHandle;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `JoinHandle`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 21 -         let result = rt_task::JoinHandle::poll(Pin::new(&mut self.0), cx);
[INFO] [stderr] 21 +         let result = JoinHandle::poll(Pin::new(&mut self.0), cx);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `result` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/mod.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 |     result
[INFO] [stderr]    |     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `result` in this scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/mod.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 78 |     Ok(result)
[INFO] [stderr]    |        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TcpStream`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/tcp.rs:18:22
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let raw_socket = TcpStream::connect((host.to_string().as_str(), port)).await?;
[INFO] [stderr]    |                      ^^^^^^^^^ use of undeclared type `TcpStream`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this struct
[INFO] [stderr]    |
[INFO] [stderr] 7  + use std::net::TcpStream;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/tcp.rs:36:20
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let listener = TcpListener::bind((host.to_string().as_str(), port)).await?;
[INFO] [stderr]    |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this struct
[INFO] [stderr]    |
[INFO] [stderr] 7  + use std::net::TcpListener;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the `?` operator can only be used on `Result`s in an async function that returns `Result`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/tcp.rs:36:78
[INFO] [stderr]    |
[INFO] [stderr] 35 | / {
[INFO] [stderr] 36 | |     let listener = TcpListener::bind((host.to_string().as_str(), port)).await?;
[INFO] [stderr]    | |                                                                              ^ this `?` produces `_`, which is incompatible with `Result<(endpoint::Endpoint, AcceptStopHandle), error::ZmqError>`
[INFO] [stderr] 37 | |     let resolved_addr = listener.local_addr()?;
[INFO] [stderr] 38 | |     let (stop_channel, stop_callback) = futures_channel::oneshot::channel::<()>();
[INFO] [stderr] ...  |
[INFO] [stderr] 79 | |     ))
[INFO] [stderr] 80 | | }
[INFO] [stderr]    | |_- this function returns a `Result`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `FromResidual<_>` is not implemented for `Result<(endpoint::Endpoint, AcceptStopHandle), error::ZmqError>`
[INFO] [stderr]    = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/join_handle.rs:18:64
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
[INFO] [stderr]    |        ----                                                    ^^^^^^^^^^^^^^^^^^ expected `Poll<Result<T, JoinError>>`, found `()`
[INFO] [stderr]    |        |
[INFO] [stderr]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stderr]    |
[INFO] [stderr]    = note:   expected enum `Poll<Result<T, JoinError>>`
[INFO] [stderr]            found unit type `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: the method `insert` exists for mutable reference `&mut HashMap<Endpoint, AcceptStopHandle>`, but its trait bounds were not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/lib.rs:266:22
[INFO] [stderr]     |
[INFO] [stderr] 266 |         self.binds().insert(endpoint.clone(), stop_handle);
[INFO] [stderr]     |                      ^^^^^^ method cannot be called on `&mut HashMap<Endpoint, AcceptStopHandle>` due to unsatisfied trait bounds
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:49:1
[INFO] [stderr]     |
[INFO] [stderr] 49  | pub struct AcceptStopHandle(pub(crate) TaskHandle<()>);
[INFO] [stderr]     | --------------------------- doesn't satisfy `AcceptStopHandle: Sized`
[INFO] [stderr]     |
[INFO] [stderr]     = note: the following trait bounds were not satisfied:
[INFO] [stderr]             `{type error}: Sized`
[INFO] [stderr]             which is required by `AcceptStopHandle: Sized`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: the method `remove` exists for mutable reference `&mut HashMap<Endpoint, AcceptStopHandle>`, but its trait bounds were not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/lib.rs:279:40
[INFO] [stderr]     |
[INFO] [stderr] 279 |         let stop_handle = self.binds().remove(&endpoint);
[INFO] [stderr]     |                                        ^^^^^^ method cannot be called on `&mut HashMap<Endpoint, AcceptStopHandle>` due to unsatisfied trait bounds
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:49:1
[INFO] [stderr]     |
[INFO] [stderr] 49  | pub struct AcceptStopHandle(pub(crate) TaskHandle<()>);
[INFO] [stderr]     | --------------------------- doesn't satisfy `AcceptStopHandle: Sized`
[INFO] [stderr]     |
[INFO] [stderr]     = note: the following trait bounds were not satisfied:
[INFO] [stderr]             `{type error}: Sized`
[INFO] [stderr]             which is required by `AcceptStopHandle: Sized`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: the method `iter` exists for mutable reference `&mut HashMap<Endpoint, AcceptStopHandle>`, but its trait bounds were not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/lib.rs:289:14
[INFO] [stderr]     |
[INFO] [stderr] 287 |           let endpoints: Vec<_> = self
[INFO] [stderr]     |  _________________________________-
[INFO] [stderr] 288 | |             .binds()
[INFO] [stderr] 289 | |             .iter()
[INFO] [stderr]     | |             -^^^^ method cannot be called on `&mut HashMap<Endpoint, AcceptStopHandle>` due to unsatisfied trait bounds
[INFO] [stderr]     | |_____________|
[INFO] [stderr]     |
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/transport/mod.rs:49:1
[INFO] [stderr]     |
[INFO] [stderr] 49  |   pub struct AcceptStopHandle(pub(crate) TaskHandle<()>);
[INFO] [stderr]     |   --------------------------- doesn't satisfy `AcceptStopHandle: Sized`
[INFO] [stderr]     |
[INFO] [stderr]     = note: the following trait bounds were not satisfied:
[INFO] [stderr]             `{type error}: Sized`
[INFO] [stderr]             which is required by `AcceptStopHandle: Sized`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rt_task`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/join_handle.rs:14:26
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct JoinHandle<T>(rt_task::JoinHandle<T>);
[INFO] [stderr]    |                          ^^^^^^^ use of undeclared crate or module `rt_task`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rt_task`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/join_handle.rs:28:14
[INFO] [stderr]    |
[INFO] [stderr] 28 | impl<T> From<rt_task::JoinHandle<T>> for JoinHandle<T> {
[INFO] [stderr]    |              ^^^^^^^ use of undeclared crate or module `rt_task`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rt_task`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.4.1/src/async_rt/task/join_handle.rs:29:16
[INFO] [stderr]    |
[INFO] [stderr] 29 |     fn from(h: rt_task::JoinHandle<T>) -> Self {
[INFO] [stderr]    |                ^^^^^^^ use of undeclared crate or module `rt_task`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `zeromq` (lib) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "f11befc35510f74c1a6675f309d93c8d95b9ac5b953626bb9fc509082226ffdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f11befc35510f74c1a6675f309d93c8d95b9ac5b953626bb9fc509082226ffdc", kill_on_drop: false }`
[INFO] [stdout] f11befc35510f74c1a6675f309d93c8d95b9ac5b953626bb9fc509082226ffdc