[INFO] updating cached repository https://github.com/xStrom/Slark [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] [stderr] From https://github.com/xStrom/Slark [INFO] [stderr] b5bcd2f..a6d02bf master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a6d02bfc9d3ae236653e2509a851a74365b85f77 [INFO] checking xStrom/Slark against master#d939f708d960161d23b964309ba68ff207fc0ead for pr-70087 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxStrom%2FSlark" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xStrom/Slark on toolchain d939f708d960161d23b964309ba68ff207fc0ead [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/xStrom/Slark [INFO] removed path dependency druid from git repo https://github.com/xStrom/Slark [INFO] finished tweaking git repo https://github.com/xStrom/Slark [INFO] tweaked toml for git repo https://github.com/xStrom/Slark written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xStrom/Slark already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (druid) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+d939f708d960161d23b964309ba68ff207fc0ead" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (druid) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d939f708d960161d23b964309ba68ff207fc0ead" "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] 0223238fb5ade2bf392cf77521fe3863487c832e57cf13c201cf11397011bea1 [INFO] running `"docker" "start" "-a" "0223238fb5ade2bf392cf77521fe3863487c832e57cf13c201cf11397011bea1"` [INFO] [stderr] warning: dependency (druid) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking rgb v0.8.16 [INFO] [stderr] Checking imgref v1.4.0 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Checking kurbo v0.5.11 [INFO] [stderr] Checking unic-langid-impl v0.7.2 [INFO] [stderr] Checking gif-dispose v2.2.0 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.1.2 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Checking serde v1.0.105 [INFO] [stderr] Checking unic-langid v0.7.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Checking piet v0.0.7 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Checking intl_pluralrules v5.0.2 [INFO] [stderr] Checking fluent-langneg v0.11.1 [INFO] [stderr] Checking glib v0.8.2 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking piet-cairo v0.0.7 [INFO] [stderr] Checking piet-common v0.0.7 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.9.1 [INFO] [stderr] Checking druid-shell v0.4.0 [INFO] [stderr] Checking druid v0.4.0 [INFO] [stderr] Checking slark v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/gif.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/stats.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/surface.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/gif.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | LifeCycle::WidgetAdded => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/gif.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | LifeCycle::AnimFrame(interval) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/stats.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | LifeCycle::WidgetAdded => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/stats.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | LifeCycle::AnimFrame(interval) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Size` [INFO] [stderr] --> src/ui/surface.rs:48:31 [INFO] [stderr] | [INFO] [stderr] 48 | images_area_size: Size::ZERO, [INFO] [stderr] | ^^^^ use of undeclared type or module `Size` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | Event::MouseDown(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | Event::MouseMoved(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | Event::MouseUp(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | Event::KeyUp(key_event) => match key_event.key_code { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | Event::Command(command) => match command.selector { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/gif.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/stats.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `druid::widget::prelude` [INFO] [stderr] --> src/ui/surface.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | use druid::widget::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `prelude` in `widget` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Size` [INFO] [stderr] --> src/ui/surface.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | Size::new(size.width - border.width, size.height - border.width), [INFO] [stderr] | ^^^^ use of undeclared type or module `Size` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/gif.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | LifeCycle::WidgetAdded => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/gif.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | LifeCycle::AnimFrame(interval) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:116:43 [INFO] [stderr] | [INFO] [stderr] 116 | fn current_frame(&mut self, ctx: &mut PaintCtx) -> &Image { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:124:40 [INFO] [stderr] | [INFO] [stderr] 124 | fn next_frame(&mut self, ctx: &mut PaintCtx) -> &Image { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/gif.rs:157:6 [INFO] [stderr] | [INFO] [stderr] 157 | impl Widget for Gif { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:36 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:55 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:92 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:61 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:98 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &ImageData, _data: &ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:178:97 [INFO] [stderr] | [INFO] [stderr] 178 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &ImageData, _data: &ImageData, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:37 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:53 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:94 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:102 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | fn paint(&mut self, ctx: &mut PaintCtx, data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:185:70 [INFO] [stderr] | [INFO] [stderr] 185 | fn paint(&mut self, ctx: &mut PaintCtx, data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/stats.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | impl Widget for Stats { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:36 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:55 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:84 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:39 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:61 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:89 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 101 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &T, _data: &T, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:101:81 [INFO] [stderr] | [INFO] [stderr] 101 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &T, _data: &T, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:53 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:87 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:95 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:110:35 [INFO] [stderr] | [INFO] [stderr] 110 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:110:62 [INFO] [stderr] | [INFO] [stderr] 110 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &T, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | images_area_size: Size, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 33 | images_area_size: Sized, [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/surface.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | impl Widget for Surface { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:53 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:83 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:39 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:61 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:91 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:182:36 [INFO] [stderr] | [INFO] [stderr] 182 | fn update(&mut self, ctx: &mut UpdateCtx, _old_data: &u64, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:182:83 [INFO] [stderr] | [INFO] [stderr] 182 | fn update(&mut self, ctx: &mut UpdateCtx, _old_data: &u64, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:36 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:52 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:87 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:95 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:212:35 [INFO] [stderr] | [INFO] [stderr] 212 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:212:64 [INFO] [stderr] | [INFO] [stderr] 212 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:278:47 [INFO] [stderr] | [INFO] [stderr] 278 | fn adjust_origin(&mut self, images_area: &Size, delta: Vec2) -> Point { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 278 | fn adjust_origin(&mut self, images_area: &Sized, delta: Vec2) -> Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/stats.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | LifeCycle::WidgetAdded => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LifeCycle` [INFO] [stderr] --> src/ui/stats.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | LifeCycle::AnimFrame(interval) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `LifeCycle` [INFO] [stderr] [INFO] [stderr] error: aborting due to 63 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `slark`. [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 `Size` [INFO] [stderr] --> src/ui/surface.rs:48:31 [INFO] [stderr] | [INFO] [stderr] 48 | images_area_size: Size::ZERO, [INFO] [stderr] | ^^^^ use of undeclared type or module `Size` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | Event::MouseDown(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | Event::MouseMoved(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | Event::MouseUp(mouse_event) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | Event::KeyUp(key_event) => match key_event.key_code { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Event` [INFO] [stderr] --> src/ui/surface.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | Event::Command(command) => match command.selector { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Event` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Size` [INFO] [stderr] --> src/ui/surface.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | Size::new(size.width - border.width, size.height - border.width), [INFO] [stderr] | ^^^^ use of undeclared type or module `Size` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:116:43 [INFO] [stderr] | [INFO] [stderr] 116 | fn current_frame(&mut self, ctx: &mut PaintCtx) -> &Image { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:124:40 [INFO] [stderr] | [INFO] [stderr] 124 | fn next_frame(&mut self, ctx: &mut PaintCtx) -> &Image { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/gif.rs:157:6 [INFO] [stderr] | [INFO] [stderr] 157 | impl Widget for Gif { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:36 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:55 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:158:92 [INFO] [stderr] | [INFO] [stderr] 158 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut ImageData, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:61 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:160:98 [INFO] [stderr] | [INFO] [stderr] 160 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &ImageData, _data: &ImageData, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:178:97 [INFO] [stderr] | [INFO] [stderr] 178 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &ImageData, _data: &ImageData, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:37 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:53 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:94 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/gif.rs:180:102 [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 180 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, data: &ImageData, _env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/gif.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | fn paint(&mut self, ctx: &mut PaintCtx, data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/gif.rs:185:70 [INFO] [stderr] | [INFO] [stderr] 185 | fn paint(&mut self, ctx: &mut PaintCtx, data: &ImageData, _env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/stats.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | impl Widget for Stats { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:36 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:55 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:79:84 [INFO] [stderr] | [INFO] [stderr] 79 | fn event(&mut self, _ctx: &mut EventCtx, _event: &Event, _data: &mut T, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:39 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:61 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:81:89 [INFO] [stderr] | [INFO] [stderr] 81 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &T, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 101 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &T, _data: &T, _env: &Env) {} [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:101:81 [INFO] [stderr] | [INFO] [stderr] 101 | fn update(&mut self, _ctx: &mut UpdateCtx, _old_data: &T, _data: &T, _env: &Env) {} [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:53 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:87 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/stats.rs:103:95 [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 103 | fn layout(&mut self, _ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &T, _env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/stats.rs:110:35 [INFO] [stderr] | [INFO] [stderr] 110 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &T, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/stats.rs:110:62 [INFO] [stderr] | [INFO] [stderr] 110 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &T, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | images_area_size: Size, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 33 | images_area_size: Sized, [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Widget` in this scope [INFO] [stderr] --> src/ui/surface.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | impl Widget for Surface { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Widget; [INFO] [stderr] | [INFO] [stderr] 20 | use druid::widget::Widget; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::EventCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Event` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:53 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:74:83 [INFO] [stderr] | [INFO] [stderr] 74 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, _data: &mut u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycleCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:39 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LifeCycle` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:61 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LifeCycle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:175:91 [INFO] [stderr] | [INFO] [stderr] 175 | fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UpdateCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:182:36 [INFO] [stderr] | [INFO] [stderr] 182 | fn update(&mut self, ctx: &mut UpdateCtx, _old_data: &u64, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::UpdateCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:182:83 [INFO] [stderr] | [INFO] [stderr] 182 | fn update(&mut self, ctx: &mut UpdateCtx, _old_data: &u64, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LayoutCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:36 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::LayoutCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxConstraints` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:52 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::BoxConstraints; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:87 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:189:95 [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Size { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 189 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &u64, env: &Env) -> Sized { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PaintCtx` in this scope [INFO] [stderr] --> src/ui/surface.rs:212:35 [INFO] [stderr] | [INFO] [stderr] 212 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::PaintCtx; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Env` in this scope [INFO] [stderr] --> src/ui/surface.rs:212:64 [INFO] [stderr] | [INFO] [stderr] 212 | fn paint(&mut self, ctx: &mut PaintCtx, _data: &u64, env: &Env) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Env; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Size` in this scope [INFO] [stderr] --> src/ui/surface.rs:278:47 [INFO] [stderr] | [INFO] [stderr] 278 | fn adjust_origin(&mut self, images_area: &Size, delta: Vec2) -> Point { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 278 | fn adjust_origin(&mut self, images_area: &Sized, delta: Vec2) -> Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 20 | use druid::Size; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 63 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `slark`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0223238fb5ade2bf392cf77521fe3863487c832e57cf13c201cf11397011bea1"` [INFO] running `"docker" "rm" "-f" "0223238fb5ade2bf392cf77521fe3863487c832e57cf13c201cf11397011bea1"` [INFO] [stdout] 0223238fb5ade2bf392cf77521fe3863487c832e57cf13c201cf11397011bea1