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 (485ec3fbc 2026-06-10)
# 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" "4c12b35d6d034a29319c45d8b3eb61b370b3f0fb27e31750af47a699843ec7e6" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260610-1.98.0-nightly-485ec3fbc\", \"--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: Rustdoc did not scrape the following examples because they require dev-dependencies: func_param, multilevel_resource, option_result, resource, single_component [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] Documenting wasm_component_layer v0.1.18 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/func.rs:216:42 [INFO] [stderr] | [INFO] [stderr] 216 | arguments: &[wasm_runtime_layer::Value], [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 216 - arguments: &[wasm_runtime_layer::Value], [INFO] [stderr] 216 + arguments: &[Value], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/func.rs:217:44 [INFO] [stderr] | [INFO] [stderr] 217 | results: &mut [wasm_runtime_layer::Value], [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 217 - results: &mut [wasm_runtime_layer::Value], [INFO] [stderr] 217 + results: &mut [Value], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/func.rs:303:47 [INFO] [stderr] | [INFO] [stderr] 303 | pub flat_results: Vec<wasm_runtime_layer::Value>, [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 303 - pub flat_results: Vec<wasm_runtime_layer::Value>, [INFO] [stderr] 303 + pub flat_results: Vec<Value>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/values.rs:105:46 [INFO] [stderr] | [INFO] [stderr] 105 | impl TryFrom<&Value> for wasm_runtime_layer::Value { [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 105 - impl TryFrom<&Value> for wasm_runtime_layer::Value { [INFO] [stderr] 105 + impl TryFrom<&Value> for Value { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/values.rs:119:35 [INFO] [stderr] | [INFO] [stderr] 119 | impl TryFrom<&wasm_runtime_layer::Value> for Value { [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 119 - impl TryFrom<&wasm_runtime_layer::Value> for Value { [INFO] [stderr] 119 + impl TryFrom<&Value> for Value { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find type `Value` in crate `wasm_runtime_layer` [INFO] [stderr] --> src/values.rs:122:45 [INFO] [stderr] | [INFO] [stderr] 122 | fn try_from(value: &wasm_runtime_layer::Value) -> Result<Self> { [INFO] [stderr] | ^^^^^ not found in `wasm_runtime_layer` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum through its public re-export [INFO] [stderr] | [INFO] [stderr] 1 + use crate::Value; [INFO] [stderr] | [INFO] [stderr] help: if you import `Value`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 122 - fn try_from(value: &wasm_runtime_layer::Value) -> Result<Self> { [INFO] [stderr] 122 + fn try_from(value: &Value) -> Result<Self> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/types.rs:343:37 [INFO] [stderr] | [INFO] [stderr] 343 | .filter(|&(_, x, _val)| (&**x == name.as_ref())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_parens)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 343 - .filter(|&(_, x, _val)| (&**x == name.as_ref())) [INFO] [stderr] 343 + .filter(|&(_, x, _val)| &**x == name.as_ref() ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/values.rs:358:37 [INFO] [stderr] | [INFO] [stderr] 358 | .filter(|&(name, _val)| (&**name == field.as_ref())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 358 - .filter(|&(name, _val)| (&**name == field.as_ref())) [INFO] [stderr] 358 + .filter(|&(name, _val)| &**name == field.as_ref() ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0310]: the parameter type `T` may not live long enough [INFO] [stderr] --> src/lib.rs:1971:12 [INFO] [stderr] | [INFO] [stderr] 1971 | inner: wasm_runtime_layer::Store<StoreInner<T, E>, E>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the parameter type `T` must be valid for the static lifetime... [INFO] [stderr] | ...so that the type `StoreInner<T, E>` will meet its required lifetime bounds... [INFO] [stderr] | [INFO] [stderr] note: ...that is required by this bound [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm_runtime_layer-0.7.0/src/lib.rs:764:21 [INFO] [stderr] | [INFO] [stderr] 764 | pub struct Store<T: 'static, E: WasmEngine> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: consider adding an explicit lifetime bound [INFO] [stderr] | [INFO] [stderr] 1969 | pub struct Store<T: 'static, E: backend::WasmEngine> { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0310]: the parameter type `T` may not live long enough [INFO] [stderr] --> src/lib.rs:2035:12 [INFO] [stderr] | [INFO] [stderr] 2035 | inner: wasm_runtime_layer::StoreContext<'a, StoreInner<T, E>, E>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the parameter type `T` must be valid for the static lifetime... [INFO] [stderr] | ...so that the type `StoreInner<T, E>` will meet its required lifetime bounds... [INFO] [stderr] | [INFO] [stderr] note: ...that is required by this bound [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm_runtime_layer-0.7.0/src/lib.rs:802:32 [INFO] [stderr] | [INFO] [stderr] 802 | pub struct StoreContext<'a, T: 'static, E: WasmEngine> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: consider adding an explicit lifetime bound [INFO] [stderr] | [INFO] [stderr] 2033 | pub struct StoreContext<'a, T: 'a + 'static, E: backend::WasmEngine> { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0310]: the parameter type `T` may not live long enough [INFO] [stderr] --> src/lib.rs:2058:12 [INFO] [stderr] | [INFO] [stderr] 2058 | inner: wasm_runtime_layer::StoreContextMut<'a, StoreInner<T, E>, E>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the parameter type `T` must be valid for the static lifetime... [INFO] [stderr] | ...so that the type `StoreInner<T, E>` will meet its required lifetime bounds... [INFO] [stderr] | [INFO] [stderr] note: ...that is required by this bound [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm_runtime_layer-0.7.0/src/lib.rs:825:35 [INFO] [stderr] | [INFO] [stderr] 825 | pub struct StoreContextMut<'a, T: 'static, E: WasmEngine> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: consider adding an explicit lifetime bound [INFO] [stderr] | [INFO] [stderr] 2056 | pub struct StoreContextMut<'a, T: 'a + 'static, E: backend::WasmEngine> { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0310, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0310`. [INFO] [stderr] warning: `wasm_component_layer` (lib doc) generated 2 warnings [INFO] [stderr] error: could not document `wasm_component_layer` [INFO] running `Command { std: "docker" "inspect" "4c12b35d6d034a29319c45d8b3eb61b370b3f0fb27e31750af47a699843ec7e6", kill_on_drop: false }`