[INFO] fetching crate polyhorn-yoga 0.3.4... [INFO] testing polyhorn-yoga-0.3.4 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate polyhorn-yoga 0.3.4 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate polyhorn-yoga 0.3.4 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-101/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded clang-sys v1.0.0 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0dee5ce334371da7fd899a0df1f70cc3da6468824709edf9ebe501d115a02f7 [INFO] running `Command { std: "docker" "start" "-a" "d0dee5ce334371da7fd899a0df1f70cc3da6468824709edf9ebe501d115a02f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0dee5ce334371da7fd899a0df1f70cc3da6468824709edf9ebe501d115a02f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0dee5ce334371da7fd899a0df1f70cc3da6468824709edf9ebe501d115a02f7", kill_on_drop: false }` [INFO] [stdout] d0dee5ce334371da7fd899a0df1f70cc3da6468824709edf9ebe501d115a02f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d980d309a956a4ff36b6ecae509fea21f24efeb74dd2e3460ffd1c77165aa7a8 [INFO] running `Command { std: "docker" "start" "-a" "d980d309a956a4ff36b6ecae509fea21f24efeb74dd2e3460ffd1c77165aa7a8", 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 version_check v0.9.2 [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 bindgen v0.55.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.60 [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 nom v5.1.2 [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 env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [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 36.83s [INFO] running `Command { std: "docker" "inspect" "d980d309a956a4ff36b6ecae509fea21f24efeb74dd2e3460ffd1c77165aa7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d980d309a956a4ff36b6ecae509fea21f24efeb74dd2e3460ffd1c77165aa7a8", kill_on_drop: false }` [INFO] [stdout] d980d309a956a4ff36b6ecae509fea21f24efeb74dd2e3460ffd1c77165aa7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5603fb0272958253a672c891cfd0e062f188de0ffe7b0763d6e1e7068c53ca6e [INFO] running `Command { std: "docker" "start" "-a" "5603fb0272958253a672c891cfd0e062f188de0ffe7b0763d6e1e7068c53ca6e", 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/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[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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/padding_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/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/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 `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/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/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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/style_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/node_child_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/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 `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 `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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_padding(Edge::Left, 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/padding_test.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_padding(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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | root.set_padding(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/padding_test.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | root.set_padding(Edge::Bottom, 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 `Direction` [INFO] [stdout] --> tests/padding_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 `Direction` [INFO] [stdout] --> tests/padding_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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/padding_test.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | root.set_padding(Edge::Left, 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/padding_test.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | root.set_padding(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 `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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/padding_test.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | root.set_padding(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/padding_test.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | root.set_padding(Edge::Bottom, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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 `StyleUnit` [INFO] [stdout] --> tests/padding_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 `StyleUnit` [INFO] [stdout] --> tests/padding_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[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 `Direction` [INFO] [stdout] --> tests/padding_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 `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 `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 `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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/padding_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 `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 `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[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[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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | root.set_padding(Edge::Left, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | root.set_padding(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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | root.set_padding(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/padding_test.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | root.set_padding(Edge::Bottom, 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 `StyleUnit` [INFO] [stdout] --> tests/padding_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 `StyleUnit` [INFO] [stdout] --> tests/padding_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 `Direction` [INFO] [stdout] --> tests/padding_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[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[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[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 `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 `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/padding_test.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [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 `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 `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] [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 `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 `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/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] [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] [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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | root.set_padding(Edge::Left, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [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] [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[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] [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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/padding_test.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | root.set_padding(Edge::Top, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [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] [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 `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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | root.set_padding(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 `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 `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[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[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[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[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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | root.set_padding(Edge::Bottom, 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 `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/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/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/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 `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[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 `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 `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[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 `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[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/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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [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[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[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 `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/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[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[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[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[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[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[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 `StyleUnit` [INFO] [stdout] --> tests/padding_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 `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 `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 `Direction` [INFO] [stdout] --> tests/padding_test.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [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 `Direction` [INFO] [stdout] --> tests/padding_test.rs:152:46 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/padding_test.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | root.set_justify_content(Justify::Center); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/padding_test.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | root.set_align_items(Align::Center); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/padding_test.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | root.set_padding(Edge::Start, 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/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] [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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | root.set_padding(Edge::End, StyleUnit::Point((20 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 `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] [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 `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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | root.set_padding(Edge::Bottom, StyleUnit::Point((20 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/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/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/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] [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] [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/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/padding_test.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | root_child0.set_min_width(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | root_child0.set_min_height(StyleUnit::Auto); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleUnit` [INFO] [stdout] [INFO] [stdout] [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/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[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[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[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[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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/padding_test.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [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 `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[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[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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/padding_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[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[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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [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] For more information about an error, try `rustc --explain E0425`. [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[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/padding_test.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | 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 `Align` [INFO] [stdout] --> tests/padding_test.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | root.set_align_items(Align::FlexEnd); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [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 `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 `Edge` [INFO] [stdout] --> tests/padding_test.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | root_child0.set_padding(Edge::Left, StyleUnit::Point((20 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/padding_test.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | root_child0.set_padding(Edge::Top, StyleUnit::Point((20 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/padding_test.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | root_child0.set_padding(Edge::Right, StyleUnit::Point((20 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: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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/padding_test.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | root_child0.set_padding(Edge::Bottom, StyleUnit::Point((20 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: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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | 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: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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | 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: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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/padding_test.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | 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: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/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] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/padding_test.rs:241:46 [INFO] [stdout] | [INFO] [stdout] 241 | 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/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] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/padding_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] [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/padding_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] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | root.set_padding(Edge::Left, 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: | ^ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_padding(Edge::Top, 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: 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/padding_test.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | root.set_padding(Edge::Right, 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: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | root.set_padding(Edge::Bottom, 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: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [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 `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] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polyhorn-yoga` due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/padding_test.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 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: build failed, waiting for other jobs to finish... [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 `Node` [INFO] [stdout] --> tests/padding_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | 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 `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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | root.set_padding(Edge::Left, 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/padding_test.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | root.set_padding(Edge::Top, 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/padding_test.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | root.set_padding(Edge::Right, 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: 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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | root.set_padding(Edge::Bottom, 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 `Node` [INFO] [stdout] --> tests/padding_test.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | 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/padding_test.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | 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: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/padding_test.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 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/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 `Node` [INFO] [stdout] --> tests/padding_test.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 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/padding_test.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | root.set_padding(Edge::Left, 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/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/padding_test.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | root.set_padding(Edge::Top, 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 `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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | root.set_padding(Edge::Right, 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 `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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | root.set_padding(Edge::Bottom, 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 `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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | 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/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/padding_test.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | 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 `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 `Node` [INFO] [stdout] --> tests/padding_test.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | 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/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 `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/padding_test.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | 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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/android_news_feed.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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/padding_test.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | 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/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[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[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 `Node` [INFO] [stdout] --> tests/padding_test.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | 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/padding_test.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | root.set_padding(Edge::Left, 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/padding_test.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | root.set_padding(Edge::Top, 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 `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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | root.set_padding(Edge::Right, 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/padding_test.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | root.set_padding(Edge::Bottom, 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/padding_test.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | 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: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] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | 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] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/padding_test.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | 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] [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] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [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] [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/padding_test.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | 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] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [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] [stderr] warning: | ^ [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] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [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] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [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/padding_test.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 12 | struct YGLayout { [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] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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 `Config` [INFO] [stdout] --> tests/padding_test.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | 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/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 `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[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[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 `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 `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/padding_test.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | 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/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/padding_test.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | root.set_padding(Edge::Start, 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/padding_test.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | root.set_padding(Edge::End, 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/padding_test.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | root.set_padding(Edge::Bottom, 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/padding_test.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | 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/padding_test.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | 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/padding_test.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | 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/padding_test.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | 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/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/padding_test.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | 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/padding_test.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:184:35 [INFO] [stdout] | [INFO] [stdout] 184 | root.calculate_layout(Undefined, Undefined, Direction::LTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::MeasureMode::Undefined; [INFO] [stdout] | [INFO] [stdout] 13 | use polyhorn_yoga::Undefined; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/padding_test.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | 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: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 `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 `Node` [INFO] [stdout] --> tests/padding_test.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | 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/padding_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | 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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | root.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 `Node` [INFO] [stdout] --> tests/padding_test.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | 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/padding_test.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | root_child0.set_padding(Edge::Left, 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 `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 `StyleUnit` [INFO] [stdout] --> tests/padding_test.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | root_child0.set_padding(Edge::Top, 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/padding_test.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | root_child0.set_padding(Edge::Right, 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/padding_test.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | root_child0.set_padding(Edge::Bottom, 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/padding_test.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | 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/padding_test.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | 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/padding_test.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | 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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/padding_test.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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/padding_test.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | 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/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/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 `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 `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/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[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/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] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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 `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/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 `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/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/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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | 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 `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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.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/android_news_feed.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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | root_child0_child0.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.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/android_news_feed.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | 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/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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | root_child0_child0_child0.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | root_child0_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/android_news_feed.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | root_child0_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/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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | root_child0_child0_child0_child0.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/android_news_feed.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 42 | root_child0_child0_child0_child0.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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | root_child0_child0_child0_child0.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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | root_child0_child0_child0_child0.set_margin(Edge::Start, StyleUnit::Point((36 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/android_news_feed.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | root_child0_child0_child0_child0.set_margin(Edge::Top, StyleUnit::Point((24 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | root_child0_child0_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/android_news_feed.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | root_child0_child0_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 `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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | root_child0_child0_child0_child0_child0.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: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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | root_child0_child0_child0_child0_child0.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | root_child0_child0_child0_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/android_news_feed.rs:54:57 [INFO] [stdout] | [INFO] [stdout] 54 | root_child0_child0_child0_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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | root_child0_child0_child0_child0_child0_child0.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | root_child0_child0_child0_child0_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/android_news_feed.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 62 | root_child0_child0_child0_child0_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/dirty_marking.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/android_news_feed.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0_child0_child0_child0_child1.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 `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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | root_child0_child0_child0_child0_child1.set_margin(Edge::Right, StyleUnit::Point((36 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: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 `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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | root_child0_child0_child0_child0_child1.set_padding(Edge::Left, StyleUnit::Point((36 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: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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | root_child0_child0_child0_child0_child1.set_padding(Edge::Top, StyleUnit::Point((21 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_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/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: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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:71:54 [INFO] [stdout] | [INFO] [stdout] 71 | root_child0_child0_child0_child0_child1.set_padding(Edge::Right, StyleUnit::Point((36 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: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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | root_child0_child0_child0_child0_child1.set_padding(Edge::Bottom, StyleUnit::Point((18 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/android_news_feed.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | root_child0_child0_child0_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 `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/android_news_feed.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | root_child0_child0_child0_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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:466:28 [INFO] [stdout] | [INFO] [stdout] 466 | 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_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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:78:68 [INFO] [stdout] | [INFO] [stdout] 78 | root_child0_child0_child0_child0_child1_child0.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/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[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/android_news_feed.rs:79:67 [INFO] [stdout] | [INFO] [stdout] 79 | root_child0_child0_child0_child0_child1_child0.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | root_child0_child0_child0_child0_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/android_news_feed.rs:82:64 [INFO] [stdout] | [INFO] [stdout] 82 | root_child0_child0_child0_child0_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/justify_content_test.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | 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/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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:86:67 [INFO] [stdout] | [INFO] [stdout] 86 | root_child0_child0_child0_child0_child1_child1.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | root_child0_child0_child0_child0_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/android_news_feed.rs:89:64 [INFO] [stdout] | [INFO] [stdout] 89 | root_child0_child0_child0_child0_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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | root_child0_child0_child1.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 `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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | root_child0_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 `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/android_news_feed.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | root_child0_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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | root_child0_child0_child1_child0.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/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 `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[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/android_news_feed.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | root_child0_child0_child1_child0.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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 101 | root_child0_child0_child1_child0.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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:470:46 [INFO] [stdout] | [INFO] [stdout] 470 | 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/android_news_feed.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | root_child0_child0_child1_child0.set_margin(Edge::Start, StyleUnit::Point((174 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/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] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | root_child0_child0_child1_child0.set_margin(Edge::Top, StyleUnit::Point((24 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [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] [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/android_news_feed.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | root_child0_child0_child1_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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | root_child0_child0_child1_child0.set_min_height(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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | root_child0_child0_child1_child0_child0.set_flex_direction(FlexDirection::Row); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FlexDirection` [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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:110:60 [INFO] [stdout] | [INFO] [stdout] 110 | root_child0_child0_child1_child0_child0.set_align_content(Align::Stretch); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [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/android_news_feed.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | root_child0_child0_child1_child0_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/android_news_feed.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | root_child0_child0_child1_child0_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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:492:46 [INFO] [stdout] | [INFO] [stdout] 492 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/android_news_feed.rs:116:67 [INFO] [stdout] | [INFO] [stdout] 116 | root_child0_child0_child1_child0_child0_child0.set_align_content(Align::Stretch); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [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] [stderr] [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/android_news_feed.rs:118:63 [INFO] [stdout] | [INFO] [stdout] 118 | root_child0_child0_child1_child0_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/android_news_feed.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | root_child0_child0_child1_child0_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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:124:60 [INFO] [stdout] | [INFO] [stdout] 124 | root_child0_child0_child1_child0_child1.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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | root_child0_child0_child1_child0_child1.set_margin(Edge::Right, StyleUnit::Point((36 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:520:27 [INFO] [stdout] | [INFO] [stdout] 520 | 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_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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:127:54 [INFO] [stdout] | [INFO] [stdout] 127 | root_child0_child0_child1_child0_child1.set_padding(Edge::Left, StyleUnit::Point((36 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/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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | root_child0_child0_child1_child0_child1.set_padding(Edge::Top, StyleUnit::Point((21 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_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 `Edge` [INFO] [stdout] --> tests/android_news_feed.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | root_child0_child0_child1_child0_child1.set_padding(Edge::Right, StyleUnit::Point((36 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/android_news_feed.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | root_child0_child0_child1_child0_child1.set_padding(Edge::Bottom, StyleUnit::Point((18 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_direction_test.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | 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/android_news_feed.rs:131:56 [INFO] [stdout] | [INFO] [stdout] 131 | root_child0_child0_child1_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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:132:57 [INFO] [stdout] | [INFO] [stdout] 132 | root_child0_child0_child1_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 `FlexDirection` [INFO] [stdout] --> tests/android_news_feed.rs:136:68 [INFO] [stdout] | [INFO] [stdout] 136 | root_child0_child0_child1_child0_child1_child0.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:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | 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[E0433]: failed to resolve: use of undeclared type `Align` [INFO] [stdout] --> tests/android_news_feed.rs:137:67 [INFO] [stdout] | [INFO] [stdout] 137 | root_child0_child0_child1_child0_child1_child0.set_align_content(Align::Stretch); [INFO] [stdout] | ^^^^^ use of undeclared type `Align` [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[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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:139:63 [INFO] [stdout] | [INFO] [stdout] 139 | root_child0_child0_child1_child0_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/android_news_feed.rs:140:64 [INFO] [stdout] | [INFO] [stdout] 140 | root_child0_child0_child1_child0_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/flex_direction_test.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | 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 `Align` [INFO] [stdout] --> tests/android_news_feed.rs:144:67 [INFO] [stdout] | [INFO] [stdout] 144 | root_child0_child0_child1_child0_child1_child1.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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:146:63 [INFO] [stdout] | [INFO] [stdout] 146 | root_child0_child0_child1_child0_child1_child1.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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:147:64 [INFO] [stdout] | [INFO] [stdout] 147 | root_child0_child0_child1_child0_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/justify_content_test.rs:525:28 [INFO] [stdout] | [INFO] [stdout] 525 | 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:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | 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/android_news_feed.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | 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: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[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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | 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/flex_test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate yoga; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/android_news_feed.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | 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/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] Some errors have detailed explanations: E0433, E0463. [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 `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:201:46 [INFO] [stdout] | [INFO] [stdout] 201 | 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/android_news_feed.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/android_news_feed.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/android_news_feed.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_width(StyleUnit::Point((1080 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:527:29 [INFO] [stdout] | [INFO] [stdout] 527 | 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:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | 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 `Node` [INFO] [stdout] --> tests/android_news_feed.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/android_news_feed.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 `Node` [INFO] [stdout] --> tests/android_news_feed.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | let mut root_child0_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/android_news_feed.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let mut root_child0_child0_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/android_news_feed.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | root_child0_child0_child0_child0.set_margin(Edge::Start, StyleUnit::Point((36 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:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | 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/android_news_feed.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | root_child0_child0_child0_child0.set_margin(Edge::Top, StyleUnit::Point((24 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:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | 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:539:29 [INFO] [stdout] | [INFO] [stdout] 539 | 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 `Node` [INFO] [stdout] --> tests/android_news_feed.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let mut root_child0_child0_child0_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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:541:46 [INFO] [stdout] | [INFO] [stdout] 541 | 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/flex_direction_test.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | 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/android_news_feed.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | let mut root_child0_child0_child0_child0_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/android_news_feed.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | root_child0_child0_child0_child0_child0_child0.set_width(StyleUnit::Point((120 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/dirty_marking.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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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:563:46 [INFO] [stdout] | [INFO] [stdout] 563 | 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/android_news_feed.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | root_child0_child0_child0_child0_child0_child0.set_height(StyleUnit::Point((120 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/android_news_feed.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 65 | let mut root_child0_child0_child0_child0_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/android_news_feed.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | root_child0_child0_child0_child0_child1.set_margin(Edge::Right, StyleUnit::Point((36 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/android_news_feed.rs:69:66 [INFO] [stdout] | [INFO] [stdout] 69 | root_child0_child0_child0_child0_child1.set_padding(Edge::Left, StyleUnit::Point((36 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/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/android_news_feed.rs:70:65 [INFO] [stdout] | [INFO] [stdout] 70 | root_child0_child0_child0_child0_child1.set_padding(Edge::Top, StyleUnit::Point((21 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/android_news_feed.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | root_child0_child0_child0_child0_child1.set_padding(Edge::Right, StyleUnit::Point((36 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/android_news_feed.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | root_child0_child0_child0_child0_child1.set_padding(Edge::Bottom, StyleUnit::Point((18 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/android_news_feed.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | let mut root_child0_child0_child0_child0_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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/android_news_feed.rs:85:59 [INFO] [stdout] | [INFO] [stdout] 85 | let mut root_child0_child0_child0_child0_child1_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] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/android_news_feed.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | let mut root_child0_child0_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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/android_news_feed.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | let mut root_child0_child0_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] 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/android_news_feed.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | root_child0_child0_child1_child0.set_margin(Edge::Start, StyleUnit::Point((174 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 `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | root_child0_child0_child1_child0.set_margin(Edge::Top, StyleUnit::Point((24 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: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/android_news_feed.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 108 | let mut root_child0_child0_child1_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] [stderr] warning: | ^ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | root_child0.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 `Node` [INFO] [stdout] --> tests/android_news_feed.rs:115:59 [INFO] [stdout] | [INFO] [stdout] 115 | let mut root_child0_child0_child1_child0_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] [stderr] warning: from src/yoga/yoga/Utils.h:9, [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] [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_direction_test.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | 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/android_news_feed.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | root_child0_child0_child1_child0_child0_child0.set_width(StyleUnit::Point((72 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:591:27 [INFO] [stdout] | [INFO] [stdout] 591 | root.set_justify_content(Justify::SpaceBetween); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/android_news_feed.rs:119:60 [INFO] [stdout] | [INFO] [stdout] 119 | root_child0_child0_child1_child0_child0_child0.set_height(StyleUnit::Point((72 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/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 `Node` [INFO] [stdout] --> tests/android_news_feed.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | let mut root_child0_child0_child1_child0_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/android_news_feed.rs:126:66 [INFO] [stdout] | [INFO] [stdout] 126 | root_child0_child0_child1_child0_child1.set_margin(Edge::Right, StyleUnit::Point((36 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/android_news_feed.rs:127:66 [INFO] [stdout] | [INFO] [stdout] 127 | root_child0_child0_child1_child0_child1.set_padding(Edge::Left, StyleUnit::Point((36 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/android_news_feed.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | root_child0_child0_child1_child0_child1.set_padding(Edge::Top, StyleUnit::Point((21 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/android_news_feed.rs:129:67 [INFO] [stdout] | [INFO] [stdout] 129 | root_child0_child0_child1_child0_child1.set_padding(Edge::Right, StyleUnit::Point((36 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/android_news_feed.rs:130:68 [INFO] [stdout] | [INFO] [stdout] 130 | root_child0_child0_child1_child0_child1.set_padding(Edge::Bottom, StyleUnit::Point((18 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_direction_test.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | 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 `Node` [INFO] [stdout] --> tests/android_news_feed.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let mut root_child0_child0_child1_child0_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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/android_news_feed.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | let mut root_child0_child0_child1_child0_child1_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/android_news_feed.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | 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/flex_direction_test.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | 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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/android_news_feed.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | 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/flex_direction_test.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | 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/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 `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/justify_content_test.rs:596:28 [INFO] [stdout] | [INFO] [stdout] 596 | 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:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | 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/android_news_feed.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | 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:598:29 [INFO] [stdout] | [INFO] [stdout] 598 | 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_direction_test.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | 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:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | 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:604:29 [INFO] [stdout] | [INFO] [stdout] 604 | 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/android_news_feed.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | 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:608:28 [INFO] [stdout] | [INFO] [stdout] 608 | 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:610:29 [INFO] [stdout] | [INFO] [stdout] 610 | 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/flex_direction_test.rs:272:46 [INFO] [stdout] | [INFO] [stdout] 272 | 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/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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/absolute_position_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/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/justify_content_test.rs:612:46 [INFO] [stdout] | [INFO] [stdout] 612 | 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/edge_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 `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[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/flex_direction_test.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | root.set_flex_direction(FlexDirection::ColumnReverse); [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:634:46 [INFO] [stdout] | [INFO] [stdout] 634 | 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/dirty_marking.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | 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 `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/flex_direction_test.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | 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/dirty_marking.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | 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/dirty_marking.rs:55:2 [INFO] [stdout] | [INFO] [stdout] 55 | 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | root.set_justify_content(Justify::SpaceAround); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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: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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:667:28 [INFO] [stdout] | [INFO] [stdout] 667 | 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/justify_content_test.rs:669:29 [INFO] [stdout] | [INFO] [stdout] 669 | 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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | 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:673:28 [INFO] [stdout] | [INFO] [stdout] 673 | 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:675:29 [INFO] [stdout] | [INFO] [stdout] 675 | 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_direction_test.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | 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: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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | 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:679:28 [INFO] [stdout] | [INFO] [stdout] 679 | 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/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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 317 | 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:681:29 [INFO] [stdout] | [INFO] [stdout] 681 | 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_direction_test.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | 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/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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:683:46 [INFO] [stdout] | [INFO] [stdout] 683 | 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:321:46 [INFO] [stdout] | [INFO] [stdout] 321 | 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: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[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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:705:46 [INFO] [stdout] | [INFO] [stdout] 705 | 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_direction_test.rs:343:46 [INFO] [stdout] | [INFO] [stdout] 343 | 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/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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:733:26 [INFO] [stdout] | [INFO] [stdout] 733 | 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:734:27 [INFO] [stdout] | [INFO] [stdout] 734 | 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 `FlexDirection` [INFO] [stdout] --> tests/flex_direction_test.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | root.set_flex_direction(FlexDirection::RowReverse); [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/justify_content_test.rs:735:18 [INFO] [stdout] | [INFO] [stdout] 735 | root.set_margin(Edge::Left, StyleUnit::Point((100 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/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/flex_direction_test.rs:377:28 [INFO] [stdout] | [INFO] [stdout] 377 | 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:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | 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:740:28 [INFO] [stdout] | [INFO] [stdout] 740 | 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: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/justify_content_test.rs:742:29 [INFO] [stdout] | [INFO] [stdout] 742 | 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:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | 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:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | 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: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: aborting due to 3 previous errors [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/min_max_dimension_test.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | root_child0.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[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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | 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:744:46 [INFO] [stdout] | [INFO] [stdout] 744 | 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:272:46 [INFO] [stdout] | [INFO] [stdout] 272 | 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_direction_test.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | 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_direction_test.rs:390:29 [INFO] [stdout] | [INFO] [stdout] 390 | 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/dirty_marking.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | 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 `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] error[E0433]: failed to resolve: use of undeclared type `Justify` [INFO] [stdout] --> tests/min_max_dimension_test.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | root.set_justify_content(Justify::Center); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Justify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 79 | style!(root_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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_direction_test.rs:392:46 [INFO] [stdout] | [INFO] [stdout] 392 | 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:756:46 [INFO] [stdout] | [INFO] [stdout] 756 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [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/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] [stderr] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 99 | style!(root_child_0, Display(Display::Flex), FlexGrow(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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 `Direction` [INFO] [stdout] --> tests/flex_direction_test.rs:414:46 [INFO] [stdout] | [INFO] [stdout] 414 | root.calculate_layout(Undefined, Undefined, Direction::RTL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [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/justify_content_test.rs:774:26 [INFO] [stdout] | [INFO] [stdout] 774 | 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:775:27 [INFO] [stdout] | [INFO] [stdout] 775 | root.set_justify_content(Justify::Center); [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/dirty_marking.rs:103:2 [INFO] [stdout] | [INFO] [stdout] 103 | style!(root_child_1, Display(Display::None), FlexGrow(1.0)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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/min_max_dimension_test.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | 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 `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:776:18 [INFO] [stdout] | [INFO] [stdout] 776 | root.set_margin(Edge::Left, StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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 `Config` [INFO] [stdout] --> tests/flex_direction_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] [stderr] warning: 12 | struct YGLayout { [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_direction_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] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_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] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | 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_direction_test.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | 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_direction_test.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | 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_direction_test.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 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_direction_test.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | 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_direction_test.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | 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_direction_test.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | 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/min_max_dimension_test.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | 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_direction_test.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | 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_direction_test.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | 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/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 `Config` [INFO] [stdout] --> tests/flex_direction_test.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 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_direction_test.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | 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:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | 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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | 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_direction_test.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | 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/justify_content_test.rs:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | 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:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | 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_direction_test.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | root_child1.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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | 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_direction_test.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | root_child2.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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | 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:784:29 [INFO] [stdout] | [INFO] [stdout] 784 | root_child0.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_direction_test.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | 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_direction_test.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | 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/min_max_dimension_test.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 310 | 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 `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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | 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_direction_test.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | 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:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | 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_direction_test.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | 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_direction_test.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | 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/min_max_dimension_test.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | 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:786:46 [INFO] [stdout] | [INFO] [stdout] 786 | 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_direction_test.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | 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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | 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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | style!(root_child_1_child_0_child_0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | 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_direction_test.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | 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_direction_test.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | 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[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | 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: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/flex_direction_test.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | 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: cannot find macro `style` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:157:2 [INFO] [stdout] | [INFO] [stdout] 157 | style!(root, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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:314:46 [INFO] [stdout] | [INFO] [stdout] 314 | 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: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: 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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | 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_direction_test.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | 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/justify_content_test.rs:798:46 [INFO] [stdout] | [INFO] [stdout] 798 | 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_direction_test.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | 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/dirty_marking.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | 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: aborting due to 130 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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | 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 `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] 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | 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/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/flex_direction_test.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | 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_direction_test.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | root_child1.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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | 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: 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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | root_child2.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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | 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: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 `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | 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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | 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: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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | 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_direction_test.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | 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: 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 `Config` [INFO] [stdout] --> tests/flex_direction_test.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:816:27 [INFO] [stdout] | [INFO] [stdout] 816 | 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: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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | 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] The following warnings were emitted during compilation: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:817:18 [INFO] [stdout] | [INFO] [stdout] 817 | root.set_margin(Edge::Top, StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] [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: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] [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 `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] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [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] [stderr] warning: | ^ [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] [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: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] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | 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] [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_direction_test.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | 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] [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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | 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: 12 | struct YGLayout { [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | 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] [stderr] warning: | ^~~~~~~~ [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] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | 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_direction_test.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | 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 `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_direction_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | 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[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | 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: 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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | 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/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/justify_content_test.rs:822:28 [INFO] [stdout] | [INFO] [stdout] 822 | 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_direction_test.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | 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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:343:35 [INFO] [stdout] | [INFO] [stdout] 343 | 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/min_max_dimension_test.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | 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 `Config` [INFO] [stdout] --> tests/flex_direction_test.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | 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: 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | 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/min_max_dimension_test.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | 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:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | 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_direction_test.rs:373:18 [INFO] [stdout] | [INFO] [stdout] 373 | 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 `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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:824:29 [INFO] [stdout] | [INFO] [stdout] 824 | 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: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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:376:28 [INFO] [stdout] | [INFO] [stdout] 376 | 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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | 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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/percentage_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/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/min_max_dimension_test.rs:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | 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/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/justify_content_test.rs:826:46 [INFO] [stdout] | [INFO] [stdout] 826 | 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: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/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 `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 `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:380:46 [INFO] [stdout] | [INFO] [stdout] 380 | 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: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 `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 `StyleUnit` [INFO] [stdout] --> tests/flex_direction_test.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | 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/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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | 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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:838:46 [INFO] [stdout] | [INFO] [stdout] 838 | 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_direction_test.rs:382:24 [INFO] [stdout] | [INFO] [stdout] 382 | root_child1.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 `Node` [INFO] [stdout] --> tests/flex_direction_test.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 387 | 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_direction_test.rs:388:24 [INFO] [stdout] | [INFO] [stdout] 388 | root_child2.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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | 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: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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:392:35 [INFO] [stdout] | [INFO] [stdout] 392 | 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/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] [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 `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] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/flex_direction_test.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | 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/min_max_dimension_test.rs:397:46 [INFO] [stdout] | [INFO] [stdout] 397 | 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/flex_direction_test.rs:414:35 [INFO] [stdout] | [INFO] [stdout] 414 | 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/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: 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 `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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:856:27 [INFO] [stdout] | [INFO] [stdout] 856 | 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: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] [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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:857:18 [INFO] [stdout] | [INFO] [stdout] 857 | root.set_margin(Edge::Top, StyleUnit::Point((100 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: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] [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: 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 `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/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 `FlexDirection` [INFO] [stdout] --> tests/min_max_dimension_test.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | 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/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/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 `Align` [INFO] [stdout] --> tests/min_max_dimension_test.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | 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/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 `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: 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[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: 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/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[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[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[E0433]: failed to resolve: use of undeclared type `PositionType` [INFO] [stdout] --> tests/absolute_position_test.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | root_child0.set_position_type(PositionType::Absolute); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PositionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/absolute_position_test.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | root_child0.set_position(Edge::Start, 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 `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 `FlexDirection` [INFO] [stdout] --> tests/min_max_dimension_test.rs:426:33 [INFO] [stdout] | [INFO] [stdout] 426 | root_child0.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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:863:28 [INFO] [stdout] | [INFO] [stdout] 863 | 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:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | 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 `Edge` [INFO] [stdout] --> tests/absolute_position_test.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | root_child0.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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:428:29 [INFO] [stdout] | [INFO] [stdout] 428 | root_child0.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/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: 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 `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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:865:29 [INFO] [stdout] | [INFO] [stdout] 865 | 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 `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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:434:35 [INFO] [stdout] | [INFO] [stdout] 434 | 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:435:36 [INFO] [stdout] | [INFO] [stdout] 435 | 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: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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:867:46 [INFO] [stdout] | [INFO] [stdout] 867 | 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: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: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 `Direction` [INFO] [stdout] --> tests/absolute_position_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/min_max_dimension_test.rs:437:46 [INFO] [stdout] | [INFO] [stdout] 437 | 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: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/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 `Direction` [INFO] [stdout] --> tests/dirty_marking.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/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/justify_content_test.rs:879:46 [INFO] [stdout] | [INFO] [stdout] 879 | 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: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 `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:454:46 [INFO] [stdout] | [INFO] [stdout] 454 | 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/absolute_position_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 `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/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 `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 `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 `FlexDirection` [INFO] [stdout] --> tests/min_max_dimension_test.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | 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:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | root.set_justify_content(Justify::SpaceEvenly); [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: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 `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 `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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:482:28 [INFO] [stdout] | [INFO] [stdout] 482 | 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: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 `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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:484:29 [INFO] [stdout] | [INFO] [stdout] 484 | 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: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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:902:28 [INFO] [stdout] | [INFO] [stdout] 902 | 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:904:29 [INFO] [stdout] | [INFO] [stdout] 904 | 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/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 `PositionType` [INFO] [stdout] --> tests/absolute_position_test.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | root_child0.set_position_type(PositionType::Absolute); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PositionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:486:46 [INFO] [stdout] | [INFO] [stdout] 486 | 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: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 `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 `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/justify_content_test.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | 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 `Edge` [INFO] [stdout] --> tests/absolute_position_test.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | root_child0.set_position(Edge::End, StyleUnit::Point((10 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [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 `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/justify_content_test.rs:910:29 [INFO] [stdout] | [INFO] [stdout] 910 | 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/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 `Direction` [INFO] [stdout] --> tests/min_max_dimension_test.rs:498:46 [INFO] [stdout] | [INFO] [stdout] 498 | 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/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/justify_content_test.rs:914:28 [INFO] [stdout] | [INFO] [stdout] 914 | 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 `Edge` [INFO] [stdout] --> tests/absolute_position_test.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | root_child0.set_position(Edge::Bottom, 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 `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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:916:29 [INFO] [stdout] | [INFO] [stdout] 916 | 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: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[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] [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[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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/margin_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/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: 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: 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/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] [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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | 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/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[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[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 `StyleUnit` [INFO] [stdout] --> tests/min_max_dimension_test.rs:521:28 [INFO] [stdout] | [INFO] [stdout] 521 | 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 `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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:918:46 [INFO] [stdout] | [INFO] [stdout] 918 | 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: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 `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 `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/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 `Direction` [INFO] [stdout] --> tests/relayout_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[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 `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/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/relayout_test.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | root_child0.set_min_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/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/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[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 `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 `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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:940:46 [INFO] [stdout] | [INFO] [stdout] 940 | 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: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 `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 `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | 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/relayout_test.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | 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: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 `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: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[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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:968:26 [INFO] [stdout] | [INFO] [stdout] 968 | 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:969:27 [INFO] [stdout] | [INFO] [stdout] 969 | root.set_justify_content(Justify::SpaceEvenly); [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: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] [stderr] The following warnings were emitted during compilation: [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] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 119 | 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[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/dirty_marking.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | root_child_0.set_display(Display::None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [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 `Display` [INFO] [stdout] --> tests/dirty_marking.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | root_child_1.set_display(Display::Flex); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [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 `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] [stderr] warning: | ^ [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] [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: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] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | 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 `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | 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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:976:29 [INFO] [stdout] | [INFO] [stdout] 976 | 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 `Display` [INFO] [stdout] --> tests/dirty_marking.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | root_child_0.set_display(Display::Flex); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [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: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] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> tests/dirty_marking.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | root_child_1.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/relayout_test.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | 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:980:28 [INFO] [stdout] | [INFO] [stdout] 980 | 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/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[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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:982:29 [INFO] [stdout] | [INFO] [stdout] 982 | 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: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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | 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 `Display` [INFO] [stdout] --> tests/dirty_marking.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | root_child_0.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/relayout_test.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | 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:986:28 [INFO] [stdout] | [INFO] [stdout] 986 | 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/dirty_marking.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | root_child_1.set_display(Display::Flex); [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/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[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[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[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/relayout_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[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/relayout_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/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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:988:29 [INFO] [stdout] | [INFO] [stdout] 988 | 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/relayout_test.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | root_child0.set_min_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[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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/relayout_test.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | root_child0.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 `Direction` [INFO] [stdout] --> tests/dirty_marking.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[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 `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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/relayout_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[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/relayout_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[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:990:46 [INFO] [stdout] | [INFO] [stdout] 990 | 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: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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/relayout_test.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | 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/relayout_test.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | 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/relayout_test.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | 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/relayout_test.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | 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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/relayout_test.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | root_child0.set_min_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/relayout_test.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | root_child0.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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/relayout_test.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `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 `Direction` [INFO] [stdout] --> tests/dirty_marking.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | 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/relayout_test.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | 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/relayout_test.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | 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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/relayout_test.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:1012:46 [INFO] [stdout] | [INFO] [stdout] 1012 | 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/dirty_marking.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 `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[E0463]: can't find crate for `yoga` [INFO] [stdout] --> tests/flex_wrap_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 `Node` [INFO] [stdout] --> tests/dirty_marking.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[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/dirty_marking.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 5 | 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: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[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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dirty_marking.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] 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/dirty_marking.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] 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/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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | 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/dirty_marking.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | 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_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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | 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/dirty_marking.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | 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 `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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 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/dirty_marking.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | 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/dirty_marking.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | 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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 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/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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | 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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:1044:33 [INFO] [stdout] | [INFO] [stdout] 1044 | root_child0.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/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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 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/justify_content_test.rs:1045:32 [INFO] [stdout] | [INFO] [stdout] 1045 | root_child0.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/dirty_marking.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 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/justify_content_test.rs:1046:28 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1047:29 [INFO] [stdout] | [INFO] [stdout] 1047 | 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/dirty_marking.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | let mut root_child_1_child_0_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/dirty_marking.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | 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/dirty_marking.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | 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/justify_content_test.rs:1051:40 [INFO] [stdout] | [INFO] [stdout] 1051 | root_child0_child0.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/dirty_marking.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | 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 `Justify` [INFO] [stdout] --> tests/justify_content_test.rs:1052:41 [INFO] [stdout] | [INFO] [stdout] 1052 | root_child0_child0.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 `Align` [INFO] [stdout] --> tests/justify_content_test.rs:1053:39 [INFO] [stdout] | [INFO] [stdout] 1053 | root_child0_child0.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 `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 `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:1054:33 [INFO] [stdout] | [INFO] [stdout] 1054 | root_child0_child0.set_padding(Edge::Left, StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | 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/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[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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | 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 `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:1055:33 [INFO] [stdout] | [INFO] [stdout] 1055 | root_child0_child0.set_padding(Edge::Right, StyleUnit::Point((100 as f32).into())); [INFO] [stdout] | ^^^^ use of undeclared type `Edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/dirty_marking.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | 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/dirty_marking.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] 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/dirty_marking.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] 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/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[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> tests/dirty_marking.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | 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/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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | 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/dirty_marking.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | 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/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/dirty_marking.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | 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/justify_content_test.rs:1057:36 [INFO] [stdout] | [INFO] [stdout] 1057 | 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 `Node` [INFO] [stdout] --> tests/dirty_marking.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 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/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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:1061:47 [INFO] [stdout] | [INFO] [stdout] 1061 | root_child0_child0_child0.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/justify_content_test.rs:1062:46 [INFO] [stdout] | [INFO] [stdout] 1062 | root_child0_child0_child0.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 `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 `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/justify_content_test.rs:1064:42 [INFO] [stdout] | [INFO] [stdout] 1064 | root_child0_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/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/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[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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:1066:43 [INFO] [stdout] | [INFO] [stdout] 1066 | root_child0_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/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/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[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 `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/justify_content_test.rs:1068:46 [INFO] [stdout] | [INFO] [stdout] 1068 | 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: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 `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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:1090:46 [INFO] [stdout] | [INFO] [stdout] 1090 | 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: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/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[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 `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[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 `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[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 `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[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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:1122:33 [INFO] [stdout] | [INFO] [stdout] 1122 | root_child0.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/justify_content_test.rs:1123:32 [INFO] [stdout] | [INFO] [stdout] 1123 | root_child0.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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:1124:28 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1125:29 [INFO] [stdout] | [INFO] [stdout] 1125 | 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: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[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/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[E0433]: failed to resolve: use of undeclared type `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:1129:40 [INFO] [stdout] | [INFO] [stdout] 1129 | root_child0_child0.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:1130:41 [INFO] [stdout] | [INFO] [stdout] 1130 | root_child0_child0.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 `Align` [INFO] [stdout] --> tests/justify_content_test.rs:1131:39 [INFO] [stdout] | [INFO] [stdout] 1131 | root_child0_child0.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 `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:1132:33 [INFO] [stdout] | [INFO] [stdout] 1132 | root_child0_child0.set_padding(Edge::Left, StyleUnit::Point((100 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/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/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[E0433]: failed to resolve: use of undeclared type `Edge` [INFO] [stdout] --> tests/justify_content_test.rs:1133:33 [INFO] [stdout] | [INFO] [stdout] 1133 | root_child0_child0.set_padding(Edge::Right, StyleUnit::Point((100 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: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[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[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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:1135:36 [INFO] [stdout] | [INFO] [stdout] 1135 | 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/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 `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/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 `FlexDirection` [INFO] [stdout] --> tests/justify_content_test.rs:1139:47 [INFO] [stdout] | [INFO] [stdout] 1139 | root_child0_child0_child0.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/justify_content_test.rs:1140:46 [INFO] [stdout] | [INFO] [stdout] 1140 | root_child0_child0_child0.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 `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/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 `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:1142:42 [INFO] [stdout] | [INFO] [stdout] 1142 | root_child0_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/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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:1144:43 [INFO] [stdout] | [INFO] [stdout] 1144 | root_child0_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 `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 `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] [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 `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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:1146:46 [INFO] [stdout] | [INFO] [stdout] 1146 | 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: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 `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/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/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[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[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/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 `Direction` [INFO] [stdout] --> tests/justify_content_test.rs:1168:46 [INFO] [stdout] | [INFO] [stdout] 1168 | 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: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 `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 `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 `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 `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[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[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[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 `Config` [INFO] [stdout] --> tests/justify_content_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/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 `Node` [INFO] [stdout] --> tests/justify_content_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/justify_content_test.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | root.set_width(StyleUnit::Point((102 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:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | root.set_height(StyleUnit::Point((102 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/justify_content_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/justify_content_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 `Node` [INFO] [stdout] --> tests/justify_content_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/justify_content_test.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | root_child1.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_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 `Node` [INFO] [stdout] --> tests/justify_content_test.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | 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 `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[E0433]: failed to resolve: use of undeclared type `StyleUnit` [INFO] [stdout] --> tests/justify_content_test.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | root_child2.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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/justify_content_test.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | 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_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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/justify_content_test.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | 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/justify_content_test.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | 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: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[E0425]: cannot find value `Undefined` in this scope [INFO] [stdout] --> tests/justify_content_test.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | 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] | [WARN] too many lines in the log, truncating it