[INFO] fetching crate polyhorn-yoga 0.3.4... [INFO] testing polyhorn-yoga-0.3.4 against 1.59.0 for beta-1.60-1 [INFO] extracting crate polyhorn-yoga 0.3.4 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate polyhorn-yoga 0.3.4 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-31/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: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4d50b21a0f5c307de0bcc8b8e2298c1b79d23efe541f873eec93b001673785c [INFO] running `Command { std: "docker" "start" "-a" "f4d50b21a0f5c307de0bcc8b8e2298c1b79d23efe541f873eec93b001673785c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4d50b21a0f5c307de0bcc8b8e2298c1b79d23efe541f873eec93b001673785c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d50b21a0f5c307de0bcc8b8e2298c1b79d23efe541f873eec93b001673785c", kill_on_drop: false }` [INFO] [stdout] f4d50b21a0f5c307de0bcc8b8e2298c1b79d23efe541f873eec93b001673785c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23390bcc5e7140500e65308673c2eab5aee5ac509d829ad8bded8c1456f5d7fa [INFO] running `Command { std: "docker" "start" "-a" "23390bcc5e7140500e65308673c2eab5aee5ac509d829ad8bded8c1456f5d7fa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clang-sys v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling polyhorn-yoga v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.16s [INFO] running `Command { std: "docker" "inspect" "23390bcc5e7140500e65308673c2eab5aee5ac509d829ad8bded8c1456f5d7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23390bcc5e7140500e65308673c2eab5aee5ac509d829ad8bded8c1456f5d7fa", kill_on_drop: false }` [INFO] [stdout] 23390bcc5e7140500e65308673c2eab5aee5ac509d829ad8bded8c1456f5d7fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a449b33ef86ae14e2a3d0d6bc8e1321c88cd7e2e90366d8ca0adad7add200ba5 [INFO] running `Command { std: "docker" "start" "-a" "a449b33ef86ae14e2a3d0d6bc8e1321c88cd7e2e90366d8ca0adad7add200ba5", kill_on_drop: false }` [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] Compiling polyhorn-yoga v0.3.4 (/opt/rustwide/workdir) [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] --> 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[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/node_drop_test.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/node_drop_test.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut c = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::make_styles [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> examples/layout.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let mut node = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> examples/layout.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let mut child = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> examples/layout.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut other_child = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `polyhorn-yoga` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/baseline_func_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/size_overflow_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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | style!(root_child_1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | style!(root_child_1_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/context_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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/baseline_func_test.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | extern "C" fn baseline_func(_: NodeRef, _: f32, _: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/baseline_func_test.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/baseline_func_test.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/baseline_func_test.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let mut root_child_1 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/baseline_func_test.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let mut root_child_1_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | 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] 4 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/baseline_func_test.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | 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] 4 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 4 | 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/size_overflow_test.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/edge_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/context_test.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/size_overflow_test.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/context_test.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/size_overflow_test.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/size_overflow_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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/size_overflow_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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 `Node` [INFO] [stdout] --> tests/size_overflow_test.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let mut root_child0_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | root_child0_child0.set_width(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | root_child0_child0.set_height(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 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/size_overflow_test.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | 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/size_overflow_test.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 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/size_overflow_test.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | 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/context_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/size_overflow_test.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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/size_overflow_test.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | root_child0.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | root_child0.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | let mut root_child0_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | root_child0_child0.set_width(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | root_child0_child0.set_height(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | 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/size_overflow_test.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | 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/size_overflow_test.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | 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/size_overflow_test.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | 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/size_overflow_test.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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/size_overflow_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | root_child0.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let mut root_child0_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/size_overflow_test.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | root_child0_child0.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/size_overflow_test.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | root_child0_child0.set_height(StyleUnit::Point((200 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/context_test.rs:182:46 [INFO] [stdout] | [INFO] [stdout] 182 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/size_overflow_test.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | 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/size_overflow_test.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 145 | 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/size_overflow_test.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | 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/size_overflow_test.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | 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 `Node` [INFO] [stdout] --> tests/context_test.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/context_test.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | root.set_context(Some(Context::new("test".to_string()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> tests/context_test.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | node_ref: NodeRef, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/node_child_test.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Sized { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let context = Node::get_context(&node_ref) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | Size { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/context_test.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let context = Context::new("test".to_string()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/node_child_test.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/node_child_test.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root_child0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/node_child_test.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | root_child0.set_width(StyleUnit::Point(100.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> tests/context_test.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | node_ref: NodeRef, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/node_child_test.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | root_child0.set_height(StyleUnit::Point(100.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::StyleUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/node_child_test.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/node_child_test.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/node_child_test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(Undefined, root_child0.get_layout_width()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/node_child_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(Undefined, root_child0.get_layout_height()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/align_items_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[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Sized { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let context = Node::get_context(&node_ref) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | Size { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/context_test.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | let context = Context::new("test".to_string()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> tests/context_test.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | node_ref: NodeRef, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Sized { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let context = Node::get_context(&node_ref) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | Size { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/context_test.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let data = Context::new(LocalCustomData { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/context_test.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let data = Context::new(ExternalCustomData { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:118:2 [INFO] [stdout] | [INFO] [stdout] 118 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/context_test.rs:182:35 [INFO] [stdout] | [INFO] [stdout] 182 | 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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeRef` in this scope [INFO] [stdout] --> tests/context_test.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | node_ref: NodeRef, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::NodeRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:126:2 [INFO] [stdout] | [INFO] [stdout] 126 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MeasureMode` in this scope [INFO] [stdout] --> tests/context_test.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | _: MeasureMode, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:198:6 [INFO] [stdout] | [INFO] [stdout] 198 | ) -> Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 | ) -> Sized { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/context_test.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | let context = Node::get_context(&node_ref) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Size` in this scope [INFO] [stdout] --> tests/context_test.rs:207:2 [INFO] [stdout] | [INFO] [stdout] 207 | Size { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:170:2 [INFO] [stdout] | [INFO] [stdout] 170 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:224:2 [INFO] [stdout] | [INFO] [stdout] 224 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:278:2 [INFO] [stdout] | [INFO] [stdout] 278 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:286:2 [INFO] [stdout] | [INFO] [stdout] 286 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:332:2 [INFO] [stdout] | [INFO] [stdout] 332 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/min_max_dimension_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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/edge_test.rs:340:2 [INFO] [stdout] | [INFO] [stdout] 340 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/align_content_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:202:46 [INFO] [stdout] | [INFO] [stdout] 202 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [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] [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[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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:256:46 [INFO] [stdout] | [INFO] [stdout] 256 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/rounding_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[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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:293:46 [INFO] [stdout] | [INFO] [stdout] 293 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:310:46 [INFO] [stdout] | [INFO] [stdout] 310 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/edge_test.rs:367:46 [INFO] [stdout] | [INFO] [stdout] 367 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/aspect_ratio_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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: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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | 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: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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:239:35 [INFO] [stdout] | [INFO] [stdout] 239 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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/edge_test.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/edge_test.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | let mut root_child_0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/edge_test.rs:367:35 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 5 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 5 | 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: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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/default_values_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[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] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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[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 `Config` [INFO] [stdout] --> tests/align_self_test.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `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] [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] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [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] | ^^^^ not found in this scope [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] For more information about an error, try `rustc --explain E0425`. [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] [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[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 `Config` [INFO] [stdout] --> tests/align_self_test.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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 `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] [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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[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 `Config` [INFO] [stdout] --> tests/align_self_test.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | root_child0.set_width(StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/display_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[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[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] [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[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[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 `Config` [INFO] [stdout] --> tests/align_self_test.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | root_child0.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | root_child0.set_height(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | root_child1.set_width(StyleUnit::Point((50 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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 `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] [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] | ^^^^ not found in this scope [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] [stderr] The following warnings were emitted during compilation: [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] | ^^^^^^^^^ not found in this scope [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] [stderr] [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] | ^^^^^^^^^ not found in this scope [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] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [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] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [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] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [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] [stderr] warning: | ^ [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] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [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] [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [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] [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 12 | struct YGLayout { [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] [INFO] [stderr] warning: | ^~~~~~~~ [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] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/rounding_test.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | root.set_align_items(Align::Center); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/rounding_test.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/default_values_test.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(Direction::Inherit, root.get_style_direction()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | root.set_align_items(Align::FlexStart); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/default_values_test.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(FlexDirection::Column, root.get_flex_direction()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/default_values_test.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Justify::FlexStart, root.get_justify_content()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/default_values_test.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Align::FlexStart, root.get_align_content()); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/default_values_test.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Align::Stretch, root.get_align_items()); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/default_values_test.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(Align::Auto, root.get_align_self()); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType` [INFO] [stdout] --> tests/default_values_test.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(PositionType::Relative, root.get_position_type()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PositionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/computed_margin_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/default_values_test.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(Wrap::NoWrap, root.get_flex_wrap()); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | root_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Overflow` [INFO] [stdout] --> tests/default_values_test.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(Overflow::Visible, root.get_overflow()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | root_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/justify_content_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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(StyleUnit::Auto, root.get_flex_basis()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_left()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | root_child4.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | root_child4.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_top()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_right()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_bottom()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_start()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_position_end()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_left()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_top()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_right()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_bottom()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_start()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_margin_end()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_left()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_top()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_right()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_bottom()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_start()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_padding_end()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | root.set_align_items(Align::FlexEnd); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/rounding_test.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:83:2 [INFO] [stdout] | [INFO] [stdout] 83 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(StyleUnit::Auto, root.get_style_width()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:128:2 [INFO] [stdout] | [INFO] [stdout] 128 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(StyleUnit::Auto, root.get_style_height()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_min_width()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_min_height()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:156:2 [INFO] [stdout] | [INFO] [stdout] 156 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_max_width()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/default_values_test.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(StyleUnit::UndefinedValue, root.get_style_max_height()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | style!(root_child_0, AspectRatio(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:187:2 [INFO] [stdout] | [INFO] [stdout] 187 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/default_values_test.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(Direction::Inherit, root.get_layout_direction()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/display_test.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:195:2 [INFO] [stdout] | [INFO] [stdout] 195 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/default_values_test.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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_items_test.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | root.set_align_items(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(Undefined, root.get_style_border_left()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/rounding_test.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(Undefined, root.get_style_border_top()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:223:2 [INFO] [stdout] | [INFO] [stdout] 223 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(Undefined, root.get_style_border_right()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(Undefined, root.get_style_border_bottom()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/min_max_dimension_test.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(Undefined, root.get_style_border_start()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:231:2 [INFO] [stdout] | [INFO] [stdout] 231 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_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] [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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(Undefined, root.get_style_border_end()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(Undefined, root.get_layout_width()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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_items_test.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/default_values_test.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(Undefined, root.get_layout_height()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:259:2 [INFO] [stdout] | [INFO] [stdout] 259 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/display_test.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | root_child1.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/min_max_dimension_test.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:267:2 [INFO] [stdout] | [INFO] [stdout] 267 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:294:2 [INFO] [stdout] | [INFO] [stdout] 294 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:301:2 [INFO] [stdout] | [INFO] [stdout] 301 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:331:2 [INFO] [stdout] | [INFO] [stdout] 331 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:196:46 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:338:2 [INFO] [stdout] | [INFO] [stdout] 338 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/display_test.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:368:2 [INFO] [stdout] | [INFO] [stdout] 368 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:376:2 [INFO] [stdout] | [INFO] [stdout] 376 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/computed_padding_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:404:2 [INFO] [stdout] | [INFO] [stdout] 404 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:312:46 [INFO] [stdout] | [INFO] [stdout] 312 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | root.set_align_items(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:412:2 [INFO] [stdout] | [INFO] [stdout] 412 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/dimension_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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:440:2 [INFO] [stdout] | [INFO] [stdout] 440 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/display_test.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | root_child1.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:448:2 [INFO] [stdout] | [INFO] [stdout] 448 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:476:2 [INFO] [stdout] | [INFO] [stdout] 476 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:484:2 [INFO] [stdout] | [INFO] [stdout] 484 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:353:28 [INFO] [stdout] | [INFO] [stdout] 353 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:355:29 [INFO] [stdout] | [INFO] [stdout] 355 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:512:2 [INFO] [stdout] | [INFO] [stdout] 512 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:257:35 [INFO] [stdout] | [INFO] [stdout] 257 | root_child1_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:520:2 [INFO] [stdout] | [INFO] [stdout] 520 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/display_test.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | root_child1_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:547:2 [INFO] [stdout] | [INFO] [stdout] 547 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:364:46 [INFO] [stdout] | [INFO] [stdout] 364 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:555:2 [INFO] [stdout] | [INFO] [stdout] 555 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 261 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/display_test.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | root_child0.set_margin(Edge::Left, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:582:2 [INFO] [stdout] | [INFO] [stdout] 582 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:386:46 [INFO] [stdout] | [INFO] [stdout] 386 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/display_test.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | root_child0.set_margin(Edge::Top, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:590:2 [INFO] [stdout] | [INFO] [stdout] 590 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/display_test.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_margin(Edge::Right, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/display_test.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | root_child0.set_margin(Edge::Bottom, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:617:2 [INFO] [stdout] | [INFO] [stdout] 617 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:625:2 [INFO] [stdout] | [INFO] [stdout] 625 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:420:28 [INFO] [stdout] | [INFO] [stdout] 420 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:675:2 [INFO] [stdout] | [INFO] [stdout] 675 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:422:29 [INFO] [stdout] | [INFO] [stdout] 422 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/min_max_dimension_test.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:684:2 [INFO] [stdout] | [INFO] [stdout] 684 | style!(root_child_0, AspectRatio(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/rounding_test.rs:428:34 [INFO] [stdout] | [INFO] [stdout] 428 | root_child0_child0.set_position(Edge::Bottom, StyleUnit::Point((13.3 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:708:2 [INFO] [stdout] | [INFO] [stdout] 708 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:429:35 [INFO] [stdout] | [INFO] [stdout] 429 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:717:2 [INFO] [stdout] | [INFO] [stdout] 717 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:431:36 [INFO] [stdout] | [INFO] [stdout] 431 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:746:2 [INFO] [stdout] | [INFO] [stdout] 746 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/computed_padding_test.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/computed_margin_test.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/rounding_test.rs:437:34 [INFO] [stdout] | [INFO] [stdout] 437 | root_child0_child1.set_position(Edge::Top, StyleUnit::Point((13.3 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/display_test.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | root_child0.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:754:2 [INFO] [stdout] | [INFO] [stdout] 754 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/computed_padding_test.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | root.calculate_layout(100.0, 100.0, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:168:46 [INFO] [stdout] | [INFO] [stdout] 168 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:438:35 [INFO] [stdout] | [INFO] [stdout] 438 | root_child0_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/display_test.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/computed_padding_test.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | root.calculate_layout(100.0, 100.0, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/computed_margin_test.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | root.calculate_layout(100.0, 100.0, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:783:2 [INFO] [stdout] | [INFO] [stdout] 783 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/computed_padding_test.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/computed_margin_test.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | root.calculate_layout(100.0, 100.0, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:440:36 [INFO] [stdout] | [INFO] [stdout] 440 | root_child0_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/computed_margin_test.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [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] [INFO] [stderr] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:792:2 [INFO] [stdout] | [INFO] [stdout] 792 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [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] [INFO] [stderr] warning: | ^ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:800:2 [INFO] [stdout] | [INFO] [stdout] 800 | style!(root_child_1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/display_test.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | root_child1.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:835:2 [INFO] [stdout] | [INFO] [stdout] 835 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/min_max_dimension_test.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | root.set_justify_content(Justify::Center); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:454:29 [INFO] [stdout] | [INFO] [stdout] 454 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:843:2 [INFO] [stdout] | [INFO] [stdout] 843 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_content_test.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/flex_direction_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[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/align_content_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:851:2 [INFO] [stdout] | [INFO] [stdout] 851 | style!(root_child_1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:886:2 [INFO] [stdout] | [INFO] [stdout] 886 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dimension_test.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:283:46 [INFO] [stdout] | [INFO] [stdout] 283 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:895:2 [INFO] [stdout] | [INFO] [stdout] 895 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 488 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:923:2 [INFO] [stdout] | [INFO] [stdout] 923 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dimension_test.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:931:2 [INFO] [stdout] | [INFO] [stdout] 931 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:219:46 [INFO] [stdout] | [INFO] [stdout] 219 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:959:2 [INFO] [stdout] | [INFO] [stdout] 959 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:248:46 [INFO] [stdout] | [INFO] [stdout] 248 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | root.set_align_items(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:318:28 [INFO] [stdout] | [INFO] [stdout] 318 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | root_child1.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:966:2 [INFO] [stdout] | [INFO] [stdout] 966 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/align_items_test.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | root_child1.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^ not found in this scope [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 `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:334:35 [INFO] [stdout] | [INFO] [stdout] 334 | root_child1_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^ not found in this scope [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] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:996:2 [INFO] [stdout] | [INFO] [stdout] 996 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:532:28 [INFO] [stdout] | [INFO] [stdout] 532 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^^^^^^ not found in this scope [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: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] [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] | ^^^^^^^^^ not found in this scope [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: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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | root_child0_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^ not found in this scope [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: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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:534:29 [INFO] [stdout] | [INFO] [stdout] 534 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^^^^^^ not found in this scope [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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1003:2 [INFO] [stdout] | [INFO] [stdout] 1003 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/min_max_dimension_test.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | root.set_align_items(Align::Center); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [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] | ^^^^ not found in this scope [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_content_test.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:336:36 [INFO] [stdout] | [INFO] [stdout] 336 | root_child1_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | root_child0_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | root_child1_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:343:36 [INFO] [stdout] | [INFO] [stdout] 343 | root_child1_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:348:35 [INFO] [stdout] | [INFO] [stdout] 348 | root_child1_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_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] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | root_child1_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1033:2 [INFO] [stdout] | [INFO] [stdout] 1033 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | root_child1_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | root_child1_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_items_test.rs:396:46 [INFO] [stdout] | [INFO] [stdout] 396 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:541:29 [INFO] [stdout] | [INFO] [stdout] 541 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_items_test.rs:440:23 [INFO] [stdout] | [INFO] [stdout] 440 | root.set_align_items(Align::Baseline); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [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 `Config` [INFO] [stdout] --> tests/flex_test.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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 `Direction` [INFO] [stdout] --> tests/dimension_test.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1041:2 [INFO] [stdout] | [INFO] [stdout] 1041 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] | ^^^^^^^^^ not found in this scope [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/rounding_test.rs:546:28 [INFO] [stdout] | [INFO] [stdout] 546 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_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] [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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/justify_content_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] [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] | ^^^^ not found in this scope [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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | root_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dimension_test.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_items_test.rs:446:28 [INFO] [stdout] | [INFO] [stdout] 446 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/dimension_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | root_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:550:46 [INFO] [stdout] | [INFO] [stdout] 550 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/dimension_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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_items_test.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/dimension_test.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/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 `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | root_child0.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 `FlexDirection` [INFO] [stdout] --> tests/align_items_test.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | root_child1.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 `Wrap` [INFO] [stdout] --> tests/align_items_test.rs:453:28 [INFO] [stdout] | [INFO] [stdout] 453 | root_child1.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [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 `Config` [INFO] [stdout] --> tests/flex_test.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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/dimension_test.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | 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_content_test.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | root_child4.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^^^^^^ not found in this scope [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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1068:2 [INFO] [stdout] | [INFO] [stdout] 1068 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^^^^^^ not found in this scope [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/dimension_test.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | 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/rounding_test.rs:572:46 [INFO] [stdout] | [INFO] [stdout] 572 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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_items_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] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dimension_test.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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/dimension_test.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | 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: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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | root_child4.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1075:2 [INFO] [stdout] | [INFO] [stdout] 1075 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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 `Config` [INFO] [stdout] --> tests/dimension_test.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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/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 `Node` [INFO] [stdout] --> tests/dimension_test.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/flex_test.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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/dimension_test.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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 `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] [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] | ^^^^ not found in this scope [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: aborting due to 94 previous errors [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] | ^^^^^^^^^ not found in this scope [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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1102:2 [INFO] [stdout] | [INFO] [stdout] 1102 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [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] | ^^^^^^^^^ not found in this scope [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/dimension_test.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let mut root_child0_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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 `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] | ^^^^ not found in this scope [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] [stderr] The following warnings were emitted during compilation: [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] | ^^^^^^^^^ not found in this scope [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] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | root_child0_child0.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [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] | ^^^^ not found in this scope [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] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/display_test.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^ [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] | ^^^^^^^^^ not found in this scope [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] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/dimension_test.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0_child0.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] [stderr] warning: from src/yoga/yoga/Utils.h:9, [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] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [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] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dimension_test.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | 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] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1109:2 [INFO] [stdout] | [INFO] [stdout] 1109 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dimension_test.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | 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] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dimension_test.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | 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] [stderr] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dimension_test.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | 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] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1136:2 [INFO] [stdout] | [INFO] [stdout] 1136 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:606:28 [INFO] [stdout] | [INFO] [stdout] 606 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | root.set_justify_content(Justify::FlexEnd); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1145:2 [INFO] [stdout] | [INFO] [stdout] 1145 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:608:29 [INFO] [stdout] | [INFO] [stdout] 608 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1174:2 [INFO] [stdout] | [INFO] [stdout] 1174 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [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] [stderr] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/aspect_ratio_test.rs:1183:2 [INFO] [stdout] | [INFO] [stdout] 1183 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] polyhorn_yoga::style [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/relayout_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [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] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: 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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [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] | ^^^^^^ not found in this scope [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] [stderr] warning: | ^ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/align_content_test.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | root.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [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] | ^^^^ not found in this scope [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] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:620:28 [INFO] [stdout] | [INFO] [stdout] 620 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [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] | ^^^^^^^^^ not found in this scope [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] [stderr] warning: 12 | struct YGLayout { [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] | ^^^^ not found in this scope [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] [stderr] warning: | ^~~~~~~~ [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] | ^^^^^^^^^ not found in this scope [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] [stderr] [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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/justify_content_test.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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/justify_content_test.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:624:46 [INFO] [stdout] | [INFO] [stdout] 624 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [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 `Config` [INFO] [stdout] --> tests/flex_test.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^ not found in this scope [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 `Direction` [INFO] [stdout] --> tests/rounding_test.rs:646:46 [INFO] [stdout] | [INFO] [stdout] 646 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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/justify_content_test.rs:135:46 [INFO] [stdout] | [INFO] [stdout] 135 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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/aspect_ratio_test.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^^^^^^ not found in this scope [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_content_test.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^ not found in this scope [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_content_test.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] | ^^^^^^^^^ not found in this scope [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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | root.set_justify_content(Justify::Center); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [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] | ^^^^ not found in this scope [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/rounding_test.rs:674:20 [INFO] [stdout] | [INFO] [stdout] 674 | root.set_position(Edge::Top, StyleUnit::Point((0.3 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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] | ^^^^^^^^^ not found in this scope [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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | root_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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 `Config` [INFO] [stdout] --> tests/flex_test.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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 `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] | ^^^^ not found in this scope [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/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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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 `Config` [INFO] [stdout] --> tests/flex_test.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^ not found in this scope [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/style_test.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(FlexDirection::Column, node0.get_flex_direction()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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] | ^^^^^^^^^ not found in this scope [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/aspect_ratio_test.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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_content_test.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | root_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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] | ^^^^^^^^^ not found in this scope [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] | ^^^^ not found in this scope [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 `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] | ^^^^ not found in this scope [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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:681:28 [INFO] [stdout] | [INFO] [stdout] 681 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:683:29 [INFO] [stdout] | [INFO] [stdout] 683 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:688:28 [INFO] [stdout] | [INFO] [stdout] 688 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | root_child4.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | root_child4.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:690:29 [INFO] [stdout] | [INFO] [stdout] 690 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:164:46 [INFO] [stdout] | [INFO] [stdout] 164 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:695:28 [INFO] [stdout] | [INFO] [stdout] 695 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:699:46 [INFO] [stdout] | [INFO] [stdout] 699 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | root.set_justify_content(Justify::SpaceBetween); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:721:46 [INFO] [stdout] | [INFO] [stdout] 721 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/align_content_test.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | root.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/rounding_test.rs:749:20 [INFO] [stdout] | [INFO] [stdout] 749 | root.set_position(Edge::Top, StyleUnit::Point((0.7 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:203:46 [INFO] [stdout] | [INFO] [stdout] 203 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:257:46 [INFO] [stdout] | [INFO] [stdout] 257 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:756:28 [INFO] [stdout] | [INFO] [stdout] 756 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:279:46 [INFO] [stdout] | [INFO] [stdout] 279 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:758:29 [INFO] [stdout] | [INFO] [stdout] 758 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:763:28 [INFO] [stdout] | [INFO] [stdout] 763 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 308 | root.set_justify_content(Justify::SpaceAround); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:765:29 [INFO] [stdout] | [INFO] [stdout] 765 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:770:28 [INFO] [stdout] | [INFO] [stdout] 770 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 266 | root_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | root_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:772:29 [INFO] [stdout] | [INFO] [stdout] 772 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 314 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | root_child4.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | root_child4.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:774:46 [INFO] [stdout] | [INFO] [stdout] 774 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:275:46 [INFO] [stdout] | [INFO] [stdout] 275 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:796:46 [INFO] [stdout] | [INFO] [stdout] 796 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:327:29 [INFO] [stdout] | [INFO] [stdout] 327 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/rounding_test.rs:824:26 [INFO] [stdout] | [INFO] [stdout] 824 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:329:46 [INFO] [stdout] | [INFO] [stdout] 329 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:307:46 [INFO] [stdout] | [INFO] [stdout] 307 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:829:28 [INFO] [stdout] | [INFO] [stdout] 829 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:831:29 [INFO] [stdout] | [INFO] [stdout] 831 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:836:28 [INFO] [stdout] | [INFO] [stdout] 836 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:838:29 [INFO] [stdout] | [INFO] [stdout] 838 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:351:46 [INFO] [stdout] | [INFO] [stdout] 351 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:843:35 [INFO] [stdout] | [INFO] [stdout] 843 | root_child1_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/align_content_test.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | root.set_align_content(Align::FlexEnd); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:845:36 [INFO] [stdout] | [INFO] [stdout] 845 | root_child1_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrap` [INFO] [stdout] --> tests/align_content_test.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | root.set_flex_wrap(Wrap::Wrap); [INFO] [stdout] | ^^^^ use of undeclared type `Wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:850:28 [INFO] [stdout] | [INFO] [stdout] 850 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:852:29 [INFO] [stdout] | [INFO] [stdout] 852 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:854:46 [INFO] [stdout] | [INFO] [stdout] 854 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:881:46 [INFO] [stdout] | [INFO] [stdout] 881 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:348:46 [INFO] [stdout] | [INFO] [stdout] 348 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:397:29 [INFO] [stdout] | [INFO] [stdout] 397 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:919:28 [INFO] [stdout] | [INFO] [stdout] 919 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:920:29 [INFO] [stdout] | [INFO] [stdout] 920 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:926:28 [INFO] [stdout] | [INFO] [stdout] 926 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:927:29 [INFO] [stdout] | [INFO] [stdout] 927 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:399:46 [INFO] [stdout] | [INFO] [stdout] 399 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:384:46 [INFO] [stdout] | [INFO] [stdout] 384 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:933:35 [INFO] [stdout] | [INFO] [stdout] 933 | root_child1_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:934:36 [INFO] [stdout] | [INFO] [stdout] 934 | root_child1_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | root_child3.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:940:28 [INFO] [stdout] | [INFO] [stdout] 940 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | root_child3.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:421:46 [INFO] [stdout] | [INFO] [stdout] 421 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:941:29 [INFO] [stdout] | [INFO] [stdout] 941 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:943:46 [INFO] [stdout] | [INFO] [stdout] 943 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | root_child4.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:449:27 [INFO] [stdout] | [INFO] [stdout] 449 | root.set_justify_content(Justify::FlexEnd); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/align_content_test.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | root_child4.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/rounding_test.rs:970:46 [INFO] [stdout] | [INFO] [stdout] 970 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:384:46 [INFO] [stdout] | [INFO] [stdout] 384 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:456:29 [INFO] [stdout] | [INFO] [stdout] 456 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/rounding_test.rs:1003:26 [INFO] [stdout] | [INFO] [stdout] 1003 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/style_test.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(node0.get_style_max_height(), StyleUnit::UndefinedValue); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/style_test.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | node1.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 460 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/style_test.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(FlexDirection::Row, node0.get_flex_direction()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/display_test.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | root_child1.set_position(Edge::Top, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/style_test.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | node0.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/display_test.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | root_child1.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/style_test.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | node0.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 296 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/style_test.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | node1.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/display_test.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/style_test.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | let node0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/display_test.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [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 `FlexDirection` [INFO] [stdout] --> tests/flex_direction_test.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | root.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/style_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | let node1 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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_direction_test.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/align_content_test.rs:416:46 [INFO] [stdout] | [INFO] [stdout] 416 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/display_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut root = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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_direction_test.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/style_test.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | let node0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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/justify_content_test.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/rounding_test.rs:1009:28 [INFO] [stdout] | [INFO] [stdout] 1009 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | root_child1.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_width(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/style_test.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let mut node1 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | 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_direction_test.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | root_child1.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/style_test.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | node1.set_max_height(StyleUnit::Point(10.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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_direction_test.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | root_child2.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/style_test.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(node0.get_style_max_height(), StyleUnit::Point(10.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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_direction_test.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | root_child2.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/aspect_ratio_test.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/style_test.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let mut node0 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/style_test.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | node0.set_max_height(StyleUnit::Point(10.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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_direction_test.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/style_test.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | node0.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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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/flex_direction_test.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/display_test.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | root.set_height(StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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/style_test.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | node0.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] 3 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 3 | 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_content_test.rs:454:25 [INFO] [stdout] | [INFO] [stdout] 454 | root.set_align_content(Align::Stretch); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/style_test.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let mut node1 = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use polyhorn_yoga::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/display_test.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let mut root_child0 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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/style_test.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | node1.set_max_height(StyleUnit::Point(10.0.into())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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/display_test.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let mut root_child1 = Node::new_with_config(&mut config); [INFO] [stdout] | ^^^^ not found in this scope [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 `Wrap` [INFO] [stdout] --> tests/align_content_test.rs:455:21 [WARN] too many lines in the log, truncating it