[INFO] fetching crate bevy_lunex_core 0.0.6... [INFO] testing bevy_lunex_core-0.0.6 against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] extracting crate bevy_lunex_core 0.0.6 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate bevy_lunex_core 0.0.6 on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bevy_lunex_core 0.0.6 [INFO] finished tweaking crates.io crate bevy_lunex_core 0.0.6 [INFO] tweaked toml for crates.io crate bevy_lunex_core 0.0.6 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e1a3f80b91ba5df321b6f11480c7352fc195d951d5d89ad4132f043ec0365d6 [INFO] running `Command { std: "docker" "start" "-a" "1e1a3f80b91ba5df321b6f11480c7352fc195d951d5d89ad4132f043ec0365d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e1a3f80b91ba5df321b6f11480c7352fc195d951d5d89ad4132f043ec0365d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1a3f80b91ba5df321b6f11480c7352fc195d951d5d89ad4132f043ec0365d6", kill_on_drop: false }` [INFO] [stdout] 1e1a3f80b91ba5df321b6f11480c7352fc195d951d5d89ad4132f043ec0365d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e899d22967ab7ce9444e1834de9e16cdc352dbadf252f01ae7b063f647fbeb9 [INFO] running `Command { std: "docker" "start" "-a" "9e899d22967ab7ce9444e1834de9e16cdc352dbadf252f01ae7b063f647fbeb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling bevy_ptr v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling bevy_tasks v0.11.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling profiling v1.0.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling sysinfo v0.29.10 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling constgebra v0.1.3 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling bevy_macro_utils v0.11.2 [INFO] [stderr] Compiling encase_derive_impl v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.11.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.11.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.11.2 [INFO] [stderr] Compiling bevy_derive v0.11.2 [INFO] [stderr] Compiling encase_derive v0.6.1 [INFO] [stderr] Compiling bevy_render_macros v0.11.2 [INFO] [stderr] Compiling bevy_encase_derive v0.11.2 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling glam v0.24.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling naga_oil v0.8.2 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling bevy_utils v0.11.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling bevy_math v0.11.2 [INFO] [stderr] Compiling encase v0.6.1 [INFO] [stderr] Compiling hexasphere v9.1.0 [INFO] [stderr] Compiling bevy_mikktspace v0.11.2 [INFO] [stderr] Compiling bevy_reflect v0.11.2 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling bevy_ecs v0.11.2 [INFO] [stderr] Compiling bevy_app v0.11.2 [INFO] [stderr] Compiling bevy_core v0.11.2 [INFO] [stderr] Compiling bevy_log v0.11.2 [INFO] [stderr] Compiling bevy_time v0.11.2 [INFO] [stderr] Compiling bevy_input v0.11.2 [INFO] [stderr] Compiling bevy_a11y v0.11.2 [INFO] [stderr] Compiling bevy_hierarchy v0.11.2 [INFO] [stderr] Compiling bevy_diagnostic v0.11.2 [INFO] [stderr] Compiling bevy_transform v0.11.2 [INFO] [stderr] Compiling bevy_asset v0.11.2 [INFO] [stderr] Compiling bevy_window v0.11.2 [INFO] [stderr] Compiling bevy_render v0.11.2 [INFO] [stderr] Compiling bevy_core_pipeline v0.11.2 [INFO] [stderr] Compiling bevy_sprite v0.11.2 [INFO] [stderr] Compiling bevy_text v0.11.2 [INFO] [stderr] Compiling bevy_internal v0.11.2 [INFO] [stderr] Compiling bevy v0.11.2 [INFO] [stderr] Compiling bevy_lunex_core v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "9e899d22967ab7ce9444e1834de9e16cdc352dbadf252f01ae7b063f647fbeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e899d22967ab7ce9444e1834de9e16cdc352dbadf252f01ae7b063f647fbeb9", kill_on_drop: false }` [INFO] [stdout] 9e899d22967ab7ce9444e1834de9e16cdc352dbadf252f01ae7b063f647fbeb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e3496902e45e0280a3c52ddc4fc5d6b4a04d5684d8066c9ee5f4ab043b6ab7 [INFO] running `Command { std: "docker" "start" "-a" "f1e3496902e45e0280a3c52ddc4fc5d6b4a04d5684d8066c9ee5f4ab043b6ab7", kill_on_drop: false }` [INFO] [stderr] Compiling bevy_lunex_core v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "f1e3496902e45e0280a3c52ddc4fc5d6b4a04d5684d8066c9ee5f4ab043b6ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e3496902e45e0280a3c52ddc4fc5d6b4a04d5684d8066c9ee5f4ab043b6ab7", kill_on_drop: false }` [INFO] [stdout] f1e3496902e45e0280a3c52ddc4fc5d6b4a04d5684d8066c9ee5f4ab043b6ab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4af8e1d5a120933cf3e15d92ea7e3165cfc6c418789a2891e9a4f0866e7b2515 [INFO] running `Command { std: "docker" "start" "-a" "4af8e1d5a120933cf3e15d92ea7e3165cfc6c418789a2891e9a4f0866e7b2515", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bevy_lunex_core-92005c11e79551e9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bevy_lunex_core [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/code/tree.rs - code::tree::UiBranch::merge (line 265) ... FAILED [INFO] [stdout] test src/code/tree.rs - code::tree::UiBranch::merge (line 255) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::create (line 686) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::fetch (line 42) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::add (line 838) ... FAILED [INFO] [stdout] test src/code/tree.rs - code::tree::UiTree::merge (line 101) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::str (line 853) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::end (line 867) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::new (line 653) ... FAILED [INFO] [stdout] test src/code/tree.rs - code::tree::UiTree::merge (line 91) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::create (line 673) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::fetch_ext (line 72) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::fetch_mut (line 105) ... FAILED [INFO] [stdout] test src/code/widget.rs - code::widget::Widget::fetch_mut_ext (line 138) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/code/tree.rs - code::tree::UiBranch::merge (line 265) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:269:55 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", Layout::Solid::default().pack())?; //No name but ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", bevy_lunex_core::LayoutPackage().pack())?; //No name but ID is '0' [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 3 | let mut existing_tree = UiTree::new(); //Let's say it contains other widgets... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 5 | let mut merged_tree = UiTree::new(); //This is blank new tree, so it's empty... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", Layout::Solid::default().pack())?; //No name but ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/tree.rs - code::tree::UiBranch::merge (line 255) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:259:65 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", Layout::Solid::default().pack())?; //It's first so ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", bevy_lunex_core::LayoutPackage().pack())?; //It's first so ID is '0' [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:260:67 [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), Layout::Solid::default().pack())?; //unnamed widgets not in the root a... [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), bevy_lunex_core::LayoutPackage().pack())?; //unnamed widgets not in the root are fine [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 3 | let mut existing_tree = UiTree::new(); //Let's say it contains other widgets... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 5 | let mut merged_tree = UiTree::new(); //This is blank new tree, so it's empty... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", Layout::Solid::default().pack())?; //It's first so ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), Layout::Solid::default().pack())?; //unnamed widgets not in the root a... [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::create (line 686) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "", PositionLayout::Default); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `system` in this scope [INFO] [stdout] --> src/code/widget.rs:687:40 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "", PositionLayout::Default); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:688:22 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, &menu_pointer.end(""), PositionLayout::Default); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `system` in this scope [INFO] [stdout] --> src/code/widget.rs:688:42 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, &menu_pointer.end(""), PositionLayout::Default); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:687:52 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "", PositionLayout::Default); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:688:73 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, &menu_pointer.end(""), PositionLayout::Default); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::fetch (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/widget.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 3 | let tree = UiTree::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 10 | let menu: &UiBranch = menu_pointer.fetch(&tree)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 11 | let button: &UiBranch = button_pointer.fetch(&tree)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::add (line 838) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/code/widget.rs:839:32 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:840:16 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/code/widget.rs:840:36 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:839:46 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:840:65 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/tree.rs - code::tree::UiTree::merge (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", Layout::Solid::default().pack())?; //No name but ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", bevy_lunex_core::LayoutPackage().pack())?; //No name but ID is '0' [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 3 | let mut existing_tree = UiTree::new(); //Let's say it contains other widgets... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 5 | let mut merged_tree = UiTree::new(); //This is blank new tree, so it's empty... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "", Layout::Solid::default().pack())?; //No name but ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::str (line 853) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:854:12 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/code/widget.rs:854:32 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:854:46 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::end (line 867) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:868:12 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/code/widget.rs:868:32 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:869:16 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/code/widget.rs:869:36 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:868:46 [INFO] [stdout] | [INFO] [stdout] 3 | let menu = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:869:65 [INFO] [stdout] | [INFO] [stdout] 4 | let category = Widget::create(&mut tree, &menu.end("Category"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::new (line 653) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = Widget::new("Button"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:655:22 [INFO] [stdout] | [INFO] [stdout] 4 | let setting_button = Widget::new("Settings/Button"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/tree.rs - code::tree::UiTree::merge (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", Layout::Solid::default().pack())?; //It's first so ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", bevy_lunex_core::LayoutPackage().pack())?; //It's first so ID is '0' [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/code/tree.rs:96:67 [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), Layout::Solid::default().pack())?; //unnamed widgets not in the root a... [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `bevy_lunex_core::LayoutPackage::Solid`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), bevy_lunex_core::LayoutPackage().pack())?; //unnamed widgets not in the root are fine [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 3 | let mut existing_tree = UiTree::new(); //Let's say it contains other widgets... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/tree.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 5 | let mut merged_tree = UiTree::new(); //This is blank new tree, so it's empty... [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 6 | let background = Widget::create(&mut merged_tree, "background", Layout::Solid::default().pack())?; //It's first so ID is '0' [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/tree.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 7 | let image = Widget::create(&mut merged_tree, &background.end(""), Layout::Solid::default().pack())?; //unnamed widgets not in the root a... [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::create (line 673) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:674:20 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "Menu", PositionLayout::Default); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `system` in this scope [INFO] [stdout] --> src/code/widget.rs:674:40 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "Menu", PositionLayout::Default); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:675:22 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, "Menu/Button", PositionLayout::Default); //Not recommended way of defining path [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `system` in this scope [INFO] [stdout] --> src/code/widget.rs:675:42 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, "Menu/Button", PositionLayout::Default); //Not recommended way of defining path [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:674:56 [INFO] [stdout] | [INFO] [stdout] 3 | let menu_pointer = Widget::create(&mut system, "Menu", PositionLayout::Default); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:675:65 [INFO] [stdout] | [INFO] [stdout] 4 | let button_pointer = Widget::create(&mut system, "Menu/Button", PositionLayout::Default); //Not recommended way of defining path [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::fetch_ext (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/widget.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 3 | let tree = UiTree::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 10 | let menu: &UiBranch = menu_pointer.fetch_ext(&tree, "")?; //Leave blank for self [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 11 | let button: &UiBranch = menu_pointer.fetch_ext(&tree, "Button")?; //You can locate sub-widgets [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:77:77 [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::fetch_mut (line 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/widget.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 3 | let tree = UiTree::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 10 | let menu: &mut UiBranch = menu_pointer.fetch_mut(&mut tree)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 11 | let button: &mut UiBranch = button_pointer.fetch_mut(&mut tree)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:110:77 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code/widget.rs - code::widget::Widget::fetch_mut_ext (line 138) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UiTree` [INFO] [stdout] --> src/code/widget.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 3 | let tree = UiTree::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `UiTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/code/widget.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 10 | let menu: &mut UiBranch = menu_pointer.fetch_mut_ext(&mut tree, "")?; //Leave blank for self [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UiBranch` in this scope [INFO] [stdout] --> src/code/widget.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 11 | let button: &mut UiBranch = menu_pointer.fetch_mut_ext(&mut tree, "Button")?; //You can locate sub-widgets [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bevy_lunex_core::UiBranch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:142:54 [INFO] [stdout] | [INFO] [stdout] 6 | let menu_pointer = Widget::create(&mut tree, "Menu", PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionLayout` [INFO] [stdout] --> src/code/widget.rs:143:77 [INFO] [stdout] | [INFO] [stdout] 7 | let button_pointer = Widget::create(&mut tree, &menu_pointer.end("Button"), PositionLayout::Default)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PositionLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/code/tree.rs - code::tree::UiBranch::merge (line 255) [INFO] [stdout] src/code/tree.rs - code::tree::UiBranch::merge (line 265) [INFO] [stdout] src/code/tree.rs - code::tree::UiTree::merge (line 101) [INFO] [stdout] src/code/tree.rs - code::tree::UiTree::merge (line 91) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::add (line 838) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::create (line 673) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::create (line 686) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::end (line 867) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::fetch (line 42) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::fetch_ext (line 72) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::fetch_mut (line 105) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::fetch_mut_ext (line 138) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::new (line 653) [INFO] [stdout] src/code/widget.rs - code::widget::Widget::str (line 853) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4af8e1d5a120933cf3e15d92ea7e3165cfc6c418789a2891e9a4f0866e7b2515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af8e1d5a120933cf3e15d92ea7e3165cfc6c418789a2891e9a4f0866e7b2515", kill_on_drop: false }` [INFO] [stdout] 4af8e1d5a120933cf3e15d92ea7e3165cfc6c418789a2891e9a4f0866e7b2515