[INFO] cloning repository https://github.com/futabato/aji [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/futabato/aji" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffutabato%2Faji", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffutabato%2Faji'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75f33bec9cad11c5e8f5b0907304fd19fb3402f9 [INFO] checking futabato/aji against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffutabato%2Faji" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/futabato/aji [INFO] finished tweaking git repo https://github.com/futabato/aji [INFO] tweaked toml for git repo https://github.com/futabato/aji written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/futabato/aji on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/futabato/aji already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/hikalium/wasabi.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32253a4806d5b9237fac73c7c16d19d9c1189febbbdda189eb59dfad1df3f6aa [INFO] running `Command { std: "docker" "start" "-a" "32253a4806d5b9237fac73c7c16d19d9c1189febbbdda189eb59dfad1df3f6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32253a4806d5b9237fac73c7c16d19d9c1189febbbdda189eb59dfad1df3f6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32253a4806d5b9237fac73c7c16d19d9c1189febbbdda189eb59dfad1df3f6aa", kill_on_drop: false }` [INFO] [stdout] 32253a4806d5b9237fac73c7c16d19d9c1189febbbdda189eb59dfad1df3f6aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ede45e719d5270b0693f8759f312d070f1ec8a9bce35284f22bf1c3d1ebbc0 [INFO] running `Command { std: "docker" "start" "-a" "78ede45e719d5270b0693f8759f312d070f1ec8a9bce35284f22bf1c3d1ebbc0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking sabi v0.1.0 (https://github.com/hikalium/wasabi.git?branch=for_saba#abf27c6f) [INFO] [stderr] Checking aji_core v0.1.0 (/opt/rustwide/workdir/aji_core) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stdout] error[E0432]: unresolved import `crate::renderer::dom::api::get_element_element_node` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::renderer::dom::api::get_element_element_node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_target_element_node` [INFO] [stdout] | no `get_element_element_node` in `renderer::dom::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_target_element_node` in this scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let body_root = get_target_element_node(Some(root), ElementKind::Body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::renderer::dom::api::get_target_element_node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> aji_core/src/renderer/dom/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alloc::string::ToString` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `LayoutObject` has infinite size [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | kind: LayoutObject, [INFO] [stdout] | ------------ recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 19 | kind: Box, [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::renderer::dom::api::get_element_element_node` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::renderer::dom::api::get_element_element_node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_target_element_node` [INFO] [stdout] | no `get_element_element_node` in `renderer::dom::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_target_element_node` in this scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let body_root = get_target_element_node(Some(root), ElementKind::Body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::renderer::dom::api::get_target_element_node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> aji_core/src/renderer/dom/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alloc::string::ToString` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `LayoutObject` has infinite size [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | kind: LayoutObject, [INFO] [stdout] | ------------ recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 19 | kind: Box, [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_stiring` found for enum `ElementKind` in the current scope [INFO] [stdout] --> aji_core/src/renderer/dom/api.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | == NodeKind::Element(Element::new(&element_kind.to_stiring(), Vec::new())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/dom/node.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub enum ElementKind { [INFO] [stdout] | -------------------- method `to_stiring` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - == NodeKind::Element(Element::new(&element_kind.to_stiring(), Vec::new())) [INFO] [stdout] 17 + == NodeKind::Element(Element::new(&element_kind.to_string(), Vec::new())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LatoutObjectKind` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | kind: LatoutObjectKind::Block, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LatoutObjectKind` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - kind: LatoutObjectKind::Block, [INFO] [stdout] 56 + kind: LayoutObjectKind::Block, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LatoutPoint` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | point: LatoutPoint::new(0, 0), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LatoutPoint` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - point: LatoutPoint::new(0, 0), [INFO] [stdout] 62 + point: LayoutPoint::new(0, 0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `DisplayBlock` found for enum `DisplayType` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | ... Err(_) => DisplayType::DisplayBlock, [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `DisplayType` [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/layout/computed_style.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum DisplayType { [INFO] [stdout] | -------------------- variant or associated item `DisplayBlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 110 - Err(_) => DisplayType::DisplayBlock, [INFO] [stdout] 110 + Err(_) => DisplayType::DisplayNone, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `defaulting` found for struct `ComputedStyle` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | self.style.defaulting(node, parent_style); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ComputedStyle` [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/layout/computed_style.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ComputedStyle { [INFO] [stdout] | ------------------------ method `defaulting` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn kind(&self) -> LayoutObjectKind { [INFO] [stdout] | ---------------- expected `LayoutObjectKind` because of return type [INFO] [stdout] 131 | self.kind [INFO] [stdout] | ^^^^^^^^^ expected `LayoutObjectKind`, found `LayoutObject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_stiring` found for enum `ElementKind` in the current scope [INFO] [stdout] --> aji_core/src/renderer/dom/api.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | == NodeKind::Element(Element::new(&element_kind.to_stiring(), Vec::new())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/dom/node.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub enum ElementKind { [INFO] [stdout] | -------------------- method `to_stiring` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - == NodeKind::Element(Element::new(&element_kind.to_stiring(), Vec::new())) [INFO] [stdout] 17 + == NodeKind::Element(Element::new(&element_kind.to_string(), Vec::new())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `default_style` found for struct `RefMut<'_, LayoutObject>` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | layout_object.borrow_mut().default_style(n, parent_style); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `defaulting_style` with a similar name [INFO] [stdout] | [INFO] [stdout] 240 | layout_object.borrow_mut().defaulting_style(n, parent_style); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_kind` found for struct `RefMut<'_, LayoutObject>` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | layout_object.borrow_mut().update_kind(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `node_kind` with a similar name [INFO] [stdout] | [INFO] [stdout] 248 - layout_object.borrow_mut().update_kind(); [INFO] [stdout] 248 + layout_object.borrow_mut().node_kind(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | if e.kind() == *type_name { [INFO] [stdout] | -------- ^^^^^^^^^^ expected `ElementKind`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `ElementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_layout` found for struct `LayoutView` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LayoutView { [INFO] [stdout] | --------------------- method `update_layout` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tree.update_layout(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LayoutView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing when `renderer::layout::layout_object::LayoutObject` needs drop [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing when `renderer::layout::layout_object::LayoutObject` needs drop again [INFO] [stdout] = note: cycle used when computing whether `renderer::layout::layout_object::LayoutObject` needs drop [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `renderer::layout::layout_object::LayoutObject` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `renderer::layout::layout_object::LayoutObject` again [INFO] [stdout] = note: cycle used when computing dropck types for `core::option::Option>>` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LatoutObjectKind` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | kind: LatoutObjectKind::Block, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LatoutObjectKind` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - kind: LatoutObjectKind::Block, [INFO] [stdout] 56 + kind: LayoutObjectKind::Block, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LatoutPoint` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | point: LatoutPoint::new(0, 0), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LatoutPoint` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - point: LatoutPoint::new(0, 0), [INFO] [stdout] 62 + point: LayoutPoint::new(0, 0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `DisplayBlock` found for enum `DisplayType` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | ... Err(_) => DisplayType::DisplayBlock, [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `DisplayType` [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/layout/computed_style.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum DisplayType { [INFO] [stdout] | -------------------- variant or associated item `DisplayBlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 110 - Err(_) => DisplayType::DisplayBlock, [INFO] [stdout] 110 + Err(_) => DisplayType::DisplayNone, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aji_core` (lib) due to 15 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `defaulting` found for struct `ComputedStyle` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | self.style.defaulting(node, parent_style); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ComputedStyle` [INFO] [stdout] | [INFO] [stdout] ::: aji_core/src/renderer/layout/computed_style.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ComputedStyle { [INFO] [stdout] | ------------------------ method `defaulting` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn kind(&self) -> LayoutObjectKind { [INFO] [stdout] | ---------------- expected `LayoutObjectKind` because of return type [INFO] [stdout] 131 | self.kind [INFO] [stdout] | ^^^^^^^^^ expected `LayoutObjectKind`, found `LayoutObject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `default_style` found for struct `RefMut<'_, LayoutObject>` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | layout_object.borrow_mut().default_style(n, parent_style); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `defaulting_style` with a similar name [INFO] [stdout] | [INFO] [stdout] 240 | layout_object.borrow_mut().defaulting_style(n, parent_style); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_kind` found for struct `RefMut<'_, LayoutObject>` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | layout_object.borrow_mut().update_kind(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `node_kind` with a similar name [INFO] [stdout] | [INFO] [stdout] 248 - layout_object.borrow_mut().update_kind(); [INFO] [stdout] 248 + layout_object.borrow_mut().node_kind(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | if e.kind() == *type_name { [INFO] [stdout] | -------- ^^^^^^^^^^ expected `ElementKind`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `ElementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_layout` found for struct `LayoutView` in the current scope [INFO] [stdout] --> aji_core/src/renderer/layout/layout_view.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LayoutView { [INFO] [stdout] | --------------------- method `update_layout` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tree.update_layout(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LayoutView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing when `renderer::layout::layout_object::LayoutObject` needs drop [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing when `renderer::layout::layout_object::LayoutObject` needs drop again [INFO] [stdout] = note: cycle used when computing whether `renderer::layout::layout_object::LayoutObject` needs drop [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aji_core` (lib test) due to 15 previous errors; 3 warnings emitted [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `renderer::layout::layout_object::LayoutObject` [INFO] [stdout] --> aji_core/src/renderer/layout/layout_object.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LayoutObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `renderer::layout::layout_object::LayoutObject` again [INFO] [stdout] = note: cycle used when computing dropck types for `core::option::Option>>` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78ede45e719d5270b0693f8759f312d070f1ec8a9bce35284f22bf1c3d1ebbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ede45e719d5270b0693f8759f312d070f1ec8a9bce35284f22bf1c3d1ebbc0", kill_on_drop: false }` [INFO] [stdout] 78ede45e719d5270b0693f8759f312d070f1ec8a9bce35284f22bf1c3d1ebbc0