[INFO] updating cached repository https://github.com/SergeevPavel/photon
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] a718fe97b652dd8525d0345257507393f94f5d98
[INFO] checking SergeevPavel/photon against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSergeevPavel%2Fphoton" "/workspace/builds/worker-13/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SergeevPavel/photon on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-13/source/Cargo.toml
[INFO] crate git repo https://github.com/SergeevPavel/photon already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-13/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/gfx-rs/gfx.git`
[INFO] [stderr]     Updating git repository `https://github.com/servo/serde`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f14869386b91ce04e2549c0b127f67169265a28dae26085da1a82382b6f8f893
[INFO] running `"docker" "start" "-a" "f14869386b91ce04e2549c0b127f67169265a28dae26085da1a82382b6f8f893"`
[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]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling procedural-masquerade v0.1.6
[INFO] [stderr]     Checking ascii v0.9.3
[INFO] [stderr]     Checking binary-space-partition v0.1.2
[INFO] [stderr]     Checking svg_fmt v0.4.1
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]    Compiling harfbuzz-sys v0.3.0
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling jni v0.10.2
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]     Checking servo-freetype-sys v4.0.5
[INFO] [stderr]     Checking expat-sys v2.1.6
[INFO] [stderr]    Compiling servo-fontconfig-sys v4.0.9
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]     Checking error-chain v0.12.2
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking freetype v0.4.1
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]    Compiling peek-poke-derive v0.2.1
[INFO] [stderr]    Compiling malloc_size_of_derive v0.1.1
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking webrender_build v0.1.0
[INFO] [stderr]    Compiling cstr-macros v0.1.6
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking combine v3.8.1
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking servo-fontconfig v0.4.0
[INFO] [stderr]     Checking harfbuzz v0.3.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]    Compiling gleam v0.6.19
[INFO] [stderr]     Checking cstr v0.1.7
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling webrender v0.61.0
[INFO] [stderr]    Compiling euclid_macros v0.1.0
[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]     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.10
[INFO] [stderr]     Checking app_units v0.7.1
[INFO] [stderr]     Checking serde_bytes v0.11.3
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking bincode v1.2.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] [stderr] error[E0432]: unresolved import `euclid::TypedSize2D`
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `webrender::api::LayoutSize`
[INFO] [stderr]   --> src/text_layout.rs:18:37
[INFO] [stderr]    |
[INFO] [stderr] 18 | use webrender::api::{GlyphInstance, LayoutSize};
[INFO] [stderr]    |                                     ^^^^^^^^^^ no `LayoutSize` in `api`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `euclid::TypedSize2D`
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `webrender::api::LayoutSize`
[INFO] [stderr]   --> src/text_layout.rs:18:37
[INFO] [stderr]    |
[INFO] [stderr] 18 | use webrender::api::{GlyphInstance, LayoutSize};
[INFO] [stderr]    |                                     ^^^^^^^^^^ no `LayoutSize` in `api`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     LayoutPoint::new(value["x"].as_f64().unwrap() as f32,
[INFO] [stderr]    |     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:97:38
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let default_origin = LayoutPoint::new(0.0, 0.0);
[INFO] [stderr]    |                                      ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                           ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:108:43
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                           ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:109:43
[INFO] [stderr]     |
[INFO] [stderr] 109 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:116:31
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:116:47
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                               ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:117:47
[INFO] [stderr]     |
[INFO] [stderr] 117 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:118:30
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                              ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:118:46
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                              ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:119:46
[INFO] [stderr]     |
[INFO] [stderr] 119 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:155:57
[INFO] [stderr]     |
[INFO] [stderr] 155 |                         context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBounds);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:217:28
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:217:53
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                     ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:217:69
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:223:32
[INFO] [stderr]     |
[INFO] [stderr] 223 |                 let mut info = LayoutPrimitiveInfo::new(*rect);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     LayoutPoint::new(value["x"].as_f64().unwrap() as f32,
[INFO] [stderr]    |     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:97:38
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let default_origin = LayoutPoint::new(0.0, 0.0);
[INFO] [stderr]    |                                      ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                           ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:108:43
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                           ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr]    --> src/dom.rs:225:30
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0);
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:269:32
[INFO] [stderr]     |
[INFO] [stderr] 269 |                 let mut info = LayoutPrimitiveInfo::new(*content);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:280:36
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:280:61
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:283:36
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:283:61
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:283:77
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:109:43
[INFO] [stderr]     |
[INFO] [stderr] 109 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:116:31
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:116:47
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                               ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:117:47
[INFO] [stderr]     |
[INFO] [stderr] 117 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:118:30
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                              ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:118:46
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                              ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:119:46
[INFO] [stderr]     |
[INFO] [stderr] 119 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:155:57
[INFO] [stderr]     |
[INFO] [stderr] 155 |                         context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBounds);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:217:28
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:217:53
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                     ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:217:69
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:223:32
[INFO] [stderr]     |
[INFO] [stderr] 223 |                 let mut info = LayoutPrimitiveInfo::new(*rect);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr]    --> src/dom.rs:225:30
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0);
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:269:32
[INFO] [stderr]     |
[INFO] [stderr] 269 |                 let mut info = LayoutPrimitiveInfo::new(*content);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:280:36
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:280:61
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:283:36
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:283:61
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:283:77
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `euclid::TypedSize2D`
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `webrender::api::LayoutSize`
[INFO] [stderr]   --> src/text_layout.rs:18:37
[INFO] [stderr]    |
[INFO] [stderr] 18 | use webrender::api::{GlyphInstance, LayoutSize};
[INFO] [stderr]    |                                     ^^^^^^^^^^ no `LayoutSize` in `api`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:530:59
[INFO] [stderr]     |
[INFO] [stderr] 530 |             winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT),
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:531:57
[INFO] [stderr]     |
[INFO] [stderr] 531 |             winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32),
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:530:59
[INFO] [stderr]     |
[INFO] [stderr] 530 |             winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT),
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:531:57
[INFO] [stderr]     |
[INFO] [stderr] 531 |             winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32),
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let instance = back::Instance::create("gfx-rs instance", 1);
[INFO] [stderr]    |                        ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `dirs`
[INFO] [stderr]   --> src/event_loop.rs:52:25
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let cache_dir = dirs::cache_dir().expect("User's cache directory not found");
[INFO] [stderr]    |                         ^^^^ use of undeclared type or module `dirs`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `euclid::TypedSize2D`
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ no `TypedSize2D` in `api::euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `webrender::api::LayoutSize`
[INFO] [stderr]   --> src/text_layout.rs:18:37
[INFO] [stderr]    |
[INFO] [stderr] 18 | use webrender::api::{GlyphInstance, LayoutSize};
[INFO] [stderr]    |                                     ^^^^^^^^^^ no `LayoutSize` in `api`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let instance = back::Instance::create("gfx-rs instance", 1);
[INFO] [stderr]    |                        ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `dirs`
[INFO] [stderr]   --> src/event_loop.rs:52:25
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let cache_dir = dirs::cache_dir().expect("User's cache directory not found");
[INFO] [stderr]    |                         ^^^^ use of undeclared type or module `dirs`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceIntSize`
[INFO] [stderr]   --> src/event_loop.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         DeviceIntSize::new(size.width as i32, size.height as i32)
[INFO] [stderr]    |         ^^^^^^^^^^^^^ use of undeclared type or module `DeviceIntSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceIntSize`
[INFO] [stderr]   --> src/event_loop.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         DeviceIntSize::new(size.width as i32, size.height as i32)
[INFO] [stderr]    |         ^^^^^^^^^^^^^ use of undeclared type or module `DeviceIntSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid`
[INFO] [stderr]    --> src/event_loop.rs:143:71
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                                                                       ^^^^^^^^^^ could not find `TypedScale` in `euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid`
[INFO] [stderr]    --> src/event_loop.rs:143:71
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                                                                       ^^^^^^^^^^ could not find `TypedScale` in `euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:154:31
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let mut cursor_position = WorldPoint::zero();
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:154:31
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let mut cursor_position = WorldPoint::zero();
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:217:39
[INFO] [stderr]     |
[INFO] [stderr] 217 |                     cursor_position = WorldPoint::new(x as f32, y as f32);
[INFO] [stderr]     |                                       ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:217:39
[INFO] [stderr]     |
[INFO] [stderr] 217 |                     cursor_position = WorldPoint::new(x as f32, y as f32);
[INFO] [stderr]     |                                       ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]   --> src/text.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub size: LayoutSize,
[INFO] [stderr]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:59:32
[INFO] [stderr]    |
[INFO] [stderr] 59 |     Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback },
[INFO] [stderr]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:60:34
[INFO] [stderr]    |
[INFO] [stderr] 60 |     Text { text: String, origin: LayoutPoint, layouted_text: Option<text::LayoutedText>, color: ColorF },
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:61:24
[INFO] [stderr]    |
[INFO] [stderr] 61 |     Scroll { position: LayoutRect,
[INFO] [stderr]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |              content: LayoutRect,
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn parse_rect(value: &Value) -> LayoutRect {
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:73:34
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn parse_point(value: &Value) -> LayoutPoint {
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:323:86
[INFO] [stderr]     |
[INFO] [stderr] 323 |     fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutVector2D` in this scope
[INFO] [stderr]    --> src/dom.rs:341:86
[INFO] [stderr]     |
[INFO] [stderr] 341 |     fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:483:19
[INFO] [stderr]     |
[INFO] [stderr] 483 |     content_size: LayoutSize,
[INFO] [stderr]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:513:52
[INFO] [stderr]     |
[INFO] [stderr] 513 |     pub fn mouse_click(&mut self, cursor_position: WorldPoint) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:524:52
[INFO] [stderr]     |
[INFO] [stderr] 524 |     pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:550:134
[INFO] [stderr]     |
[INFO] [stderr] 550 |     pub fn spawn<A: ToSocketAddrs>(addr: A, sender: RenderApiSender, pipeline_id: PipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller {
[INFO] [stderr]     |                                                                                                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender`
[INFO] [stderr]   --> src/event_loop.rs:55:20
[INFO] [stderr]    |
[INFO] [stderr] 55 |         webrender::DeviceInit {
[INFO] [stderr]    |                    ^^^^^^^^^^ not found in `webrender`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DeviceIntSize` in this scope
[INFO] [stderr]   --> src/event_loop.rs:69:41
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]   --> src/event_loop.rs:84:31
[INFO] [stderr]    |
[INFO] [stderr] 84 |     Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta },
[INFO] [stderr]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/event_loop.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution)
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^ ambiguous name
[INFO] [stderr]    |
[INFO] [stderr]    = note: `euclid` could refer to a crate passed with `--extern`
[INFO] [stderr]    = help: use `::euclid` to refer to this crate unambiguously
[INFO] [stderr] note: `euclid` could also refer to the crate imported here
[INFO] [stderr]   --> src/dom.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | use webrender::api::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = help: use `self::euclid` to refer to this crate unambiguously
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]   --> src/text.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub size: LayoutSize,
[INFO] [stderr]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:59:32
[INFO] [stderr]    |
[INFO] [stderr] 59 |     Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback },
[INFO] [stderr]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:60:34
[INFO] [stderr]    |
[INFO] [stderr] 60 |     Text { text: String, origin: LayoutPoint, layouted_text: Option<text::LayoutedText>, color: ColorF },
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:61:24
[INFO] [stderr]    |
[INFO] [stderr] 61 |     Scroll { position: LayoutRect,
[INFO] [stderr]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |              content: LayoutRect,
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn parse_rect(value: &Value) -> LayoutRect {
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:73:34
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn parse_point(value: &Value) -> LayoutPoint {
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:323:86
[INFO] [stderr]     |
[INFO] [stderr] 323 |     fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutVector2D` in this scope
[INFO] [stderr]    --> src/dom.rs:341:86
[INFO] [stderr]     |
[INFO] [stderr] 341 |     fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:483:19
[INFO] [stderr]     |
[INFO] [stderr] 483 |     content_size: LayoutSize,
[INFO] [stderr]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:513:52
[INFO] [stderr]     |
[INFO] [stderr] 513 |     pub fn mouse_click(&mut self, cursor_position: WorldPoint) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:524:52
[INFO] [stderr]     |
[INFO] [stderr] 524 |     pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:550:134
[INFO] [stderr]     |
[INFO] [stderr] 550 |     pub fn spawn<A: ToSocketAddrs>(addr: A, sender: RenderApiSender, pipeline_id: PipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller {
[INFO] [stderr]     |                                                                                                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender`
[INFO] [stderr]   --> src/event_loop.rs:55:20
[INFO] [stderr]    |
[INFO] [stderr] 55 |         webrender::DeviceInit {
[INFO] [stderr]    |                    ^^^^^^^^^^ not found in `webrender`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `log`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use log;
[INFO] [stderr]   |     ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DeviceIntSize` in this scope
[INFO] [stderr]   --> src/event_loop.rs:69:41
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/text.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fxhash::FxHashMap`
[INFO] [stderr]  --> src/text.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use fxhash::FxHashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]   --> src/event_loop.rs:84:31
[INFO] [stderr]    |
[INFO] [stderr] 84 |     Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta },
[INFO] [stderr]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/event_loop.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution)
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^ ambiguous name
[INFO] [stderr]    |
[INFO] [stderr]    = note: `euclid` could refer to a crate passed with `--extern`
[INFO] [stderr]    = help: use `::euclid` to refer to this crate unambiguously
[INFO] [stderr] note: `euclid` could also refer to the crate imported here
[INFO] [stderr]   --> src/dom.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | use webrender::api::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = help: use `self::euclid` to refer to this crate unambiguously
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect`
[INFO] [stderr]  --> src/text_layout.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hb_position_t`
[INFO] [stderr]  --> src/text_layout.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 |     hb_font_create, hb_font_destroy, hb_position_t, hb_shape,
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HB_SCRIPT_DEVANAGARI`
[INFO] [stderr]  --> src/text_layout.rs:8:46
[INFO] [stderr]   |
[INFO] [stderr] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI};
[INFO] [stderr]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Direction`, `Language`
[INFO] [stderr]  --> src/text_layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use harfbuzz::{Buffer, Direction, Language};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::hinting::HintingOptions`
[INFO] [stderr]   --> src/text_layout.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use font_kit::hinting::HintingOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::canvas::RasterizationOptions`
[INFO] [stderr]   --> src/text_layout.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use font_kit::canvas::RasterizationOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::LayoutedText`
[INFO] [stderr]   --> src/text_layout.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::text::LayoutedText;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/event_loop.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufReader`, `Read`
[INFO] [stderr]  --> src/event_loop.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::io::{Read, BufReader};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::*`
[INFO] [stderr]   --> src/event_loop.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::text::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/event_loop.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::env;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]   --> src/event_loop.rs:21:31
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::net::{ToSocketAddrs, Ipv4Addr};
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::Deserialize`
[INFO] [stderr]   --> src/event_loop.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::Deserialize;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/event_loop.rs:27:67
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/event_loop.rs:111:28
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn clone(&self) -> Box<RenderNotifier> {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^^^^^^^^^^ unexpected type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 53 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] warning: unused import: `log`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use log;
[INFO] [stderr]   |     ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/text.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fxhash::FxHashMap`
[INFO] [stderr]  --> src/text.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use fxhash::FxHashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect`
[INFO] [stderr]  --> src/text_layout.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hb_position_t`
[INFO] [stderr]  --> src/text_layout.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 |     hb_font_create, hb_font_destroy, hb_position_t, hb_shape,
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HB_SCRIPT_DEVANAGARI`
[INFO] [stderr]  --> src/text_layout.rs:8:46
[INFO] [stderr]   |
[INFO] [stderr] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI};
[INFO] [stderr]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Direction`, `Language`
[INFO] [stderr]  --> src/text_layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use harfbuzz::{Buffer, Direction, Language};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::hinting::HintingOptions`
[INFO] [stderr]   --> src/text_layout.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use font_kit::hinting::HintingOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::canvas::RasterizationOptions`
[INFO] [stderr]   --> src/text_layout.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use font_kit::canvas::RasterizationOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::LayoutedText`
[INFO] [stderr]   --> src/text_layout.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::text::LayoutedText;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/event_loop.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufReader`, `Read`
[INFO] [stderr]  --> src/event_loop.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::io::{Read, BufReader};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::*`
[INFO] [stderr]   --> src/event_loop.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::text::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/event_loop.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::env;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]   --> src/event_loop.rs:21:31
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::net::{ToSocketAddrs, Ipv4Addr};
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::Deserialize`
[INFO] [stderr]   --> src/event_loop.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::Deserialize;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/event_loop.rs:27:67
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/event_loop.rs:111:28
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn clone(&self) -> Box<RenderNotifier> {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `photon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     LayoutPoint::new(value["x"].as_f64().unwrap() as f32,
[INFO] [stderr]    |     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:97:38
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let default_origin = LayoutPoint::new(0.0, 0.0);
[INFO] [stderr]    |                                      ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                           ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:108:43
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                           ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:109:43
[INFO] [stderr]     |
[INFO] [stderr] 109 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:116:31
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:116:47
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                               ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:117:47
[INFO] [stderr]     |
[INFO] [stderr] 117 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:118:30
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                              ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:118:46
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                              ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:119:46
[INFO] [stderr]     |
[INFO] [stderr] 119 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:155:57
[INFO] [stderr]     |
[INFO] [stderr] 155 |                         context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBounds);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:217:28
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:217:53
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                     ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:217:69
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:223:32
[INFO] [stderr]     |
[INFO] [stderr] 223 |                 let mut info = LayoutPrimitiveInfo::new(*rect);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr]    --> src/dom.rs:225:30
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0);
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:269:32
[INFO] [stderr]     |
[INFO] [stderr] 269 |                 let mut info = LayoutPrimitiveInfo::new(*content);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:280:36
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:280:61
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:283:36
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:283:61
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:283:77
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^^^^^^^^^^ unexpected type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 53 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `photon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:530:59
[INFO] [stderr]     |
[INFO] [stderr] 530 |             winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT),
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     LayoutPoint::new(value["x"].as_f64().unwrap() as f32,
[INFO] [stderr]    |     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]   --> src/dom.rs:97:38
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let default_origin = LayoutPoint::new(0.0, 0.0);
[INFO] [stderr]    |                                      ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:531:57
[INFO] [stderr]     |
[INFO] [stderr] 531 |             winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32),
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                           ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:108:43
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     rect: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                           ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:109:43
[INFO] [stderr]     |
[INFO] [stderr] 109 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let instance = back::Instance::create("gfx-rs instance", 1);
[INFO] [stderr]    |                        ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:116:31
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `dirs`
[INFO] [stderr]   --> src/event_loop.rs:52:25
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let cache_dir = dirs::cache_dir().expect("User's cache directory not found");
[INFO] [stderr]    |                         ^^^^ use of undeclared type or module `dirs`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:116:47
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     position: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                               ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceIntSize`
[INFO] [stderr]   --> src/event_loop.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         DeviceIntSize::new(size.width as i32, size.height as i32)
[INFO] [stderr]    |         ^^^^^^^^^^^^^ use of undeclared type or module `DeviceIntSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:117:47
[INFO] [stderr]     |
[INFO] [stderr] 117 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid`
[INFO] [stderr]    --> src/event_loop.rs:143:71
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                                                                       ^^^^^^^^^^ could not find `TypedScale` in `euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:118:30
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                              ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:154:31
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let mut cursor_position = WorldPoint::zero();
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:118:46
[INFO] [stderr]     |
[INFO] [stderr] 118 |                     content: LayoutRect::new(LayoutPoint::zero(),
[INFO] [stderr]     |                                              ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSize`
[INFO] [stderr]    --> src/dom.rs:119:46
[INFO] [stderr]     |
[INFO] [stderr] 119 | ...                   LayoutSize::new(0.0, 0.0)),
[INFO] [stderr]     |                       ^^^^^^^^^^ use of undeclared type or module `LayoutSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:217:39
[INFO] [stderr]     |
[INFO] [stderr] 217 |                     cursor_position = WorldPoint::new(x as f32, y as f32);
[INFO] [stderr]     |                                       ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:155:57
[INFO] [stderr]     |
[INFO] [stderr] 155 |                         context.txn.scroll_node_with_id(LayoutPoint::new(x, y), ExternalScrollId(node_id, context.pipeline_id), ScrollClamping::ToContentBounds);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]   --> src/text.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub size: LayoutSize,
[INFO] [stderr]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:217:28
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:59:32
[INFO] [stderr]    |
[INFO] [stderr] 59 |     Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback },
[INFO] [stderr]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:217:53
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                     ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:60:34
[INFO] [stderr]    |
[INFO] [stderr] 60 |     Text { text: String, origin: LayoutPoint, layouted_text: Option<text::LayoutedText>, color: ColorF },
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:61:24
[INFO] [stderr]    |
[INFO] [stderr] 61 |     Scroll { position: LayoutRect,
[INFO] [stderr]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:217:69
[INFO] [stderr]     |
[INFO] [stderr] 217 |                 let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::zero(), context.builder.content_size()));
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:223:32
[INFO] [stderr]     |
[INFO] [stderr] 223 |                 let mut info = LayoutPrimitiveInfo::new(*rect);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |              content: LayoutRect,
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn parse_rect(value: &Value) -> LayoutRect {
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr]    --> src/dom.rs:225:30
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 let widths = LayoutSideOffsets::new(1.0, 1.0, 1.0, 1.0);
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutSideOffsets`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:269:32
[INFO] [stderr]     |
[INFO] [stderr] 269 |                 let mut info = LayoutPrimitiveInfo::new(*content);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:73:34
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn parse_point(value: &Value) -> LayoutPoint {
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:280:36
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:323:86
[INFO] [stderr]     |
[INFO] [stderr] 323 |     fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:280:61
[INFO] [stderr]     |
[INFO] [stderr] 280 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(*origin, layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutVector2D` in this scope
[INFO] [stderr]    --> src/dom.rs:341:86
[INFO] [stderr]     |
[INFO] [stderr] 341 |     fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr]    --> src/dom.rs:283:36
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LayoutPrimitiveInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:483:19
[INFO] [stderr]     |
[INFO] [stderr] 483 |     content_size: LayoutSize,
[INFO] [stderr]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutRect`
[INFO] [stderr]    --> src/dom.rs:283:61
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                             ^^^^^^^^^^ use of undeclared type or module `LayoutRect`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:513:52
[INFO] [stderr]     |
[INFO] [stderr] 513 |     pub fn mouse_click(&mut self, cursor_position: WorldPoint) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutPoint`
[INFO] [stderr]    --> src/dom.rs:283:77
[INFO] [stderr]     |
[INFO] [stderr] 283 |                         let info = LayoutPrimitiveInfo::new(LayoutRect::new(LayoutPoint::new(0.0, 0.0), layouted_text.size));
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^ use of undeclared type or module `LayoutPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:524:52
[INFO] [stderr]     |
[INFO] [stderr] 524 |     pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:550:134
[INFO] [stderr]     |
[INFO] [stderr] 550 |     pub fn spawn<A: ToSocketAddrs>(addr: A, sender: RenderApiSender, pipeline_id: PipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller {
[INFO] [stderr]     |                                                                                                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender`
[INFO] [stderr]   --> src/event_loop.rs:55:20
[INFO] [stderr]    |
[INFO] [stderr] 55 |         webrender::DeviceInit {
[INFO] [stderr]    |                    ^^^^^^^^^^ not found in `webrender`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:530:59
[INFO] [stderr]     |
[INFO] [stderr] 530 |             winit::MouseScrollDelta::LineDelta(dx, dy) => LayoutVector2D::new(-dx, -dy * LINE_HEIGHT),
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DeviceIntSize` in this scope
[INFO] [stderr]   --> src/event_loop.rs:69:41
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LayoutVector2D`
[INFO] [stderr]    --> src/dom.rs:531:57
[INFO] [stderr]     |
[INFO] [stderr] 531 |             winit::MouseScrollDelta::PixelDelta(pos) => LayoutVector2D::new(-pos.x as f32, -pos.y as f32),
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type or module `LayoutVector2D`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]   --> src/event_loop.rs:84:31
[INFO] [stderr]    |
[INFO] [stderr] 84 |     Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta },
[INFO] [stderr]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/event_loop.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution)
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^ ambiguous name
[INFO] [stderr]    |
[INFO] [stderr]    = note: `euclid` could refer to a crate passed with `--extern`
[INFO] [stderr]    = help: use `::euclid` to refer to this crate unambiguously
[INFO] [stderr] note: `euclid` could also refer to the crate imported here
[INFO] [stderr]   --> src/dom.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | use webrender::api::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = help: use `self::euclid` to refer to this crate unambiguously
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/text.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fxhash::FxHashMap`
[INFO] [stderr]  --> src/text.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use fxhash::FxHashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect`
[INFO] [stderr]  --> src/text_layout.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hb_position_t`
[INFO] [stderr]  --> src/text_layout.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 |     hb_font_create, hb_font_destroy, hb_position_t, hb_shape,
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HB_SCRIPT_DEVANAGARI`
[INFO] [stderr]  --> src/text_layout.rs:8:46
[INFO] [stderr]   |
[INFO] [stderr] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI};
[INFO] [stderr]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Direction`, `Language`
[INFO] [stderr]  --> src/text_layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use harfbuzz::{Buffer, Direction, Language};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::hinting::HintingOptions`
[INFO] [stderr]   --> src/text_layout.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use font_kit::hinting::HintingOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::canvas::RasterizationOptions`
[INFO] [stderr]   --> src/text_layout.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use font_kit::canvas::RasterizationOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::LayoutedText`
[INFO] [stderr]   --> src/text_layout.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::text::LayoutedText;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/event_loop.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufReader`, `Read`
[INFO] [stderr]  --> src/event_loop.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::io::{Read, BufReader};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::*`
[INFO] [stderr]   --> src/event_loop.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::text::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/event_loop.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::env;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]   --> src/event_loop.rs:21:31
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::net::{ToSocketAddrs, Ipv4Addr};
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::Deserialize`
[INFO] [stderr]   --> src/event_loop.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::Deserialize;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/event_loop.rs:27:67
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/event_loop.rs:111:28
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn clone(&self) -> Box<RenderNotifier> {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back`
[INFO] [stderr]   --> src/event_loop.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let instance = back::Instance::create("gfx-rs instance", 1);
[INFO] [stderr]    |                        ^^^^ use of undeclared type or module `back`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `dirs`
[INFO] [stderr]   --> src/event_loop.rs:52:25
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let cache_dir = dirs::cache_dir().expect("User's cache directory not found");
[INFO] [stderr]    |                         ^^^^ use of undeclared type or module `dirs`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceIntSize`
[INFO] [stderr]   --> src/event_loop.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         DeviceIntSize::new(size.width as i32, size.height as i32)
[INFO] [stderr]    |         ^^^^^^^^^^^^^ use of undeclared type or module `DeviceIntSize`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `TypedScale` in `euclid`
[INFO] [stderr]    --> src/event_loop.rs:143:71
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                                                                       ^^^^^^^^^^ could not find `TypedScale` in `euclid`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:154:31
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let mut cursor_position = WorldPoint::zero();
[INFO] [stderr]     |                               ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorldPoint`
[INFO] [stderr]    --> src/event_loop.rs:217:39
[INFO] [stderr]     |
[INFO] [stderr] 217 |                     cursor_position = WorldPoint::new(x as f32, y as f32);
[INFO] [stderr]     |                                       ^^^^^^^^^^ use of undeclared type or module `WorldPoint`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]   --> src/text.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub size: LayoutSize,
[INFO] [stderr]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:59:32
[INFO] [stderr]    |
[INFO] [stderr] 59 |     Div { color: ColorF, rect: LayoutRect, on_click: Callback, on_wheel: Callback },
[INFO] [stderr]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:60:34
[INFO] [stderr]    |
[INFO] [stderr] 60 |     Text { text: String, origin: LayoutPoint, layouted_text: Option<text::LayoutedText>, color: ColorF },
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:61:24
[INFO] [stderr]    |
[INFO] [stderr] 61 |     Scroll { position: LayoutRect,
[INFO] [stderr]    |                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |              content: LayoutRect,
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutRect` in this scope
[INFO] [stderr]   --> src/dom.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn parse_rect(value: &Value) -> LayoutRect {
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]   --> src/dom.rs:73:34
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn parse_point(value: &Value) -> LayoutPoint {
[INFO] [stderr]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:323:86
[INFO] [stderr]     |
[INFO] [stderr] 323 |     fn on_click(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, point: &LayoutPoint) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutVector2D` in this scope
[INFO] [stderr]    --> src/dom.rs:341:86
[INFO] [stderr]     |
[INFO] [stderr] 341 |     fn on_wheel(&self, stream: &mut TcpStream, log_id: u64, node_id: NodeId, delta: &LayoutVector2D) {
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:483:19
[INFO] [stderr]     |
[INFO] [stderr] 483 |     content_size: LayoutSize,
[INFO] [stderr]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:513:52
[INFO] [stderr]     |
[INFO] [stderr] 513 |     pub fn mouse_click(&mut self, cursor_position: WorldPoint) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]    --> src/dom.rs:524:52
[INFO] [stderr]     |
[INFO] [stderr] 524 |     pub fn mouse_wheel(&mut self, cursor_position: WorldPoint, delta: winit::MouseScrollDelta) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/dom.rs:550:134
[INFO] [stderr]     |
[INFO] [stderr] 550 |     pub fn spawn<A: ToSocketAddrs>(addr: A, sender: RenderApiSender, pipeline_id: PipelineId, document_id: DocumentId, content_size: LayoutSize) -> Controller {
[INFO] [stderr]     |                                                                                                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DeviceInit` in crate `webrender`
[INFO] [stderr]   --> src/event_loop.rs:55:20
[INFO] [stderr]    |
[INFO] [stderr] 55 |         webrender::DeviceInit {
[INFO] [stderr]    |                    ^^^^^^^^^^ not found in `webrender`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DeviceIntSize` in this scope
[INFO] [stderr]   --> src/event_loop.rs:69:41
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn framebuffer_size(window: &Window) -> DeviceIntSize {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WorldPoint` in this scope
[INFO] [stderr]   --> src/event_loop.rs:84:31
[INFO] [stderr]    |
[INFO] [stderr] 84 |     Scroll { cursor_position: WorldPoint, delta: MouseScrollDelta },
[INFO] [stderr]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LayoutSize` in this scope
[INFO] [stderr]    --> src/event_loop.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let layout_size: LayoutSize = framebuffer_size.to_f32() / euclid::TypedScale::new(window.get_hidpi_factor() as f32);
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0659]: `euclid` is ambiguous (name vs any other name during import resolution)
[INFO] [stderr]   --> src/dom.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use euclid::TypedSize2D;
[INFO] [stderr]    |     ^^^^^^ ambiguous name
[INFO] [stderr]    |
[INFO] [stderr]    = note: `euclid` could refer to a crate passed with `--extern`
[INFO] [stderr]    = help: use `::euclid` to refer to this crate unambiguously
[INFO] [stderr] note: `euclid` could also refer to the crate imported here
[INFO] [stderr]   --> src/dom.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | use webrender::api::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = help: use `self::euclid` to refer to this crate unambiguously
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^^^^^^^^^^ unexpected type argument
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/text.rs:1:23
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fxhash::FxHashMap`
[INFO] [stderr]  --> src/text.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use fxhash::FxHashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Point2D`, `Size2D`, `TypedPoint2D`, `TypedRect`
[INFO] [stderr]  --> src/text_layout.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use euclid::{Vector2D, TypedRect, TypedPoint2D, Size2D, Point2D};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hb_position_t`
[INFO] [stderr]  --> src/text_layout.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 |     hb_font_create, hb_font_destroy, hb_position_t, hb_shape,
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HB_SCRIPT_DEVANAGARI`
[INFO] [stderr]  --> src/text_layout.rs:8:46
[INFO] [stderr]   |
[INFO] [stderr] 8 | use harfbuzz::sys::{HB_MEMORY_MODE_READONLY, HB_SCRIPT_DEVANAGARI};
[INFO] [stderr]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Direction`, `Language`
[INFO] [stderr]  --> src/text_layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use harfbuzz::{Buffer, Direction, Language};
[INFO] [stderr]   |                        ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::hinting::HintingOptions`
[INFO] [stderr]   --> src/text_layout.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use font_kit::hinting::HintingOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 53 previous errors
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `font_kit::canvas::RasterizationOptions`
[INFO] [stderr]   --> src/text_layout.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use font_kit::canvas::RasterizationOptions;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659.
[INFO] [stderr] warning: unused import: `crate::text::LayoutedText`
[INFO] [stderr]   --> src/text_layout.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::text::LayoutedText;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/event_loop.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufReader`, `Read`
[INFO] [stderr]  --> src/event_loop.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::io::{Read, BufReader};
[INFO] [stderr]   |               ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::text::*`
[INFO] [stderr]   --> src/event_loop.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::text::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/event_loop.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::env;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]   --> src/event_loop.rs:21:31
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::net::{ToSocketAddrs, Ipv4Addr};
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::Deserialize`
[INFO] [stderr]   --> src/event_loop.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::Deserialize;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/event_loop.rs:27:67
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/event_loop.rs:111:28
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn clone(&self) -> Box<RenderNotifier> {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderNotifier`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `photon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stderr]   --> src/event_loop.rs:27:105
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn create_webrender(event_loop: &winit::EventsLoop, notifier: Box<RenderNotifier>) -> (Window, Renderer<back::Backend>, RenderApiSender) {
[INFO] [stderr]    |                                                                                                         ^^^^^^^^^^^^^ unexpected type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 53 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0659.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `photon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f14869386b91ce04e2549c0b127f67169265a28dae26085da1a82382b6f8f893"`
[INFO] running `"docker" "rm" "-f" "f14869386b91ce04e2549c0b127f67169265a28dae26085da1a82382b6f8f893"`
[INFO] [stdout] f14869386b91ce04e2549c0b127f67169265a28dae26085da1a82382b6f8f893
