[INFO] cloning repository https://github.com/fschutt/azul-beziercurve-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/azul-beziercurve-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fazul-beziercurve-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fazul-beziercurve-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbdd0d2d8fbfbabd8717d149af81b473f2a3041a [INFO] checking fschutt/azul-beziercurve-test against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fazul-beziercurve-test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/azul-beziercurve-test on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fschutt/azul-beziercurve-test [INFO] removed path dependency azul from git repo https://github.com/fschutt/azul-beziercurve-test [INFO] finished tweaking git repo https://github.com/fschutt/azul-beziercurve-test [INFO] tweaked toml for git repo https://github.com/fschutt/azul-beziercurve-test written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/azul-beziercurve-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded azul v0.1.0 [INFO] [stderr] Downloaded quadtree-f32 v0.3.0 [INFO] [stderr] Downloaded beziercurve-wkt v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac54044f50cf33b33e1066811412aa29d928589b3efd14d37c27506574df2f46 [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" "ac54044f50cf33b33e1066811412aa29d928589b3efd14d37c27506574df2f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac54044f50cf33b33e1066811412aa29d928589b3efd14d37c27506574df2f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac54044f50cf33b33e1066811412aa29d928589b3efd14d37c27506574df2f46", kill_on_drop: false }` [INFO] [stdout] ac54044f50cf33b33e1066811412aa29d928589b3efd14d37c27506574df2f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27e8d10b6f4c7ff512b5de77185a07f4c12cadc5cba57f769a48ff2eab77b59 [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" "c27e8d10b6f4c7ff512b5de77185a07f4c12cadc5cba57f769a48ff2eab77b59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking quadtree-f32 v0.3.0 [INFO] [stderr] Checking azul v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking beziercurve-wkt v0.1.2 [INFO] [stderr] Checking azul-beziercurve-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `widgets` in `azul` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | widgets::{button::Button, svg::*}, [INFO] [stdout] | ^^^^^^^ could not find `widgets` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `widgets` in `azul` [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | use azul::widgets::svg::SvgLayerResource::*; [INFO] [stdout] | ^^^^^^^ could not find `widgets` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azul::prelude` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dom` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Dom::gl_texture(draw_svg, self.svg.clone()) [INFO] [stdout] | ^^^ use of undeclared type `Dom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `On` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | .with_callback(On::Scroll, scroll_map_contents).with_id("svg-container") [INFO] [stdout] | ^^ use of undeclared type `On` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Button::with_label(label).dom().with_class("control-btn").with_id(css_id).with_callback(On::MouseUp, callback) [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `On` [INFO] [stdout] --> src/main.rs:44:93 [INFO] [stdout] | [INFO] [stdout] 44 | Button::with_label(label).dom().with_class("control-btn").with_id(css_id).with_callback(On::MouseUp, callback) [INFO] [stdout] | ^^ use of undeclared type `On` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `widgets` in `azul` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | widgets::{button::Button, svg::*}, [INFO] [stdout] | ^^^^^^^ could not find `widgets` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `widgets` in `azul` [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | use azul::widgets::svg::SvgLayerResource::*; [INFO] [stdout] | ^^^^^^^ could not find `widgets` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azul::prelude` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | prelude::*, [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `azul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Svg` [INFO] [stdout] --> src/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let svg = Svg::with_layers(vec![ [INFO] [stdout] | ^^^ use of undeclared type `Svg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | SvgLayerResource::Direct(), // curve1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SvgLayerResource::Direct(), // curve2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | SvgLayerResource::Direct(), // intersection points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | let app = App::new(app_data, AppConfig::default()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> src/main.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let app = App::new(app_data, AppConfig::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `css` [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let css = css::override_native(include_str!(CSS_PATH!())).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `css` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowCreateOptions` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | app.run(WindowCreateOptions::new(css)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WindowCreateOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | svg: Ref, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallbackInfo` in this scope [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | type CbInfo<'a> = CallbackInfo<'a, MyAppData>; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Layout` in this scope [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl Layout for MyAppData { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutInfo` in this scope [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn layout(&self, _info: LayoutInfo) -> Dom { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dom` in this scope [INFO] [stdout] --> src/main.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn layout(&self, _info: LayoutInfo) -> Dom { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:34:125 [INFO] [stdout] | [INFO] [stdout] 34 | .with_child(render_control_btn("+", "btn-zoom-in", |info: CbInfo| { info.state.svg.borrow_mut().zoom *= 2.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:35:125 [INFO] [stdout] | [INFO] [stdout] 35 | .with_child(render_control_btn("-", "btn-zoom-out", |info: CbInfo| { info.state.svg.borrow_mut().zoom /= 2.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:36:131 [INFO] [stdout] | [INFO] [stdout] 36 | .with_child(render_control_btn("^", "btn-move-up", |info: CbInfo| { info.state.svg.borrow_mut().pan_vert += 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:37:131 [INFO] [stdout] | [INFO] [stdout] 37 | .with_child(render_control_btn(">", "btn-move-right", |info: CbInfo| { info.state.svg.borrow_mut().pan_horz += 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:38:131 [INFO] [stdout] | [INFO] [stdout] 38 | .with_child(render_control_btn("<", "btn-move-left", |info: CbInfo| { info.state.svg.borrow_mut().pan_horz -= 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:39:131 [INFO] [stdout] | [INFO] [stdout] 39 | .with_child(render_control_btn("v", "btn-move-down", |info: CbInfo| { info.state.svg.borrow_mut().pan_vert -= 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateScreen` in this scope [INFO] [stdout] --> src/main.rs:43:90 [INFO] [stdout] | [INFO] [stdout] 43 | fn render_control_btn(label: &'static str, css_id: &'static str, callback: fn(CbInfo) -> UpdateScreen) -> Dom { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dom` in this scope [INFO] [stdout] --> src/main.rs:43:107 [INFO] [stdout] | [INFO] [stdout] 43 | fn render_control_btn(label: &'static str, css_id: &'static str, callback: fn(CbInfo) -> UpdateScreen) -> Dom { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlCallbackInfo` in this scope [INFO] [stdout] --> src/main.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw_svg(info: GlCallbackInfo) -> GlCallbackReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlCallbackReturn` in this scope [INFO] [stdout] --> src/main.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw_svg(info: GlCallbackInfo) -> GlCallbackReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BezierCurve` [INFO] [stdout] --> src/main.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let curve1 = BezierCurve::from_str(CURVE).unwrap().cache(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use beziercurve_wkt::BezierCurve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BezierCurve` [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let curve2 = BezierCurve::from_str(LINE).unwrap().cache(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use beziercurve_wkt::BezierCurve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateScreen` in this scope [INFO] [stdout] --> src/main.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn scroll_map_contents(info: CbInfo) -> UpdateScreen { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Redraw [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ref` [INFO] [stdout] --> src/main.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | svg: Ref::new(SvgDocument { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dom` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Dom::gl_texture(draw_svg, self.svg.clone()) [INFO] [stdout] | ^^^ use of undeclared type `Dom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `On` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | .with_callback(On::Scroll, scroll_map_contents).with_id("svg-container") [INFO] [stdout] | ^^ use of undeclared type `On` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-beziercurve-test` [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[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Button::with_label(label).dom().with_class("control-btn").with_id(css_id).with_callback(On::MouseUp, callback) [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `On` [INFO] [stdout] --> src/main.rs:44:93 [INFO] [stdout] | [INFO] [stdout] 44 | Button::with_label(label).dom().with_class("control-btn").with_id(css_id).with_callback(On::MouseUp, callback) [INFO] [stdout] | ^^ use of undeclared type `On` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Svg` [INFO] [stdout] --> src/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let svg = Svg::with_layers(vec![ [INFO] [stdout] | ^^^ use of undeclared type `Svg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | SvgLayerResource::Direct(), // curve1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SvgLayerResource::Direct(), // curve2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgLayerResource` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | SvgLayerResource::Direct(), // intersection points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SvgLayerResource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | let app = App::new(app_data, AppConfig::default()).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> src/main.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let app = App::new(app_data, AppConfig::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `css` [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let css = css::override_native(include_str!(CSS_PATH!())).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `css` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowCreateOptions` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | app.run(WindowCreateOptions::new(css)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WindowCreateOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | svg: Ref, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallbackInfo` in this scope [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | type CbInfo<'a> = CallbackInfo<'a, MyAppData>; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Layout` in this scope [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl Layout for MyAppData { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LayoutInfo` in this scope [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn layout(&self, _info: LayoutInfo) -> Dom { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dom` in this scope [INFO] [stdout] --> src/main.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn layout(&self, _info: LayoutInfo) -> Dom { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:34:125 [INFO] [stdout] | [INFO] [stdout] 34 | .with_child(render_control_btn("+", "btn-zoom-in", |info: CbInfo| { info.state.svg.borrow_mut().zoom *= 2.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:35:125 [INFO] [stdout] | [INFO] [stdout] 35 | .with_child(render_control_btn("-", "btn-zoom-out", |info: CbInfo| { info.state.svg.borrow_mut().zoom /= 2.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:36:131 [INFO] [stdout] | [INFO] [stdout] 36 | .with_child(render_control_btn("^", "btn-move-up", |info: CbInfo| { info.state.svg.borrow_mut().pan_vert += 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:37:131 [INFO] [stdout] | [INFO] [stdout] 37 | .with_child(render_control_btn(">", "btn-move-right", |info: CbInfo| { info.state.svg.borrow_mut().pan_horz += 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:38:131 [INFO] [stdout] | [INFO] [stdout] 38 | .with_child(render_control_btn("<", "btn-move-left", |info: CbInfo| { info.state.svg.borrow_mut().pan_horz -= 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:39:131 [INFO] [stdout] | [INFO] [stdout] 39 | .with_child(render_control_btn("v", "btn-move-down", |info: CbInfo| { info.state.svg.borrow_mut().pan_vert -= 100.0; Redraw })) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateScreen` in this scope [INFO] [stdout] --> src/main.rs:43:90 [INFO] [stdout] | [INFO] [stdout] 43 | fn render_control_btn(label: &'static str, css_id: &'static str, callback: fn(CbInfo) -> UpdateScreen) -> Dom { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dom` in this scope [INFO] [stdout] --> src/main.rs:43:107 [INFO] [stdout] | [INFO] [stdout] 43 | fn render_control_btn(label: &'static str, css_id: &'static str, callback: fn(CbInfo) -> UpdateScreen) -> Dom { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlCallbackInfo` in this scope [INFO] [stdout] --> src/main.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw_svg(info: GlCallbackInfo) -> GlCallbackReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlCallbackReturn` in this scope [INFO] [stdout] --> src/main.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn draw_svg(info: GlCallbackInfo) -> GlCallbackReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BezierCurve` [INFO] [stdout] --> src/main.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let curve1 = BezierCurve::from_str(CURVE).unwrap().cache(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use beziercurve_wkt::BezierCurve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BezierCurve` [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let curve2 = BezierCurve::from_str(LINE).unwrap().cache(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use beziercurve_wkt::BezierCurve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateScreen` in this scope [INFO] [stdout] --> src/main.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn scroll_map_contents(info: CbInfo) -> UpdateScreen { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Redraw` in this scope [INFO] [stdout] --> src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Redraw [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ref` [INFO] [stdout] --> src/main.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | svg: Ref::new(SvgDocument { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c27e8d10b6f4c7ff512b5de77185a07f4c12cadc5cba57f769a48ff2eab77b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27e8d10b6f4c7ff512b5de77185a07f4c12cadc5cba57f769a48ff2eab77b59", kill_on_drop: false }` [INFO] [stdout] c27e8d10b6f4c7ff512b5de77185a07f4c12cadc5cba57f769a48ff2eab77b59