Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# error kind ExecutionFailed
# pre-build errors command failed: exit status: 101
# rustc version rustc 1.98.0-nightly (e7815e522 2026-06-04)
# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )
# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "91d572cc9e8d76993f01ff330551a0d1f69d5858d9a4d36026c150a3ead048f0" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260604-1.98.0-nightly-e7815e522\", \"--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] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting polywrap_http_plugin v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/wrap/module.rs:22:67 [INFO] [stderr] | [INFO] [stderr] 22 | fn get(&mut self, args: &ArgsGet, invoker: Arc<dyn Invoker>) -> Result<Option<Response>, PluginError>; [INFO] [stderr] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/wrap/module.rs:24:69 [INFO] [stderr] | [INFO] [stderr] 24 | fn post(&mut self, args: &ArgsPost, invoker: Arc<dyn Invoker>) -> Result<Option<Response>, PluginError>; [INFO] [stderr] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/lib.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | ) -> Result<Option<Response>, PluginError> { [INFO] [stderr] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/lib.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | ) -> Result<Option<Response>, PluginError> { [INFO] [stderr] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/lib.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[plugin_impl] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | help: remove the unnecessary generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0053]: method `_wrap_invoke` has an incompatible type for trait [INFO] [stderr] --> src/lib.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[plugin_impl] [INFO] [stderr] | ^^^^^^^^^^^^^^ expected `polywrap_plugin::PluginError`, found `polywrap_plugin::serde_json::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected signature `fn(&mut HttpPlugin, &_, &_, std::option::Option<&_>, std::sync::Arc<_>) -> std::result::Result<_, polywrap_plugin::PluginError>` [INFO] [stderr] found signature `fn(&mut HttpPlugin, &_, &_, std::option::Option<&_>, std::sync::Arc<_>) -> std::result::Result<_, polywrap_plugin::serde_json::Error>` [INFO] [stderr] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: change the output type to match the trait [INFO] [stderr] | [INFO] [stderr] 24 - #[plugin_impl] [INFO] [stderr] 24 + std::result::Result<std::vec::Vec<u8>, polywrap_plugin::PluginError> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/lib.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | ) -> Result<UreqResponse, PluginError> { [INFO] [stderr] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stderr] --> src/lib.rs:108:53 [INFO] [stderr] | [INFO] [stderr] 108 | fn handle_json(request: UreqRequest, body: &str) -> Result<UreqResponse, HttpPluginError> { [INFO] [stderr] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.150/src/error.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub type Result<T> = result::Result<T, Error>; [INFO] [stderr] | ^^^^^^ - [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0107. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: could not document `polywrap_http_plugin` [INFO] running `Command { std: "docker" "inspect" "91d572cc9e8d76993f01ff330551a0d1f69d5858d9a4d36026c150a3ead048f0", kill_on_drop: false }`