[INFO] cloning repository https://github.com/SergeevPavel/photon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SergeevPavel/photon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fphoton", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fphoton'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7d9fa921c49db858dec136a4de8725d535c5c87 [INFO] checking SergeevPavel/photon against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fphoton" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SergeevPavel/photon on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SergeevPavel/photon [INFO] removed path dependency webrender from git repo https://github.com/SergeevPavel/photon [INFO] finished tweaking git repo https://github.com/SergeevPavel/photon [INFO] tweaked toml for git repo https://github.com/SergeevPavel/photon written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/SergeevPavel/photon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: replace.https://github.com/rust-lang/crates.io-index#serde_derive:1.0.80.feature [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/gfx-rs/gfx.git` [INFO] [stderr] Updating git repository `https://github.com/servo/serde` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: replace.https://github.com/rust-lang/crates.io-index#serde_derive:1.0.80.feature [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee118f1e7cd96f4a835b3656d71aaf9e7960fbc93da499d5baf81112dcc3db9d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee118f1e7cd96f4a835b3656d71aaf9e7960fbc93da499d5baf81112dcc3db9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee118f1e7cd96f4a835b3656d71aaf9e7960fbc93da499d5baf81112dcc3db9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee118f1e7cd96f4a835b3656d71aaf9e7960fbc93da499d5baf81112dcc3db9d", kill_on_drop: false }` [INFO] [stdout] ee118f1e7cd96f4a835b3656d71aaf9e7960fbc93da499d5baf81112dcc3db9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9081e010eb87e4739bc504238e2ecfaf1d4ac8547f6954b1235e777029941d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9081e010eb87e4739bc504238e2ecfaf1d4ac8547f6954b1235e777029941d0", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: replace.https://github.com/rust-lang/crates.io-index#serde_derive:1.0.80.feature [INFO] [stderr] warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#gfx-hal:0.1.0 [INFO] [stderr] warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#serde_derive:1.0.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling procedural-masquerade v0.1.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling jni v0.10.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling webrender_build v0.1.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Compiling webrender v0.61.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling harfbuzz-sys v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling gleam v0.6.19 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking harfbuzz v0.3.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking lyon_path v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling peek-poke-derive v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling cstr-macros v0.1.6 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking cstr v0.1.7 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking font-kit v0.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking app_units v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking thread_profiler v0.1.3 [INFO] [stderr] Checking wr_malloc_size_of v0.1.0 [INFO] [stderr] Checking peek-poke v0.2.0 [INFO] [stderr] Checking plane-split v0.15.0 [INFO] [stderr] Checking webrender_api v0.61.0 [INFO] [stderr] Checking photon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `euclid::TypedSize2D` [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `euclid::TypedSize2D` [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `euclid::TypedSize2D` [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webrender::api::LayoutSize` [INFO] [stdout] --> src/text_layout.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use webrender::api::{GlyphInstance, LayoutSize}; [INFO] [stdout] | ^^^^^^^^^^ no `LayoutSize` in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webrender::api::LayoutSize` [INFO] [stdout] --> src/text_layout.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use webrender::api::{GlyphInstance, LayoutSize}; [INFO] [stdout] | ^^^^^^^^^^ no `LayoutSize` in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam::crossbeam_channel` [INFO] [stdout] --> src/event_loop.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | use crossbeam::crossbeam_channel::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `euclid::TypedSize2D` [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam::crossbeam_channel` [INFO] [stdout] --> src/event_loop.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | use crossbeam::crossbeam_channel::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webrender::api::LayoutSize` [INFO] [stdout] --> src/text_layout.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use webrender::api::{GlyphInstance, LayoutSize}; [INFO] [stdout] | ^^^^^^^^^^ no `LayoutSize` in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam::crossbeam_channel` [INFO] [stdout] --> src/event_loop.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | use crossbeam::crossbeam_channel::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webrender::api::LayoutSize` [INFO] [stdout] --> src/text_layout.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use webrender::api::{GlyphInstance, LayoutSize}; [INFO] [stdout] | ^^^^^^^^^^ no `LayoutSize` in `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam::crossbeam_channel` [INFO] [stdout] --> src/event_loop.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | use crossbeam::crossbeam_channel::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | let mut info = LayoutPrimitiveInfo::new(*rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info = LayoutPrimitiveInfo::new(*content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | let mut info = LayoutPrimitiveInfo::new(*rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info = LayoutPrimitiveInfo::new(*content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | let mut info = LayoutPrimitiveInfo::new(*rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info = LayoutPrimitiveInfo::new(*content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | let mut info = LayoutPrimitiveInfo::new(*rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let instance = back::Instance::create("gfx-rs instance", 1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dirs` [INFO] [stdout] --> src/event_loop.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let cache_dir = dirs::cache_dir().expect("User's cache directory not found"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let instance = back::Instance::create("gfx-rs instance", 1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dirs` [INFO] [stdout] --> src/event_loop.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let cache_dir = dirs::cache_dir().expect("User's cache directory not found"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | let mut info = LayoutPrimitiveInfo::new(*content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let instance = back::Instance::create("gfx-rs instance", 1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] --> src/event_loop.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let (sndr, recv) = crossbeam::crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] --> src/event_loop.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let (sndr, recv) = crossbeam::crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dirs` [INFO] [stdout] --> src/event_loop.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let cache_dir = dirs::cache_dir().expect("User's cache directory not found"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/text.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | Text { text: String, origin: LayoutPoint, layouted_text: Option, color: ColorF }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Scroll { position: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | content: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | fn parse_rect(value: &Value) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_point(value: &Value) -> LayoutPoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LayoutPoint::new(value["x"].as_f64().unwrap() as f32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | let default_origin = LayoutPoint::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] --> src/event_loop.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let (sndr, recv) = crossbeam::crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 119 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | ... context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBo... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSideOffsets` [INFO] [stdout] --> src/dom.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSideOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:280:61 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:283:61 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:283:77 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:323:86 [INFO] [stdout] | [INFO] [stdout] 323 | fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutVector2D` in this scope [INFO] [stdout] --> src/dom.rs:341:86 [INFO] [stdout] | [INFO] [stdout] 341 | fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | content_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:513:52 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn mouse_click(&mut self, cursor_position: WorldPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:530:59 [INFO] [stdout] | [INFO] [stdout] 530 | winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:531:57 [INFO] [stdout] | [INFO] [stdout] 531 | winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:550:134 [INFO] [stdout] | [INFO] [stdout] 550 | ...ipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender` [INFO] [stdout] --> src/event_loop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | webrender::DeviceInit { [INFO] [stdout] | ^^^^^^^^^^ not found in `webrender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeviceIntSize` in this scope [INFO] [stdout] --> src/event_loop.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/text.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceIntSize` [INFO] [stdout] --> src/event_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | DeviceIntSize::new(size.width as i32, size.height as i32) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | Text { text: String, origin: LayoutPoint, layouted_text: Option, color: ColorF }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Scroll { position: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/event_loop.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | content: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | fn parse_rect(value: &Value) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_point(value: &Value) -> LayoutPoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/event_loop.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LayoutPoint::new(value["x"].as_f64().unwrap() as f32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | let default_origin = LayoutPoint::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid` [INFO] [stdout] --> src/event_loop.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in `euclid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use euclid::TypedScale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | let mut cursor_position = WorldPoint::zero(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | cursor_position = WorldPoint::new(x as f32, y as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `euclid` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::euclid` to refer to this crate unambiguously [INFO] [stdout] note: `euclid` could also refer to the crate imported here [INFO] [stdout] --> src/dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use webrender::api::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::euclid` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] --> src/dom.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `LayoutPrimitiveInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/text.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | Text { text: String, origin: LayoutPoint, layouted_text: Option, color: ColorF }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Scroll { position: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | content: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | fn parse_rect(value: &Value) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_point(value: &Value) -> LayoutPoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LayoutPoint::new(value["x"].as_f64().unwrap() as f32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | let default_origin = LayoutPoint::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 119 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | ... context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBo... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 119 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | ... context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBo... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSideOffsets` [INFO] [stdout] --> src/dom.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSideOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:280:61 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSideOffsets` [INFO] [stdout] --> src/dom.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSideOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:283:61 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:280:61 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:283:77 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:283:61 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:323:86 [INFO] [stdout] | [INFO] [stdout] 323 | fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:283:77 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:323:86 [INFO] [stdout] | [INFO] [stdout] 323 | fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutVector2D` in this scope [INFO] [stdout] --> src/dom.rs:341:86 [INFO] [stdout] | [INFO] [stdout] 341 | fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | content_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutVector2D` in this scope [INFO] [stdout] --> src/dom.rs:341:86 [INFO] [stdout] | [INFO] [stdout] 341 | fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | content_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:513:52 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn mouse_click(&mut self, cursor_position: WorldPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:513:52 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn mouse_click(&mut self, cursor_position: WorldPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:530:59 [INFO] [stdout] | [INFO] [stdout] 530 | winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:530:59 [INFO] [stdout] | [INFO] [stdout] 530 | winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:531:57 [INFO] [stdout] | [INFO] [stdout] 531 | winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:531:57 [INFO] [stdout] | [INFO] [stdout] 531 | winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:550:134 [INFO] [stdout] | [INFO] [stdout] 550 | ...ipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:550:134 [INFO] [stdout] | [INFO] [stdout] 550 | ...ipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender` [INFO] [stdout] --> src/event_loop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | webrender::DeviceInit { [INFO] [stdout] | ^^^^^^^^^^ not found in `webrender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender` [INFO] [stdout] --> src/event_loop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | webrender::DeviceInit { [INFO] [stdout] | ^^^^^^^^^^ not found in `webrender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeviceIntSize` in this scope [INFO] [stdout] --> src/event_loop.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceIntSize` [INFO] [stdout] --> src/event_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | DeviceIntSize::new(size.width as i32, size.height as i32) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/event_loop.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/event_loop.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid` [INFO] [stdout] --> src/event_loop.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in `euclid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use euclid::TypedScale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | let mut cursor_position = WorldPoint::zero(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | cursor_position = WorldPoint::new(x as f32, y as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `euclid` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::euclid` to refer to this crate unambiguously [INFO] [stdout] note: `euclid` could also refer to the crate imported here [INFO] [stdout] --> src/dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use webrender::api::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::euclid` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect` [INFO] [stdout] --> src/text_layout.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hb_position_t` [INFO] [stdout] --> src/text_layout.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | hb_font_create, hb_font_destroy, hb_position_t, hb_shape, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HB_SCRIPT_DEVANAGARI` [INFO] [stdout] --> src/text_layout.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction`, `Language` [INFO] [stdout] --> src/text_layout.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use harfbuzz::{Buffer, Direction, Language}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::hinting::HintingOptions` [INFO] [stdout] --> src/text_layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use font_kit::hinting::HintingOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeviceIntSize` in this scope [INFO] [stdout] --> src/event_loop.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::canvas::RasterizationOptions` [INFO] [stdout] --> src/text_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use font_kit::canvas::RasterizationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::LayoutedText` [INFO] [stdout] --> src/text_layout.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::text::LayoutedText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/event_loop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read` [INFO] [stdout] --> src/event_loop.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::*` [INFO] [stdout] --> src/event_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::text::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/event_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceIntSize` [INFO] [stdout] --> src/event_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | DeviceIntSize::new(size.width as i32, size.height as i32) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/event_loop.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::{ToSocketAddrs, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/event_loop.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/event_loop.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect` [INFO] [stdout] --> src/text_layout.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hb_position_t` [INFO] [stdout] --> src/text_layout.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | hb_font_create, hb_font_destroy, hb_position_t, hb_shape, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HB_SCRIPT_DEVANAGARI` [INFO] [stdout] --> src/text_layout.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction`, `Language` [INFO] [stdout] --> src/text_layout.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use harfbuzz::{Buffer, Direction, Language}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::hinting::HintingOptions` [INFO] [stdout] --> src/text_layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use font_kit::hinting::HintingOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::canvas::RasterizationOptions` [INFO] [stdout] --> src/text_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use font_kit::canvas::RasterizationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::LayoutedText` [INFO] [stdout] --> src/text_layout.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::text::LayoutedText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/event_loop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read` [INFO] [stdout] --> src/event_loop.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::*` [INFO] [stdout] --> src/event_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::text::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/event_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/event_loop.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::{ToSocketAddrs, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/event_loop.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/event_loop.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid` [INFO] [stdout] --> src/event_loop.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in `euclid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use euclid::TypedScale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | let mut cursor_position = WorldPoint::zero(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | cursor_position = WorldPoint::new(x as f32, y as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `euclid` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::euclid` to refer to this crate unambiguously [INFO] [stdout] note: `euclid` could also refer to the crate imported here [INFO] [stdout] --> src/dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use webrender::api::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::euclid` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect` [INFO] [stdout] --> src/text_layout.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hb_position_t` [INFO] [stdout] --> src/text_layout.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | hb_font_create, hb_font_destroy, hb_position_t, hb_shape, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HB_SCRIPT_DEVANAGARI` [INFO] [stdout] --> src/text_layout.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction`, `Language` [INFO] [stdout] --> src/text_layout.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use harfbuzz::{Buffer, Direction, Language}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::hinting::HintingOptions` [INFO] [stdout] --> src/text_layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use font_kit::hinting::HintingOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::canvas::RasterizationOptions` [INFO] [stdout] --> src/text_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use font_kit::canvas::RasterizationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::LayoutedText` [INFO] [stdout] --> src/text_layout.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::text::LayoutedText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/event_loop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read` [INFO] [stdout] --> src/event_loop.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::*` [INFO] [stdout] --> src/event_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::text::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `photon` [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/event_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/event_loop.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::{ToSocketAddrs, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/event_loop.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `back` [INFO] [stdout] --> src/event_loop.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let instance = back::Instance::create("gfx-rs instance", 1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dirs` [INFO] [stdout] --> src/event_loop.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let cache_dir = dirs::cache_dir().expect("User's cache directory not found"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] --> src/event_loop.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let (sndr, recv) = crossbeam::crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `crossbeam_channel` in `crossbeam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/text.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | Text { text: String, origin: LayoutPoint, layouted_text: Option, color: ColorF }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Scroll { position: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | content: LayoutRect, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/dom.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | fn parse_rect(value: &Value) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_point(value: &Value) -> LayoutPoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LayoutPoint::new(value["x"].as_f64().unwrap() as f32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | let default_origin = LayoutPoint::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | rect: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | position: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | content: LayoutRect::new(LayoutPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/dom.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 119 | ... LayoutSize::new(0.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | ... context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBo... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSideOffsets` [INFO] [stdout] --> src/dom.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSideOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:280:61 [INFO] [stdout] | [INFO] [stdout] 280 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/dom.rs:283:61 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/dom.rs:283:77 [INFO] [stdout] | [INFO] [stdout] 283 | let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutPoint` in this scope [INFO] [stdout] --> src/dom.rs:323:86 [INFO] [stdout] | [INFO] [stdout] 323 | fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutVector2D` in this scope [INFO] [stdout] --> src/dom.rs:341:86 [INFO] [stdout] | [INFO] [stdout] 341 | fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | content_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:513:52 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn mouse_click(&mut self, cursor_position: WorldPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/dom.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:530:59 [INFO] [stdout] | [INFO] [stdout] 530 | winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutVector2D` [INFO] [stdout] --> src/dom.rs:531:57 [INFO] [stdout] | [INFO] [stdout] 531 | winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutVector2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/dom.rs:550:134 [INFO] [stdout] | [INFO] [stdout] 550 | ...ipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender` [INFO] [stdout] --> src/event_loop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | webrender::DeviceInit { [INFO] [stdout] | ^^^^^^^^^^ not found in `webrender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeviceIntSize` in this scope [INFO] [stdout] --> src/event_loop.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceIntSize` [INFO] [stdout] --> src/event_loop.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | DeviceIntSize::new(size.width as i32, size.height as i32) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::DeviceIntSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/event_loop.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta }, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/event_loop.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid` [INFO] [stdout] --> src/event_loop.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in `euclid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use euclid::TypedScale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | let mut cursor_position = WorldPoint::zero(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/event_loop.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | cursor_position = WorldPoint::new(x as f32, y as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 | use crate::event_loop::units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/dom.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use euclid::TypedSize2D; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `euclid` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::euclid` to refer to this crate unambiguously [INFO] [stdout] note: `euclid` could also refer to the crate imported here [INFO] [stdout] --> src/dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use webrender::api::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `self::euclid` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/text.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fxhash::FxHashMap` [INFO] [stdout] --> src/text.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fxhash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect` [INFO] [stdout] --> src/text_layout.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hb_position_t` [INFO] [stdout] --> src/text_layout.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | hb_font_create, hb_font_destroy, hb_position_t, hb_shape, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HB_SCRIPT_DEVANAGARI` [INFO] [stdout] --> src/text_layout.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction`, `Language` [INFO] [stdout] --> src/text_layout.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use harfbuzz::{Buffer, Direction, Language}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::hinting::HintingOptions` [INFO] [stdout] --> src/text_layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use font_kit::hinting::HintingOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::canvas::RasterizationOptions` [INFO] [stdout] --> src/text_layout.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use font_kit::canvas::RasterizationOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::LayoutedText` [INFO] [stdout] --> src/text_layout.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::text::LayoutedText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/event_loop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read` [INFO] [stdout] --> src/event_loop.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text::*` [INFO] [stdout] --> src/event_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::text::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/event_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/event_loop.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use std::net::{ToSocketAddrs, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/event_loop.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/event_loop.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/event_loop.rs:27:105 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box) -> (Window, Renderer, RenderApiSender) { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e9081e010eb87e4739bc504238e2ecfaf1d4ac8547f6954b1235e777029941d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9081e010eb87e4739bc504238e2ecfaf1d4ac8547f6954b1235e777029941d0", kill_on_drop: false }` [INFO] [stdout] e9081e010eb87e4739bc504238e2ecfaf1d4ac8547f6954b1235e777029941d0