wasm_component_layer 0.1.18

WebAssembly component model implementation for any backend.
Documentation

Build #4308323 2026-09-03 02:34:46

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.100.0-nightly (2e2b193f8 2026-09-02)

# docs.rs version docsrs 0.0.0 (c6ca30c0fecf66cc5a0859ac541222ca6c912d59 2026-09-01 )

# 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" "6308f2a0528c6a0c63eec082faea20f531c564a180ea1820c6053fab8bc0d331" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260902-1.100.0-nightly-2e2b193f8\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:96:1 [INFO] [stderr] | [INFO] [stderr] 96 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `wasm_component_layer` (manifest) generated 1 warning [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] 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] 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] 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" "6308f2a0528c6a0c63eec082faea20f531c564a180ea1820c6053fab8bc0d331", kill_on_drop: false }`