[INFO] fetching crate carbide_core 0.70.1... [INFO] checking carbide_core-0.70.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate carbide_core 0.70.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate carbide_core 0.70.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate carbide_core 0.70.1 [INFO] finished tweaking crates.io crate carbide_core 0.70.1 [INFO] tweaked toml for crates.io crate carbide_core 0.70.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 206 packages to latest compatible versions [INFO] [stderr] Adding andrew v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding approx v0.3.2 (available: v0.5.1) [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding ash v0.31.0 (available: v0.38.0+1.3.281) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clipboard-win v2.2.0 (available: v5.4.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding copypasta v0.6.3 (available: v0.10.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding d3d12 v0.3.2 (available: v22.0.0) [INFO] [stderr] Adding dlib v0.4.2 (available: v0.5.2) [INFO] [stderr] Adding float_next_after v0.1.5 (available: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding gfx-auxil v0.7.0 (available: v0.10.0) [INFO] [stderr] Adding gfx-backend-dx11 v0.6.17 (available: v0.9.0) [INFO] [stderr] Adding gfx-backend-dx12 v0.6.13 (available: v0.9.1) [INFO] [stderr] Adding gfx-backend-empty v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding gfx-backend-metal v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding gfx-backend-vulkan v0.6.5 (available: v0.9.0) [INFO] [stderr] Adding gfx-hal v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.5) [INFO] [stderr] Adding line_drawing v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding lyon v0.17.10 (available: v1.0.1) [INFO] [stderr] Adding lyon_algorithms v0.17.7 (available: v1.0.4) [INFO] [stderr] Adding lyon_geom v0.17.7 (available: v1.0.5) [INFO] [stderr] Adding lyon_path v0.17.7 (available: v1.0.5) [INFO] [stderr] Adding lyon_tessellation v0.17.10 (available: v1.0.15) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding metal v0.20.0 (available: v0.29.0) [INFO] [stderr] Adding naga v0.2.0 (available: v22.1.0) [INFO] [stderr] Adding nix v0.14.1 (available: v0.29.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quick-xml v0.22.0 (available: v0.36.2) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding raw-window-handle v0.3.4 (available: v0.6.2) [INFO] [stderr] Adding raw-window-handle v0.4.3 (available: v0.6.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding ron v0.6.6 (available: v0.8.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] [stderr] Adding rusttype v0.8.3 (available: v0.9.3) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding smithay-client-toolkit v0.6.6 (available: v0.19.2) [INFO] [stderr] Adding smithay-clipboard v0.4.0 (available: v0.7.2) [INFO] [stderr] Adding spirv_cross v0.22.2 (available: v0.23.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding thunderdome v0.3.0 (available: v0.6.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wayland-client v0.23.6 (available: v0.31.6) [INFO] [stderr] Adding wayland-commons v0.23.6 (available: v0.29.5) [INFO] [stderr] Adding wayland-protocols v0.23.6 (available: v0.32.4) [INFO] [stderr] Adding wayland-scanner v0.23.6 (available: v0.31.5) [INFO] [stderr] Adding wayland-sys v0.23.6 (available: v0.31.5) [INFO] [stderr] Adding web-sys v0.3.48 (available: v0.3.70) [INFO] [stderr] Adding wgpu v0.6.2 (available: v22.1.0) [INFO] [stderr] Adding wgpu-core v0.6.5 (available: v22.1.0) [INFO] [stderr] Adding wgpu-types v0.6.1 (available: v22.0.0) [INFO] [stderr] Adding x11-clipboard v0.5.3 (available: v0.9.2) [INFO] [stderr] Adding xcb v0.10.1 (available: v1.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-types v0.6.1 [INFO] [stderr] Downloaded gfx-descriptor v0.2.0 [INFO] [stderr] Downloaded carbide_derive v0.70.1 [INFO] [stderr] Downloaded gfx-backend-empty v0.6.0 [INFO] [stderr] Downloaded gfx-auxil v0.7.0 [INFO] [stderr] Downloaded naga v0.2.0 [INFO] [stderr] Downloaded gfx-memory v0.2.2 [INFO] [stderr] Downloaded gfx-hal v0.6.0 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.6.17 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.6.13 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.6.5 [INFO] [stderr] Downloaded gfx-backend-metal v0.6.5 [INFO] [stderr] Downloaded wgpu-core v0.6.5 [INFO] [stderr] Downloaded wgpu v0.6.2 [INFO] [stderr] Downloaded spirv_cross v0.22.2 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eab0076547d192da4b1c97fba3095d4a02df6a568fb7d584442432d47f496fb [INFO] running `Command { std: "docker" "start" "-a" "5eab0076547d192da4b1c97fba3095d4a02df6a568fb7d584442432d47f496fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eab0076547d192da4b1c97fba3095d4a02df6a568fb7d584442432d47f496fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eab0076547d192da4b1c97fba3095d4a02df6a568fb7d584442432d47f496fb", kill_on_drop: false }` [INFO] [stdout] 5eab0076547d192da4b1c97fba3095d4a02df6a568fb7d584442432d47f496fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bc2e0b309f64a733e3a808042293997199eec892611e55d19da2e3e2ade9190 [INFO] running `Command { std: "docker" "start" "-a" "8bc2e0b309f64a733e3a808042293997199eec892611e55d19da2e3e2ade9190", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking inplace_it v0.3.5 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking lyon_geom v0.17.7 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking lyon_path v0.17.7 [INFO] [stderr] Checking lyon_tessellation v0.17.10 [INFO] [stderr] Checking lyon_algorithms v0.17.7 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking lyon v0.17.10 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling carbide_derive v0.70.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking smithay-clipboard v0.4.0 [INFO] [stderr] Checking copypasta v0.6.3 [INFO] [stderr] Checking carbide_core v0.70.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PositionStrategy` is never used [INFO] [stdout] --> src/render/positions_strategy.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait PositionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_redraw_frames`, `redraw_count`, and `maybe_background_color` are never read [INFO] [stdout] --> src/ui.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | num_redraw_frames: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// Whether or not the `Ui` needs to be re-drawn to screen. [INFO] [stdout] 61 | redraw_count: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | /// A background color to clear the screen with before drawing if one was given. [INFO] [stdout] 63 | maybe_background_color: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ui` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `triangle_store` is never read [INFO] [stdout] --> src/widget/primitive/canvas/canvas.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Canvas { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | triangle_store: TriangleStore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canvas` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/state/mapped_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MappedState where T: Serialize + Clone + Debug, U: Serialize + Clone + Debug, GS: GlobalState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MappedState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/render/walk_owned_primitives.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | text: text_str.clone().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PositionStrategy` is never used [INFO] [stdout] --> src/render/positions_strategy.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait PositionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_redraw_frames`, `redraw_count`, and `maybe_background_color` are never read [INFO] [stdout] --> src/ui.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | num_redraw_frames: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// Whether or not the `Ui` needs to be re-drawn to screen. [INFO] [stdout] 61 | redraw_count: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | /// A background color to clear the screen with before drawing if one was given. [INFO] [stdout] 63 | maybe_background_color: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ui` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `triangle_store` is never read [INFO] [stdout] --> src/widget/primitive/canvas/canvas.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Canvas { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | triangle_store: TriangleStore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canvas` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/state/mapped_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MappedState where T: Serialize + Clone + Debug, U: Serialize + Clone + Debug, GS: GlobalState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MappedState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/render/walk_owned_primitives.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | text: text_str.clone().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Mouse` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use input::Button::{Keyboard, Mouse}; [INFO] [stdout] | ----- previous import of the type `Mouse` here [INFO] [stdout] 4 | use input::Button::Mouse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Mouse` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Mouse` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `color` [INFO] [stdout] --> tests/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{rgb_to_hsl, hsl_to_rgb}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `carbide_core::color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Color` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 2 | Color, [INFO] [stdout] | ----- previous import of the type `Color` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Color` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Color` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/widget_input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 6 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Labelable` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:64 [INFO] [stdout] | [INFO] [stdout] 3 | Labelable, [INFO] [stdout] | --------- previous import of the trait `Labelable` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Labelable` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Labelable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `widget` is defined multiple times [INFO] [stdout] --> tests/widget_input.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 4 | use widget; [INFO] [stdout] | ------ previous import of the module `widget` here [INFO] [stdout] ... [INFO] [stdout] 7 | use carbide_core::{Rect, widget}; [INFO] [stdout] | ^^^^^^ `widget` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `widget` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Colorable` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 5 | Colorable, [INFO] [stdout] | --------- previous import of the trait `Colorable` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Colorable` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Colorable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Widget` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 7 | Widget, [INFO] [stdout] | ------ previous import of the macro `Widget` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Widget` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Widget` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Ui` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 8 | Ui, [INFO] [stdout] | -- previous import of the type `Ui` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | `Ui` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Ui` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `UiBuilder` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:100 [INFO] [stdout] | [INFO] [stdout] 9 | UiBuilder [INFO] [stdout] | --------- previous import of the type `UiBuilder` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^ `UiBuilder` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `UiBuilder` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/ui.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 18 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `widget` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 14 | use widget; [INFO] [stdout] | ------ previous import of the module `widget` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `widget` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `widget` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Mouse` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use input::Button::{Keyboard, Mouse}; [INFO] [stdout] | ----- previous import of the type `Mouse` here [INFO] [stdout] 4 | use input::Button::Mouse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Mouse` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Mouse` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Motion` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Key, Motion, MouseButton}; [INFO] [stdout] | ------ previous import of the type `Motion` here [INFO] [stdout] ... [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^^^^ `Motion` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Motion` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use carbide_core::input::{Motion as OtherMotion, Button, Key}; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Key` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Key, Motion, MouseButton}; [INFO] [stdout] | --- previous import of the type `Key` here [INFO] [stdout] ... [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^ `Key` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Key` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 6 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/widget_input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 6 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `widget` is defined multiple times [INFO] [stdout] --> tests/widget_input.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 4 | use widget; [INFO] [stdout] | ------ previous import of the module `widget` here [INFO] [stdout] ... [INFO] [stdout] 7 | use carbide_core::{Rect, widget}; [INFO] [stdout] | ^^^^^^ `widget` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `widget` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Color` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 2 | Color, [INFO] [stdout] | ----- previous import of the type `Color` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Color` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Color` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Labelable` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:64 [INFO] [stdout] | [INFO] [stdout] 3 | Labelable, [INFO] [stdout] | --------- previous import of the trait `Labelable` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Labelable` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Labelable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Colorable` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 5 | Colorable, [INFO] [stdout] | --------- previous import of the trait `Colorable` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Colorable` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Colorable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Widget` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 7 | Widget, [INFO] [stdout] | ------ previous import of the macro `Widget` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Widget` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Widget` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Ui` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 8 | Ui, [INFO] [stdout] | -- previous import of the type `Ui` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | `Ui` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Ui` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `UiBuilder` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:100 [INFO] [stdout] | [INFO] [stdout] 9 | UiBuilder [INFO] [stdout] | --------- previous import of the type `UiBuilder` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^^ `UiBuilder` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `UiBuilder` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/ui.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 18 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `widget` is defined multiple times [INFO] [stdout] --> tests/ui.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 14 | use widget; [INFO] [stdout] | ------ previous import of the module `widget` here [INFO] [stdout] ... [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `widget` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `widget` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Motion` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Key, Motion, MouseButton}; [INFO] [stdout] | ------ previous import of the type `Motion` here [INFO] [stdout] ... [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^^^^ `Motion` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Motion` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use carbide_core::input::{Motion as OtherMotion, Button, Key}; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Key` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Key, Motion, MouseButton}; [INFO] [stdout] | --- previous import of the type `Key` here [INFO] [stdout] ... [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^ `Key` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Key` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `event` is defined multiple times [INFO] [stdout] --> tests/global_input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ---- previous import of the module `event` here [INFO] [stdout] ... [INFO] [stdout] 6 | use carbide_core::event::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `event` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `event` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/widget_input.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::input::Event::Input [INFO] [stdout] crate::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/widget_input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use position::Rect; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `carbide_core::Sizeable`, `carbide_core::Positionable` [INFO] [stdout] --> tests/ui.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ no `Positionable` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sizeable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/global_input.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::input::Event::Input [INFO] [stdout] crate::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/global_input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use position::Scalar; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/ui.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::input::Event::Input [INFO] [stdout] crate::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/ui.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use position::Point; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbide_core` (test "color") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `carbide_core::Sizeable`, `carbide_core::Positionable` [INFO] [stdout] --> tests/ui.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | use carbide_core::{widget, Colorable, Color, Widget, Sizeable, Labelable, Positionable, Ui, Point, UiBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ no `Positionable` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sizeable` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/global_input.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::global_input::input::Event::Input [INFO] [stdout] crate::global_input::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/widget_input.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::widget_input::input::Event::Input [INFO] [stdout] crate::widget_input::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `event::Input` [INFO] [stdout] --> tests/ui.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ^^^^^ no `Input` in `event::event` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::ui::input::Event::Input [INFO] [stdout] crate::ui::input::Input [INFO] [stdout] carbide_core::event::input::Input [INFO] [stdout] input::Event::Input [INFO] [stdout] input::Input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `color` [INFO] [stdout] --> tests/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color::{rgb_to_hsl, hsl_to_rgb}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::color` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/global_input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use position::Scalar; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in crate `input` [INFO] [stdout] --> tests/global_input.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^ not found in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] 13 + fn push_event(input: &mut Global, event: event::Event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/widget_input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use position::Rect; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `position` [INFO] [stdout] --> tests/ui.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use position::Point; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `carbide_core::position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let mut input = input::Global::new(); [INFO] [stdout] 24 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let mut input = input::Global::new(); [INFO] [stdout] 35 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - let mut input = input::Global::new(); [INFO] [stdout] 45 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - let mut input = input::Global::new(); [INFO] [stdout] 59 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/global_input.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Button::Mouse` [INFO] [stdout] --> tests/global_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use input::Button::Mouse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `carbide_core` in the crate root [INFO] [stdout] --> tests/ui.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | ui.handle_event(Input::Motion(crate::carbide_core::input::Motion::MouseCursor { x, y })); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `carbide_core` in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::input::Motion; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Motion; [INFO] [stdout] | [INFO] [stdout] 1 + use input::Motion; [INFO] [stdout] | [INFO] [stdout] help: if you import `Motion`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - ui.handle_event(Input::Motion(crate::carbide_core::input::Motion::MouseCursor { x, y })); [INFO] [stdout] 48 + ui.handle_event(Input::Motion(Motion::MouseCursor { x, y })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `Motion` [INFO] [stdout] --> tests/global_input.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Button` in `widget` [INFO] [stdout] --> tests/ui.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | widget::Button::new() [INFO] [stdout] | ^^^^^^ could not find `Button` in `widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Button; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Button; [INFO] [stdout] | [INFO] [stdout] 1 + use input::Button; [INFO] [stdout] | [INFO] [stdout] help: if you import `Button`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 100 - widget::Button::new() [INFO] [stdout] 100 + Button::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Scroll` in module `event` [INFO] [stdout] --> tests/ui.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let expected_scroll = event::Scroll{ [INFO] [stdout] | ^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::MouseEvent::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Motion::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::widget::Scroll; [INFO] [stdout] | [INFO] [stdout] help: if you import `Scroll`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 127 - let expected_scroll = event::Scroll{ [INFO] [stdout] 127 + let expected_scroll = Scroll{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/ui.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] 133 + if let event::Event::Ui(Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Colorable`, `Labelable`, `UiBuilder`, `Ui`, and `Widget` [INFO] [stdout] --> tests/ui.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | Labelable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Positionable, [INFO] [stdout] 5 | Colorable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Sizeable, [INFO] [stdout] 7 | Widget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Ui, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | UiBuilder [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/ui.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget` [INFO] [stdout] --> tests/ui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use widget; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn left_click_mouse(ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 25 | fn left_click_mouse(ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/global_input.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | fn release_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 30 | fn release_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | fn press_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | fn press_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in crate `input` [INFO] [stdout] --> tests/widget_input.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^ not found in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] 11 + fn push_event(input: &mut Global, event: event::Event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/widget_input.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let mut global_input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let mut global_input = input::Global::new(); [INFO] [stdout] 19 + let mut global_input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_mouse_to_widget(widget_id: widget::Id, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 40 | fn move_mouse_to_widget(widget_id: widget::Id, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:47:59 [INFO] [stdout] | [INFO] [stdout] 47 | fn move_mouse_to_abs_coordinates(x: f64, y: f64, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | fn move_mouse_to_abs_coordinates(x: f64, y: f64, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Source` in `input` [INFO] [stdout] --> tests/widget_input.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let source = input::Source::Mouse; [INFO] [stdout] | ^^^^^^ could not find `Source` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let source = input::Source::Mouse; [INFO] [stdout] 20 + let source = Source::Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | fn test_handling_basic_input_event(ui: &mut Ui, event: Input) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 51 | fn test_handling_basic_input_event(ui: &mut Ui, event: Input) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/widget_input.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] 21 + push_event(&mut global_input, Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `carbide_core` in the crate root [INFO] [stdout] --> tests/widget_input.rs:22:74 [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `carbide_core` in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Motion; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Motion; [INFO] [stdout] | [INFO] [stdout] 1 + use input::Motion; [INFO] [stdout] | [INFO] [stdout] help: if you import `Motion`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] 22 + push_event(&mut global_input, event::Event::Raw(Input::Motion(Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] 25 + let widget_input = Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> dyn event::Event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/widget_input.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let mut global_input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let mut global_input = input::Global::new(); [INFO] [stdout] 32 + let mut global_input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/widget_input.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] 35 + push_event(&mut global_input, Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/global_input.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Click` in module `event` [INFO] [stdout] --> tests/widget_input.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::KeyboardEvent::Click; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::MouseEvent::Click; [INFO] [stdout] | [INFO] [stdout] help: if you import `Click`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] 35 + push_event(&mut global_input, event::Ui::Click(Some(widget), Click{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/ui.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let widget_input = input::Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - let widget_input = input::Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] 43 + let widget_input = Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let another_widget_input = input::Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - let another_widget_input = input::Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] 49 + let another_widget_input = Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/widget_input.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Motion` [INFO] [stdout] --> tests/widget_input.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Button, Motion, MouseButton}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget` [INFO] [stdout] --> tests/widget_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use widget; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn to_window_coordinates(xy: Point, ui: &Ui) -> Point { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 64 | fn to_window_coordinates(xy: Point, ui: &Ui) -> Point { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn windowless_ui() -> Ui { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 70 | fn windowless_ui() -> Ui { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/widget_input.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in crate `input` [INFO] [stdout] --> tests/global_input.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^ not found in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] 13 + fn push_event(input: &mut Global, event: event::Event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let mut input = input::Global::new(); [INFO] [stdout] 24 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let mut input = input::Global::new(); [INFO] [stdout] 35 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - let mut input = input::Global::new(); [INFO] [stdout] 45 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/global_input.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let mut input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - let mut input = input::Global::new(); [INFO] [stdout] 59 + let mut input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in crate `input` [INFO] [stdout] --> tests/widget_input.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^ not found in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] 11 + fn push_event(input: &mut Global, event: event::Event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/widget_input.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let mut global_input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let mut global_input = input::Global::new(); [INFO] [stdout] 19 + let mut global_input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Source` in `input` [INFO] [stdout] --> tests/widget_input.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let source = input::Source::Mouse; [INFO] [stdout] | ^^^^^^ could not find `Source` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Source; [INFO] [stdout] | [INFO] [stdout] help: if you import `Source`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let source = input::Source::Mouse; [INFO] [stdout] 20 + let source = Source::Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/widget_input.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] 21 + push_event(&mut global_input, Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget_input::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] 25 + let widget_input = Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Global` in `input` [INFO] [stdout] --> tests/widget_input.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let mut global_input = input::Global::new(); [INFO] [stdout] | ^^^^^^ could not find `Global` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] help: if you import `Global`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let mut global_input = input::Global::new(); [INFO] [stdout] 32 + let mut global_input = Global::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/widget_input.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] 35 + push_event(&mut global_input, Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Click` in module `event` [INFO] [stdout] --> tests/widget_input.rs:35:73 [INFO] [stdout] | [INFO] [stdout] 35 | push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::KeyboardEvent::Click; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::MouseEvent::Click; [INFO] [stdout] | [INFO] [stdout] help: if you import `Click`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - push_event(&mut global_input, event::Ui::Click(Some(widget), event::Click{ [INFO] [stdout] 35 + push_event(&mut global_input, event::Ui::Click(Some(widget), Click{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let widget_input = input::Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget_input::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - let widget_input = input::Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] 43 + let widget_input = Widget::for_widget(widget, widget_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Widget` in `input` [INFO] [stdout] --> tests/widget_input.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let another_widget_input = input::Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] | ^^^^^^ could not find `Widget` in `input` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::widget_input::widget::Widget; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::prelude::Widget; [INFO] [stdout] | [INFO] [stdout] help: if you import `Widget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - let another_widget_input = input::Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] 49 + let another_widget_input = Widget::for_widget(another_widget, another_area, &global_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Button` in `widget` [INFO] [stdout] --> tests/ui.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | widget::Button::new() [INFO] [stdout] | ^^^^^^ could not find `Button` in `widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::Button; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Button; [INFO] [stdout] | [INFO] [stdout] 1 + use input::Button; [INFO] [stdout] | [INFO] [stdout] help: if you import `Button`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 100 - widget::Button::new() [INFO] [stdout] 100 + Button::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Scroll` in module `event` [INFO] [stdout] --> tests/ui.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | let expected_scroll = event::Scroll{ [INFO] [stdout] | ^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ui::widget::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::event_handler::MouseEvent::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::input::Motion::Scroll; [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::widget::Scroll; [INFO] [stdout] | [INFO] [stdout] help: if you import `Scroll`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 127 - let expected_scroll = event::Scroll{ [INFO] [stdout] 127 + let expected_scroll = Scroll{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `event` [INFO] [stdout] --> tests/ui.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^ could not find `Ui` in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use carbide_core::Ui; [INFO] [stdout] | [INFO] [stdout] help: if you import `Ui`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] 133 + if let event::Event::Ui(Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/global_input.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Button::Mouse` [INFO] [stdout] --> tests/global_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use input::Button::Mouse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `Motion` [INFO] [stdout] --> tests/global_input.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use carbide_core::input::{Motion, Button, Key}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/widget_input.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Motion` [INFO] [stdout] --> tests/widget_input.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{self, Button, Motion, MouseButton}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget` [INFO] [stdout] --> tests/widget_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use widget; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Colorable`, `Labelable`, `UiBuilder`, `Ui`, and `Widget` [INFO] [stdout] --> tests/ui.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | Labelable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Positionable, [INFO] [stdout] 5 | Colorable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Sizeable, [INFO] [stdout] 7 | Widget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Ui, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | UiBuilder [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/ui.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use event::{self, Input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget` [INFO] [stdout] --> tests/ui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use widget; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `input::Motion::MouseRelative` has no field named `x` [INFO] [stdout] --> tests/global_input.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | MouseRelative([f64; 2]), [INFO] [stdout] | ------------- `input::Motion::MouseRelative` defined here [INFO] [stdout] | [INFO] [stdout] help: `input::Motion::MouseRelative` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative(/* [f64; 2] */))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `input::Motion::MouseRelative` has no field named `y` [INFO] [stdout] --> tests/global_input.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | MouseRelative([f64; 2]), [INFO] [stdout] | ------------- `input::Motion::MouseRelative` defined here [INFO] [stdout] | [INFO] [stdout] help: `input::Motion::MouseRelative` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative(/* [f64; 2] */))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:21:84 [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::ne(999), source).into()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, ::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/global_input.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> dyn event::Event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/global_input.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 17 | fn mouse_move_event(x: Scalar, y: Scalar) -> event::Event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/widget_input.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 11 | fn push_event(input: &mut input::Global, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn left_click_mouse(ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 25 | fn left_click_mouse(ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | fn release_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 30 | fn release_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | fn press_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | fn press_mouse_button(button: MouseButton, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_mouse_to_widget(widget_id: widget::Id, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 40 | fn move_mouse_to_widget(widget_id: widget::Id, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:47:59 [INFO] [stdout] | [INFO] [stdout] 47 | fn move_mouse_to_abs_coordinates(x: f64, y: f64, ui: &mut Ui) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | fn move_mouse_to_abs_coordinates(x: f64, y: f64, ui: &mut Ui) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | fn test_handling_basic_input_event(ui: &mut Ui, event: Input) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 51 | fn test_handling_basic_input_event(ui: &mut Ui, event: Input) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: dyn event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/widget_input.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `carbide_core::event::event::Event` [INFO] [stdout] --> tests/ui.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Event: CommonWidget + StateSync where S: GlobalState { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 56 | fn assert_event_was_pushed(ui: &Ui, event: event::Event) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn to_window_coordinates(xy: Point, ui: &Ui) -> Point { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 64 | fn to_window_coordinates(xy: Point, ui: &Ui) -> Point { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, event::Event::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, ::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Ui` [INFO] [stdout] --> tests/ui.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn windowless_ui() -> Ui { [INFO] [stdout] | ^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/workdir/src/ui.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Ui where S: GlobalState { [INFO] [stdout] | ^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 70 | fn windowless_ui() -> Ui { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/widget_input.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, event::Event::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::ne(2), widget_area, &global_input); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/global_input.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `carbide_core::event::Motion`, found `input::Motion` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `input::Motion` and `carbide_core::event::Motion` have similar names, but are actually distinct types [INFO] [stdout] note: `input::Motion` is defined in crate `input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Motion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `carbide_core::event::Motion` is defined in crate `carbide_core` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Motion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/event/input.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Motion(Motion), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | ::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let widget = widget::Id::new(4); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let widget = widget::Id::ne(4); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let another_widget = widget::Id::new(7); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 47 | let another_widget = widget::Id::ne(7); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `input::Motion::MouseRelative` has no field named `x` [INFO] [stdout] --> tests/global_input.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | MouseRelative([f64; 2]), [INFO] [stdout] | ------------- `input::Motion::MouseRelative` defined here [INFO] [stdout] | [INFO] [stdout] help: `input::Motion::MouseRelative` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative(/* [f64; 2] */))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `input::Motion::MouseRelative` has no field named `y` [INFO] [stdout] --> tests/global_input.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | MouseRelative([f64; 2]), [INFO] [stdout] | ------------- `input::Motion::MouseRelative` defined here [INFO] [stdout] | [INFO] [stdout] help: `input::Motion::MouseRelative` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative(/* [f64; 2] */))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, event::Event::Raw(event)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, ::Raw(event)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbide_core` (test "widget_input") due to 23 previous errors; 6 warnings emitted [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/ui.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, event::Event::Raw(event)); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/global_input.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `carbide_core::event::Motion`, found `input::Motion` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `input::Motion` and `carbide_core::event::Motion` have similar names, but are actually distinct types [INFO] [stdout] note: `input::Motion` is defined in crate `input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pistoncore-input-1.0.1/src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Motion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `carbide_core::event::Motion` is defined in crate `carbide_core` [INFO] [stdout] --> /opt/rustwide/workdir/src/event/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Motion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/event/input.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Motion(Motion), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, event::Event::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, ::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::LShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, event::Event::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, event::Event::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, ::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 0.0, y: 50.0 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, ::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, event::Event::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = event::Event::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = ::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | push_event(&mut input, event::Event::Raw(Input::Press(Button::Keyboard(Key::RShift)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, ::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = event::Event::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = event::Event::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = ::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Canvas` in the current scope [INFO] [stdout] --> tests/ui.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | widget::Canvas::new() [INFO] [stdout] | ^^^ function or associated item not found in `Canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/ui.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | ui.handle_event(Input::Motion(Motion::Scroll { x: 10.0, y: 33.0 })); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | if let dyn event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/global_input.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 47 | push_event(&mut input, event::Event::Raw(Input::Motion(Motion::Scroll { x: 7.0, y: 88.5 }))); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, event::Event::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, ::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = event::Event::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ui` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/ui.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | push_event(&mut input, event::Event::Raw(Input::Press(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, event::Event::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, ::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0308, E0412, E0432, E0433, E0559, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | push_event(&mut input, event::Event::Raw(Input::Release(Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = event::Event::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = ::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let evt1 = event::Event::Raw(Input::Press(Keyboard(Key::Z))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/global_input.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = event::Event::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = ::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/global_input.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let evt2 = event::Event::Raw(Input::Press(Keyboard(Key::A))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbide_core` (test "global_input") due to 31 previous errors; 16 warnings emitted [INFO] [stderr] error: could not compile `carbide_core` (test "ui") due to 30 previous errors; 6 warnings emitted [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:21:84 [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::new(999), source).into()); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | push_event(&mut global_input, event::Ui::WidgetCapturesInputSource(widget::Id::ne(999), source).into()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, ::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/widget_input.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | push_event(&mut global_input, event::Event::Raw(Input::Motion(crate::carbide_core::input::Motion::MouseRelative { x: 30.0, y: 30. }))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/widget_input.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, event::Event::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, ::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/widget_input.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | push_event(&mut global_input, event::Event::Raw(Input::Press(Button::Mouse(MouseButton::Left)))); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::new(2), widget_area, &global_input); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | let widget_input = input::Widget::for_widget(widget::Id::ne(2), widget_area, &global_input); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let widget = widget::Id::new(4); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let widget = widget::Id::ne(4); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Uuid` in the current scope [INFO] [stdout] --> tests/widget_input.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let another_widget = widget::Id::new(7); [INFO] [stdout] | ^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] uuid::builder::::from_u128 [INFO] [stdout] and 5 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-0.8.2/src/builder/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / pub fn from_fields( [INFO] [stdout] 71 | | d1: u32, [INFO] [stdout] 72 | | d2: u16, [INFO] [stdout] 73 | | d3: u16, [INFO] [stdout] 74 | | d4: &[u8], [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 127 | / pub fn from_fields_le( [INFO] [stdout] 128 | | d1: u32, [INFO] [stdout] 129 | | d2: u16, [INFO] [stdout] 130 | | d3: u16, [INFO] [stdout] 131 | | d4: &[u8], [INFO] [stdout] 132 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub const fn from_u128(v: u128) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 47 | let another_widget = widget::Id::ne(7); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, event::Event::Raw(event)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, ::Raw(event)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Raw` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/ui.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | assert_event_was_pushed(ui, event::Event::Raw(event)); [INFO] [stdout] | ^^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Canvas` in the current scope [INFO] [stdout] --> tests/ui.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | widget::Canvas::new() [INFO] [stdout] | ^^^ function or associated item not found in `Canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Scroll` found for enum `input::Motion` [INFO] [stdout] --> tests/ui.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | ui.handle_event(Input::Motion(Motion::Scroll { x: 10.0, y: 33.0 })); [INFO] [stdout] | ^^^^^^ variant not found in `input::Motion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/ui.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | if let dyn event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ui` found for trait object `dyn carbide_core::event::event::Event<_>` in the current scope [INFO] [stdout] --> tests/ui.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | if let event::Event::Ui(event::Ui::Scroll(_, scroll)) = *event { [INFO] [stdout] | ^^ associated item not found in `dyn Event<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0308, E0412, E0422, E0432, E0433, E0559, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `carbide_core` (test "mod") due to 81 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8bc2e0b309f64a733e3a808042293997199eec892611e55d19da2e3e2ade9190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc2e0b309f64a733e3a808042293997199eec892611e55d19da2e3e2ade9190", kill_on_drop: false }` [INFO] [stdout] 8bc2e0b309f64a733e3a808042293997199eec892611e55d19da2e3e2ade9190