[INFO] cloning repository https://github.com/trishume/webrender_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trishume/webrender_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrishume%2Fwebrender_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrishume%2Fwebrender_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de8b3078176b88c01bca907ee5cc914b83c6c29a [INFO] checking trishume/webrender_playground against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrishume%2Fwebrender_playground" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trishume/webrender_playground on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trishume/webrender_playground [INFO] removed path dependency webrender from git repo https://github.com/trishume/webrender_playground [INFO] finished tweaking git repo https://github.com/trishume/webrender_playground [INFO] tweaked toml for git repo https://github.com/trishume/webrender_playground written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/trishume/webrender_playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a75567adcfdb7532a6c65554ded9b12b93052debcab59674e7a18a37def8e6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a75567adcfdb7532a6c65554ded9b12b93052debcab59674e7a18a37def8e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a75567adcfdb7532a6c65554ded9b12b93052debcab59674e7a18a37def8e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a75567adcfdb7532a6c65554ded9b12b93052debcab59674e7a18a37def8e6a", kill_on_drop: false }` [INFO] [stdout] 8a75567adcfdb7532a6c65554ded9b12b93052debcab59674e7a18a37def8e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 56e7949143f7ab2e7fc6d692ceeb4ed717d774444c7029885d52c69b9c65ea1f [INFO] running `Command { std: "docker" "start" "-a" "56e7949143f7ab2e7fc6d692ceeb4ed717d774444c7029885d52c69b9c65ea1f", kill_on_drop: false }` [INFO] [stderr] warning: dependency (webrender) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling procedural-masquerade v0.1.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking binary-space-partition v0.1.2 [INFO] [stderr] Checking thread_profiler v0.1.3 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling webrender_build v0.1.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling webrender v0.61.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling gleam v0.4.34 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling gleam v0.6.19 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling peek-poke-derive v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling cstr-macros v0.1.6 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking cstr v0.1.7 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking app_units v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking peek-poke v0.2.0 [INFO] [stderr] Checking wr_malloc_size_of v0.1.0 [INFO] [stderr] Checking plane-split v0.15.0 [INFO] [stderr] Checking webrender_api v0.61.0 [INFO] [stderr] Checking webrender_playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `webrender::renderer::PROFILER_DBG`, `webrender::renderer::RENDER_TARGET_DBG`, `webrender::renderer::TEXTURE_CACHE_DBG` [INFO] [stdout] --> src/boilerplate.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use webrender::renderer::{PROFILER_DBG, RENDER_TARGET_DBG, TEXTURE_CACHE_DBG}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `TEXTURE_CACHE_DBG` in `renderer` [INFO] [stdout] | | | [INFO] [stdout] | | no `RENDER_TARGET_DBG` in `renderer` [INFO] [stdout] | no `PROFILER_DBG` in `renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `new_scroll_frame_ready` is not a member of trait `RenderNotifier` [INFO] [stdout] --> src/boilerplate.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / fn new_scroll_frame_ready(&mut self, _composite_needed: bool) { [INFO] [stdout] 36 | | #[cfg(not(target_os = "android"))] [INFO] [stdout] 37 | | self.loop_proxy.wakeup().unwrap(); // TODO maybe don't unwrap [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ not a member of trait `RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `webrender::renderer::PROFILER_DBG`, `webrender::renderer::RENDER_TARGET_DBG`, `webrender::renderer::TEXTURE_CACHE_DBG` [INFO] [stdout] --> src/boilerplate.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use webrender::renderer::{PROFILER_DBG, RENDER_TARGET_DBG, TEXTURE_CACHE_DBG}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `TEXTURE_CACHE_DBG` in `renderer` [INFO] [stdout] | | | [INFO] [stdout] | | no `RENDER_TARGET_DBG` in `renderer` [INFO] [stdout] | no `PROFILER_DBG` in `renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `new_scroll_frame_ready` is not a member of trait `RenderNotifier` [INFO] [stdout] --> src/boilerplate.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / fn new_scroll_frame_ready(&mut self, _composite_needed: bool) { [INFO] [stdout] 36 | | #[cfg(not(target_os = "android"))] [INFO] [stdout] 37 | | self.loop_proxy.wakeup().unwrap(); // TODO maybe don't unwrap [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ not a member of trait `RenderNotifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let size = DeviceUintSize::new(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUpdates` [INFO] [stdout] --> src/boilerplate.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut resources = ResourceUpdates::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ResourceUpdates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | let size = DeviceUintSize::new(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintRect` [INFO] [stdout] --> src/boilerplate.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | let rect = DeviceUintRect::new(DeviceUintPoint::zero(), size); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintRect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintPoint` [INFO] [stdout] --> src/boilerplate.rs:168:56 [INFO] [stdout] | [INFO] [stdout] 168 | let rect = DeviceUintRect::new(DeviceUintPoint::zero(), size); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DeviceUintPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUpdates` [INFO] [stdout] --> src/boilerplate.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | let mut resources = ResourceUpdates::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ResourceUpdates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | renderer.render(DeviceUintSize::new(width, height)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollPolicy` [INFO] [stdout] --> src/main.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScrollPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollPolicy` [INFO] [stdout] --> src/main.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScrollPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalClip` [INFO] [stdout] --> src/main.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | ... Some(LocalClip::from((60, 10).to(110, 60))), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalClip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let size = DeviceUintSize::new(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | fn to(&self, x2: i32, y2: i32) -> LayoutRect; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | fn by(&self, w: i32, h: i32) -> LayoutRect; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn to(&self, x2: i32, y2: i32) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/boilerplate.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/boilerplate.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | LayoutSize::new((x2 - self.0) as f32, (y2 - self.1) as f32)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | fn by(&self, w: i32, h: i32) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/boilerplate.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/boilerplate.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | LayoutSize::new(w as f32, h as f32)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUpdates` in this scope [INFO] [stdout] --> src/boilerplate.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | resources: &mut ResourceUpdates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `ResourceUpdate` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender_api-0.61.0/src/api.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum ResourceUpdate { [INFO] [stdout] | ----------------------- similarly named enum `ResourceUpdate` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/boilerplate.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | layout_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let layout_size = LayoutSize::new(width as f32, height as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | LayoutSize::new(width as f32, height as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | let layout_size = LayoutSize::new(width as f32, height as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | cursor_position: WorldPoint, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUpdates` in this scope [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | _resources: &mut ResourceUpdates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `ResourceUpdate` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender_api-0.61.0/src/api.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum ResourceUpdate { [INFO] [stdout] | ----------------------- similarly named enum `ResourceUpdate` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/main.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | layout_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let bounds = LayoutRect::new(LayoutPoint::zero(), layout_size); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let bounds = LayoutRect::new(LayoutPoint::zero(), layout_size); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let cell_size = LayoutSize::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | let rect_size = cell_size - LayoutSize::new(padding, padding); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let pt = LayoutPoint::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let rect = LayoutRect::new(pt, rect_size); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | ... LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ... LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUpdates` [INFO] [stdout] --> src/boilerplate.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut resources = ResourceUpdates::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ResourceUpdates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:62:59 [INFO] [stdout] | [INFO] [stdout] 62 | ... LayoutSize::zero()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/main.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | cursor_position: WorldPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use webrender::renderer::{PROFILER_DBG, RENDER_TARGET_DBG, TEXTURE_CACHE_DBG}; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use webrender::renderer::ExternalImageHandler; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | let (mut renderer, sender) = webrender::renderer::Renderer::new(gl, opts).unwrap(); [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boilerplate.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn main_wrapper(example: &mut Example, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | let size = DeviceUintSize::new(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintRect` [INFO] [stdout] --> src/boilerplate.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | let rect = DeviceUintRect::new(DeviceUintPoint::zero(), size); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintRect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintPoint` [INFO] [stdout] --> src/boilerplate.rs:168:56 [INFO] [stdout] | [INFO] [stdout] 168 | let rect = DeviceUintRect::new(DeviceUintPoint::zero(), size); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DeviceUintPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUpdates` [INFO] [stdout] --> src/boilerplate.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | let mut resources = ResourceUpdates::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ResourceUpdates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceUintSize` [INFO] [stdout] --> src/boilerplate.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | renderer.render(DeviceUintSize::new(width, height)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DeviceUintSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollPolicy` [INFO] [stdout] --> src/main.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScrollPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollPolicy` [INFO] [stdout] --> src/main.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScrollPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalClip` [INFO] [stdout] --> src/main.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | ... Some(LocalClip::from((60, 10).to(110, 60))), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalClip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | fn to(&self, x2: i32, y2: i32) -> LayoutRect; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | fn by(&self, w: i32, h: i32) -> LayoutRect; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn to(&self, x2: i32, y2: i32) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/boilerplate.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/boilerplate.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | LayoutSize::new((x2 - self.0) as f32, (y2 - self.1) as f32)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutRect` in this scope [INFO] [stdout] --> src/boilerplate.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | fn by(&self, w: i32, h: i32) -> LayoutRect { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/boilerplate.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/boilerplate.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | LayoutRect::new(LayoutPoint::new(self.0 as f32, self.1 as f32), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | LayoutSize::new(w as f32, h as f32)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUpdates` in this scope [INFO] [stdout] --> src/boilerplate.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | resources: &mut ResourceUpdates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `ResourceUpdate` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender_api-0.61.0/src/api.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum ResourceUpdate { [INFO] [stdout] | ----------------------- similarly named enum `ResourceUpdate` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/boilerplate.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | layout_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let layout_size = LayoutSize::new(width as f32, height as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | LayoutSize::new(width as f32, height as f32), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/boilerplate.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | let layout_size = LayoutSize::new(width as f32, height as f32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WorldPoint` in this scope [INFO] [stdout] --> src/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | cursor_position: WorldPoint, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUpdates` in this scope [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | _resources: &mut ResourceUpdates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `ResourceUpdate` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender_api-0.61.0/src/api.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum ResourceUpdate { [INFO] [stdout] | ----------------------- similarly named enum `ResourceUpdate` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutSize` in this scope [INFO] [stdout] --> src/main.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | layout_size: LayoutSize, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let bounds = LayoutRect::new(LayoutPoint::zero(), layout_size); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let bounds = LayoutRect::new(LayoutPoint::zero(), layout_size); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let cell_size = LayoutSize::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | let rect_size = cell_size - LayoutSize::new(padding, padding); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let pt = LayoutPoint::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let rect = LayoutRect::new(pt, rect_size); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutRect` [INFO] [stdout] --> src/main.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | ... LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutPoint` [INFO] [stdout] --> src/main.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ... LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LayoutSize` [INFO] [stdout] --> src/main.rs:62:59 [INFO] [stdout] | [INFO] [stdout] 62 | ... LayoutSize::zero()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::LayoutSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldPoint` [INFO] [stdout] --> src/main.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | cursor_position: WorldPoint::zero(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 | use units::WorldPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use webrender::renderer::{PROFILER_DBG, RENDER_TARGET_DBG, TEXTURE_CACHE_DBG}; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use webrender::renderer::ExternalImageHandler; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `renderer` is private [INFO] [stdout] --> src/boilerplate.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | let (mut renderer, sender) = webrender::renderer::Renderer::new(gl, opts).unwrap(); [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `renderer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/webrender-0.61.0/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod renderer; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boilerplate.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn main_wrapper(example: &mut Example, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `new_frame_ready` has 1 parameter but the declaration in trait `new_frame_ready` has 5 [INFO] [stdout] --> src/boilerplate.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_frame_ready(&mut self) { [INFO] [stdout] | ^^^^^^^^^ expected 5 parameters, found 1 [INFO] [stdout] | [INFO] [stdout] = note: `new_frame_ready` from trait: `fn(&Self, webrender::webrender_api::DocumentId, bool, bool, Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `clone`, `wake_up` [INFO] [stdout] --> src/boilerplate.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl RenderNotifier for Notifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `clone`, `wake_up` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn clone(&self) -> Box<(dyn webrender::webrender_api::RenderNotifier + 'static)> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn wake_up(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 12 arguments but 7 arguments were supplied [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] | | [INFO] [stdout] | expected 12 arguments [INFO] [stdout] 30 | bounds, [INFO] [stdout] | ------ [INFO] [stdout] 31 | None, [INFO] [stdout] | ---- [INFO] [stdout] 32 | TransformStyle::Flat, [INFO] [stdout] | -------------------- [INFO] [stdout] 33 | None, [INFO] [stdout] | ---- [INFO] [stdout] 34 | MixBlendMode::Normal, [INFO] [stdout] | -------------------- [INFO] [stdout] 35 | Vec::new()); [INFO] [stdout] | ---------- supplied 7 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | builder.push_rect(rect, None, ColorF::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ---- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 12 arguments but 7 arguments were supplied [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] | | [INFO] [stdout] | expected 12 arguments [INFO] [stdout] 61 | / LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] 62 | | LayoutSize::zero()), [INFO] [stdout] | |_____________________________________________________________________________- [INFO] [stdout] 63 | None, [INFO] [stdout] | ---- [INFO] [stdout] 64 | TransformStyle::Flat, [INFO] [stdout] | -------------------- [INFO] [stdout] 65 | None, [INFO] [stdout] | ---- [INFO] [stdout] 66 | MixBlendMode::Normal, [INFO] [stdout] | -------------------- [INFO] [stdout] 67 | Vec::new()); [INFO] [stdout] | ---------- supplied 7 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 6 arguments were supplied [INFO] [stdout] --> src/main.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let clip_id = builder.define_scroll_frame(None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] | | [INFO] [stdout] | expected 8 arguments [INFO] [stdout] 70 | (0, 0).by(1000, 1000), [INFO] [stdout] | --------------------- [INFO] [stdout] 71 | scrollbox, [INFO] [stdout] | --------- [INFO] [stdout] 72 | vec![], [INFO] [stdout] | ------ [INFO] [stdout] 73 | None, [INFO] [stdout] | ---- [INFO] [stdout] 74 | ScrollSensitivity::ScriptAndInputEvents); [INFO] [stdout] | --------------------------------------- supplied 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `new_frame_ready` has 1 parameter but the declaration in trait `new_frame_ready` has 5 [INFO] [stdout] --> src/boilerplate.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_frame_ready(&mut self) { [INFO] [stdout] | ^^^^^^^^^ expected 5 parameters, found 1 [INFO] [stdout] | [INFO] [stdout] = note: `new_frame_ready` from trait: `fn(&Self, webrender::webrender_api::DocumentId, bool, bool, Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `clone`, `wake_up` [INFO] [stdout] --> src/boilerplate.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl RenderNotifier for Notifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `clone`, `wake_up` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn clone(&self) -> Box<(dyn webrender::webrender_api::RenderNotifier + 'static)> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn wake_up(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 12 arguments but 7 arguments were supplied [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] | | [INFO] [stdout] | expected 12 arguments [INFO] [stdout] 30 | bounds, [INFO] [stdout] | ------ [INFO] [stdout] 31 | None, [INFO] [stdout] | ---- [INFO] [stdout] 32 | TransformStyle::Flat, [INFO] [stdout] | -------------------- [INFO] [stdout] 33 | None, [INFO] [stdout] | ---- [INFO] [stdout] 34 | MixBlendMode::Normal, [INFO] [stdout] | -------------------- [INFO] [stdout] 35 | Vec::new()); [INFO] [stdout] | ---------- supplied 7 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | builder.push_rect(rect, None, ColorF::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ---- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 12 arguments but 7 arguments were supplied [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | builder.push_stacking_context(ScrollPolicy::Scrollable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] | | [INFO] [stdout] | expected 12 arguments [INFO] [stdout] 61 | / LayoutRect::new(LayoutPoint::new(10.0, 10.0), [INFO] [stdout] 62 | | LayoutSize::zero()), [INFO] [stdout] | |_____________________________________________________________________________- [INFO] [stdout] 63 | None, [INFO] [stdout] | ---- [INFO] [stdout] 64 | TransformStyle::Flat, [INFO] [stdout] | -------------------- [INFO] [stdout] 65 | None, [INFO] [stdout] | ---- [INFO] [stdout] 66 | MixBlendMode::Normal, [INFO] [stdout] | -------------------- [INFO] [stdout] 67 | Vec::new()); [INFO] [stdout] | ---------- supplied 7 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 6 arguments were supplied [INFO] [stdout] --> src/main.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let clip_id = builder.define_scroll_frame(None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] | | [INFO] [stdout] | expected 8 arguments [INFO] [stdout] 70 | (0, 0).by(1000, 1000), [INFO] [stdout] | --------------------- [INFO] [stdout] 71 | scrollbox, [INFO] [stdout] | --------- [INFO] [stdout] 72 | vec![], [INFO] [stdout] | ------ [INFO] [stdout] 73 | None, [INFO] [stdout] | ---- [INFO] [stdout] 74 | ScrollSensitivity::ScriptAndInputEvents); [INFO] [stdout] | --------------------------------------- supplied 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | builder.push_clip_id(clip_id); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | builder.push_rect((0, 0).to(1000, 1000), None, ColorF::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ --------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | builder.push_rect((0, 0).to(50, 50), None, ColorF::new(0.0, 0.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | builder.push_rect((50, 0).to(100, 50), [INFO] [stdout] | ^^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] 87 | Some(LocalClip::from((60, 10).to(110, 60))), [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 88 | ColorF::new(0.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ------------------------------- supplied 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 6 arguments were supplied [INFO] [stdout] --> src/main.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | let nested_clip_id = builder.define_scroll_frame(None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] | | [INFO] [stdout] | expected 8 arguments [INFO] [stdout] 94 | (0, 100).to(300, 400), [INFO] [stdout] | --------------------- [INFO] [stdout] 95 | (0, 100).to(200, 300), [INFO] [stdout] | --------------------- [INFO] [stdout] 96 | vec![], [INFO] [stdout] | ------ [INFO] [stdout] 97 | None, [INFO] [stdout] | ---- [INFO] [stdout] 98 | ScrollSensitivity::ScriptAndInputEvents); [INFO] [stdout] | --------------------------------------- supplied 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | builder.push_clip_id(nested_clip_id); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | builder.push_rect((-1000, -1000).to(5000, 5000), None, ColorF::new(0.5, 0.5, 0.5, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | builder.push_rect((0, 100).to(50, 150), None, ColorF::new(0.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ -------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | builder.push_rect((250, 350).to(300, 400), None, ColorF::new(0.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | builder.pop_clip_id(); // nested_clip_id [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | builder.pop_clip_id(); // clip_id [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | builder.push_clip_id(clip_id); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | builder.push_rect((0, 0).to(1000, 1000), None, ColorF::new(1.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ --------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | builder.push_rect((0, 0).to(50, 50), None, ColorF::new(0.0, 0.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | builder.push_rect((50, 0).to(100, 50), [INFO] [stdout] | ^^^^^^^^^ ------------------- [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] 87 | Some(LocalClip::from((60, 10).to(110, 60))), [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 88 | ColorF::new(0.0, 1.0, 0.0, 1.0)); [INFO] [stdout] | ------------------------------- supplied 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 6 arguments were supplied [INFO] [stdout] --> src/main.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | let nested_clip_id = builder.define_scroll_frame(None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] | | [INFO] [stdout] | expected 8 arguments [INFO] [stdout] 94 | (0, 100).to(300, 400), [INFO] [stdout] | --------------------- [INFO] [stdout] 95 | (0, 100).to(200, 300), [INFO] [stdout] | --------------------- [INFO] [stdout] 96 | vec![], [INFO] [stdout] | ------ [INFO] [stdout] 97 | None, [INFO] [stdout] | ---- [INFO] [stdout] 98 | ScrollSensitivity::ScriptAndInputEvents); [INFO] [stdout] | --------------------------------------- supplied 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | builder.push_clip_id(nested_clip_id); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | builder.push_rect((-1000, -1000).to(5000, 5000), None, ColorF::new(0.5, 0.5, 0.5, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | builder.push_rect((0, 100).to(50, 150), None, ColorF::new(0.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ -------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | builder.push_rect((250, 350).to(300, 400), None, ColorF::new(0.0, 1.0, 1.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^ ----------------------- ---- ------------------------------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | builder.pop_clip_id(); // nested_clip_id [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_clip_id` found for mutable reference `&mut webrender::webrender_api::DisplayListBuilder` in the current scope [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | builder.pop_clip_id(); // clip_id [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut webrender::webrender_api::DisplayListBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RendererOptions` has no field named `debug` [INFO] [stdout] --> src/boilerplate.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | debug: true, [INFO] [stdout] | ^^^^^ `RendererOptions` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `device_pixel_ratio`, `resource_override_path`, `enable_aa`, `enable_dithering`, `max_recorded_profiles` ... and 39 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RendererOptions` has no field named `precache_shaders` [INFO] [stdout] --> src/boilerplate.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | precache_shaders: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a field with a similar name exists: `precache_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 2 arguments were supplied [INFO] [stdout] --> src/boilerplate.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let (mut renderer, sender) = webrender::renderer::Renderer::new(gl, opts).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/boilerplate.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | let document_id = api.add_document(size); [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_render_notifier` found for struct `Renderer` in the current scope [INFO] [stdout] --> src/boilerplate.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | renderer.set_render_notifier(notifier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_display_list` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | api.set_display_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RendererOptions` has no field named `debug` [INFO] [stdout] --> src/boilerplate.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | debug: true, [INFO] [stdout] | ^^^^^ `RendererOptions` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `device_pixel_ratio`, `resource_override_path`, `enable_aa`, `enable_dithering`, `max_recorded_profiles` ... and 39 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RendererOptions` has no field named `precache_shaders` [INFO] [stdout] --> src/boilerplate.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | precache_shaders: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a field with a similar name exists: `precache_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 2 arguments were supplied [INFO] [stdout] --> src/boilerplate.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let (mut renderer, sender) = webrender::renderer::Renderer::new(gl, opts).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_root_pipeline` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | api.set_root_pipeline(document_id, pipeline_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_frame` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | api.generate_frame(document_id, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/boilerplate.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | let document_id = api.add_document(size); [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_window_parameters` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | api.set_window_parameters(document_id, size, rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_display_list` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | api.set_display_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_render_notifier` found for struct `Renderer` in the current scope [INFO] [stdout] --> src/boilerplate.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | renderer.set_render_notifier(notifier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_frame` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | api.generate_frame(document_id, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_display_list` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | api.set_display_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_root_pipeline` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | api.set_root_pipeline(document_id, pipeline_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0061, E0407, E0412, E0432, E0433, E0560, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_frame` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | api.generate_frame(document_id, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_window_parameters` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | api.set_window_parameters(document_id, size, rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webrender_playground` [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] [stdout] error[E0599]: no method named `set_display_list` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | api.set_display_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_frame` found for struct `webrender::webrender_api::RenderApi` in the current scope [INFO] [stdout] --> src/boilerplate.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | api.generate_frame(document_id, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `webrender::webrender_api::RenderApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0061, E0407, E0412, E0432, E0433, E0560, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56e7949143f7ab2e7fc6d692ceeb4ed717d774444c7029885d52c69b9c65ea1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e7949143f7ab2e7fc6d692ceeb4ed717d774444c7029885d52c69b9c65ea1f", kill_on_drop: false }` [INFO] [stdout] 56e7949143f7ab2e7fc6d692ceeb4ed717d774444c7029885d52c69b9c65ea1f