shellfish 0.9.0

A library to run custom interactive shells.
Documentation
Build #1085026 2024-01-09T19:18:15.754706+00:00
# rustc version
rustc 1.77.0-nightly (ca663b06c 2024-01-08)# docs.rs version
docsrs 0.6.0 (b0f6fead 2024-01-03)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/shellfish-0.9.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/shellfish-0.9.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "app async rustyline clap" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240108-1.77.0-nightly-ca663b06c\", \"--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] 4bfb524fb1178539c834bea892b06fa49a6990db2b306a2c0aa00791bd2c76b9
[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" "4bfb524fb1178539c834bea892b06fa49a6990db2b306a2c0aa00791bd2c76b9", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting shellfish v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `new_with_handler`
[INFO] [stderr]   --> src/shell.rs:50:59
[INFO] [stderr]    |
[INFO] [stderr] 50 |     /// If you have the `rustyline` feature enabled use [`new_with_handler`]
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^^^ no item named `new_with_handler` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `new_with_async_handler`
[INFO] [stderr]   --> src/shell.rs:69:59
[INFO] [stderr]    |
[INFO] [stderr] 69 |     /// If you have the `rustyline` feature enabled use [`new_with_async_handler`]
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^ no item named `new_with_async_handler` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/command.rs:108:41
[INFO] [stderr]     |
[INFO] [stderr] 108 | /// Stores a function for a [`Command`](Command).
[INFO] [stderr]     |                              ---------  ^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 108 | /// Stores a function for a [`Command`].
[INFO] [stderr]     |                             ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/command.rs:113:55
[INFO] [stderr]     |
[INFO] [stderr] 113 | /// Stores an asynchronous function for a [`Command`](Command).
[INFO] [stderr]     |                                            ---------  ^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                            |
[INFO] [stderr]     |                                            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 113 | /// Stores an asynchronous function for a [`Command`].
[INFO] [stderr]     |                                           ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/handler/mod.rs:6:24
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! [`DefaultHandler`](default::DefaultHandler), unless you are doing async
[INFO] [stderr]   |      ----------------  ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |      |
[INFO] [stderr]   |      because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! [`DefaultHandler`], unless you are doing async
[INFO] [stderr]   |     ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/handler/mod.rs:7:43
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! in which case [`DefaultAsyncHandler`](asynchronous::DefaultAsyncHandler)
[INFO] [stderr]   |                    ---------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                    |
[INFO] [stderr]   |                    because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! in which case [`DefaultAsyncHandler`]
[INFO] [stderr]   |                   ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `String`
[INFO] [stderr]  --> src/handler/default.rs:8:54
[INFO] [stderr]   |
[INFO] [stderr] 8 | /// change the shell built-ins. A handler takes a Vec<String> as
[INFO] [stderr]   |                                                      ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]   |
[INFO] [stderr] 8 | /// change the shell built-ins. A handler takes a `Vec<String>` as
[INFO] [stderr]   |                                                   +           +
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/shell.rs:37:63
[INFO] [stderr]    |
[INFO] [stderr] 37 |     /// This is the handler for commands. See the [`Handler`](crate::Handler)
[INFO] [stderr]    |                                                    ---------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                                                    |
[INFO] [stderr]    |                                                    because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 37 |     /// This is the handler for commands. See the [`Handler`]
[INFO] [stderr]    |                                                   ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `shellfish` (lib doc) generated 8 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/shellfish/index.html
[INFO] running `Command { std: "docker" "inspect" "4bfb524fb1178539c834bea892b06fa49a6990db2b306a2c0aa00791bd2c76b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bfb524fb1178539c834bea892b06fa49a6990db2b306a2c0aa00791bd2c76b9", kill_on_drop: false }`
[INFO] [stdout] 4bfb524fb1178539c834bea892b06fa49a6990db2b306a2c0aa00791bd2c76b9