ambient_ui 0.2.1

A UI library for the Ambient runtime, built on top of Ambient's Element library.
Build #8097712023-05-06T16:51:56.637340+00:00
# rustc version
rustc 1.71.0-nightly (f9a6b7158 2023-05-05)# docs.rs version
docsrs 0.6.0 (169bc021 2023-04-30)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ambient_ui-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ambient_ui-0.2.1/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230505-1.71.0-nightly-f9a6b7158\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b192131783bc128805df3d96a0f030c23ee7b799953691567dc778f5ae748927
[INFO] running `Command { std: "docker" "start" "-a" "b192131783bc128805df3d96a0f030c23ee7b799953691567dc778f5ae748927", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]     Checking ambient_element v0.2.1
[INFO] [stderr] error[E0432]: unresolved import `ambient_guest_bridge::ecs`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/lib.rs:50:27
[INFO] [stderr]    |
[INFO] [stderr] 50 | use ambient_guest_bridge::ecs::{Component, ComponentDesc, ComponentValue, Entity, EntityId, World};
[INFO] [stderr]    |                           ^^^ could not find `ecs` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `ambient_guest_bridge::ecs`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/element_config.rs:5:27
[INFO] [stderr]   |
[INFO] [stderr] 5 | use ambient_guest_bridge::ecs::{Component, ComponentDesc, ComponentValue, Entity, EntityId, World};
[INFO] [stderr]   |                           ^^^ could not find `ecs` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `ambient_guest_bridge::ecs`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/hooks.rs:18:27
[INFO] [stderr]    |
[INFO] [stderr] 18 | use ambient_guest_bridge::ecs::{ComponentValue, World};
[INFO] [stderr]    |                           ^^^ could not find `ecs` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `components` in `ambient_guest_bridge`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     components::app::name,
[INFO] [stderr]    |     ^^^^^^^^^^ could not find `components` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `ambient_guest_bridge::RuntimeMessage`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/hooks.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use ambient_guest_bridge::RuntimeMessage;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RuntimeMessage` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `components` in `ambient_guest_bridge`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/lib.rs:71:31
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub use ambient_guest_bridge::components::app::{element, element_unmanaged_children};
[INFO] [stderr]    |                               ^^^^^^^^^^ could not find `components` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `ambient_guest_bridge::ecs`, `crate::element_unmanaged_children`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::element_unmanaged_children;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     ecs::{Entity, EntityId, World},
[INFO] [stderr]    |     ^^^ could not find `ecs` in `ambient_guest_bridge`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `parent` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:320:52
[INFO] [stderr]     |
[INFO] [stderr] 320 |                     entity_data = entity_data.with(parent(), parent_entity);
[INFO] [stderr]     |                                                    ^^^^^^ help: a local variable with a similar name exists: `part`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `children` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:378:56
[INFO] [stderr]     |
[INFO] [stderr] 378 |                 let mut childs = world.get_ref(parent, children()).unwrap().clone();
[INFO] [stderr]     |                                                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `children` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:384:35
[INFO] [stderr]     |
[INFO] [stderr] 384 |                 world.set(parent, children(), childs).unwrap();
[INFO] [stderr]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `children` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ambient_element-0.2.1/src/tree.rs:566:21
[INFO] [stderr]     |
[INFO] [stderr] 566 |                     children(),
[INFO] [stderr]     |                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `ambient_element` (lib) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "b192131783bc128805df3d96a0f030c23ee7b799953691567dc778f5ae748927", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b192131783bc128805df3d96a0f030c23ee7b799953691567dc778f5ae748927", kill_on_drop: false }`
[INFO] [stdout] b192131783bc128805df3d96a0f030c23ee7b799953691567dc778f5ae748927