[INFO] fetching crate polyhorn-yoga 0.3.4... [INFO] checking polyhorn-yoga-0.3.4 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate polyhorn-yoga 0.3.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate polyhorn-yoga 0.3.4 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate polyhorn-yoga 0.3.4 [INFO] finished tweaking crates.io crate polyhorn-yoga 0.3.4 [INFO] tweaked toml for crates.io crate polyhorn-yoga 0.3.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate polyhorn-yoga 0.3.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded clang-sys v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21caca8543f24b6e49cc90537c1ef5154902acac5f7068e4b24c24ef0be02cff [INFO] running `Command { std: "docker" "start" "-a" "21caca8543f24b6e49cc90537c1ef5154902acac5f7068e4b24c24ef0be02cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21caca8543f24b6e49cc90537c1ef5154902acac5f7068e4b24c24ef0be02cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21caca8543f24b6e49cc90537c1ef5154902acac5f7068e4b24c24ef0be02cff", kill_on_drop: false }` [INFO] [stdout] 21caca8543f24b6e49cc90537c1ef5154902acac5f7068e4b24c24ef0be02cff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4941b2631fadef14b9576a5e679b8be5c1a52b4a668f2896b7fdf5e63e3969 [INFO] running `Command { std: "docker" "start" "-a" "8d4941b2631fadef14b9576a5e679b8be5c1a52b4a668f2896b7fdf5e63e3969", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling polyhorn-yoga v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/node_drop_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/border_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/dirty_marking.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/style_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/node_child_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/align_self_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> examples/layout.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/flex_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "style_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "node_drop_test") due to 2 previous errors [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "node_child_test") due to 2 previous errors [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> examples/layout.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | style!(node, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `make_styles` in this scope [INFO] [stdout] --> examples/layout.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let child_styles = make_styles!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use polyhorn_yoga::make_styles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | style!(root_child_1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:55:2 [INFO] [stdout] | [INFO] [stdout] 55 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | style!(root_child_1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 79 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 99 | style!(root_child_0, Display(Display::Flex), FlexGrow(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:103:2 [INFO] [stdout] | [INFO] [stdout] 103 | style!(root_child_1, Display(Display::None), FlexGrow(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | style!(root_child_1_child_0_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (example "layout") due to 4 previous errors [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:157:2 [INFO] [stdout] | [INFO] [stdout] 157 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use polyhorn_yoga::style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "dirty_marking") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/align_self_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_align_self(Align::Center); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/align_self_test.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | root_child0.set_align_self(Align::FlexEnd); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/align_self_test.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | root_child0.set_align_self(Align::FlexStart); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 122 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/align_self_test.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | root.set_align_items(Align::FlexStart); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | root_child0.set_align_self(Align::FlexEnd); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/border_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/align_self_test.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_border(Edge::Left, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_border(Edge::Top, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_self_test.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::FlexDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | root.set_border(Edge::Right, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | root.set_border(Edge::Bottom, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | root_child0.set_align_self(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | root_child0.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | root_child0.set_height(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_self_test.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | root_child1.set_align_self(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | root_child1.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | root_child1.set_height(StyleUnit::Point((20 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/align_self_test.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let mut root_child1_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | root_child1_child0.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | root_child1_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | root_child1_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_self_test.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | root_child1_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/border_test.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | root.set_border(Edge::Left, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | root.set_border(Edge::Top, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | root.set_border(Edge::Right, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/align_self_test.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | root.set_border(Edge::Bottom, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_self_test.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/border_test.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | root.set_border(Edge::Left, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | root.set_border(Edge::Top, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | root.set_border(Edge::Right, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | root.set_border(Edge::Bottom, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/border_test.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | root.set_border(Edge::Left, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | root.set_border(Edge::Top, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | root.set_border(Edge::Right, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | root.set_border(Edge::Bottom, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:152:46 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/border_test.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/border_test.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | root.set_justify_content(Justify::Center); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Justify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/border_test.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | root.set_align_items(Align::Center); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Align; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | root.set_border(Edge::Start, 10 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | root.set_border(Edge::End, 20 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/border_test.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | root.set_border(Edge::Bottom, 20 as f32); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/border_test.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | root_child0.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/border_test.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:184:35 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/border_test.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/border_test.rs:196:46 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 94 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "align_self_test") due to 95 previous errors [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "border_test") due to 87 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_flex_basis(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/flex_test.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::FlexDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | root_child0.set_flex_basis(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_flex_basis(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | root_child1.set_flex_basis(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/flex_test.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::FlexDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | root_child0.set_flex_basis(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:193:28 [INFO] [stdout] | [INFO] [stdout] 193 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | root_child1.set_flex_basis(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:202:46 [INFO] [stdout] | [INFO] [stdout] 202 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:219:46 [INFO] [stdout] | [INFO] [stdout] 219 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | root.set_height(StyleUnit::Point((75 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | root_child0.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | root_child0.set_height(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | root_child1.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | root_child1.set_height(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | let mut root_child2 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | root_child2.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | root_child2.set_height(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:287:46 [INFO] [stdout] | [INFO] [stdout] 287 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | root_child0.set_flex_basis(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | root_child0.set_height(StyleUnit::Point((20 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:326:24 [INFO] [stdout] | [INFO] [stdout] 326 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | root_child1.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let mut root_child2 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | root_child2.set_height(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:339:46 [INFO] [stdout] | [INFO] [stdout] 339 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:361:24 [INFO] [stdout] | [INFO] [stdout] 361 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:361:46 [INFO] [stdout] | [INFO] [stdout] 361 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | let mut root_child0_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:400:35 [INFO] [stdout] | [INFO] [stdout] 400 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:401:36 [INFO] [stdout] | [INFO] [stdout] 401 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:403:24 [INFO] [stdout] | [INFO] [stdout] 403 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:403:35 [INFO] [stdout] | [INFO] [stdout] 403 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/flex_test.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | root.set_width(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:444:18 [INFO] [stdout] | [INFO] [stdout] 444 | root.set_height(StyleUnit::Point((500 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | root_child0.set_flex_basis(StyleUnit::Point((40 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:450:29 [INFO] [stdout] | [INFO] [stdout] 450 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:456:29 [INFO] [stdout] | [INFO] [stdout] 456 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_test.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | let mut root_child2 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:461:28 [INFO] [stdout] | [INFO] [stdout] 461 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_test.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:464:24 [INFO] [stdout] | [INFO] [stdout] 464 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:464:46 [INFO] [stdout] | [INFO] [stdout] 464 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_test.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_test.rs:486:46 [INFO] [stdout] | [INFO] [stdout] 486 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 13 + use polyhorn_yoga::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 156 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/Yoga.cpp:1854:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: polyhorn-yoga@0.3.4: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: polyhorn-yoga@0.3.4: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: polyhorn-yoga@0.3.4: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: polyhorn-yoga@0.3.4: 12 | struct YGLayout { [INFO] [stderr] warning: polyhorn-yoga@0.3.4: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` (test "flex_test") due to 157 previous errors [INFO] running `Command { std: "docker" "inspect" "8d4941b2631fadef14b9576a5e679b8be5c1a52b4a668f2896b7fdf5e63e3969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4941b2631fadef14b9576a5e679b8be5c1a52b4a668f2896b7fdf5e63e3969", kill_on_drop: false }` [INFO] [stdout] 8d4941b2631fadef14b9576a5e679b8be5c1a52b4a668f2896b7fdf5e63e3969