[INFO] fetching crate iced_focus 0.1.1... [INFO] checking iced_focus-0.1.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate iced_focus 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate iced_focus 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate iced_focus 0.1.1 [INFO] tweaked toml for crates.io crate iced_focus 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate iced_focus 0.1.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 371 packages to latest compatible versions [INFO] [stderr] Adding freetype v0.7.0 (available: v0.7.2) [INFO] [stderr] Adding iced v0.3.0 (available: v0.13.1) [INFO] [stderr] Adding js-sys v0.3.46 (available: v0.3.77) [INFO] [stderr] Adding nix v0.20.0 (available: v0.20.2) [INFO] [stderr] Adding syn v1.0.65 (available: v1.0.109) [INFO] [stderr] Adding wasm-bindgen v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-backend v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.19 (available: v0.4.50) [INFO] [stderr] Adding wasm-bindgen-macro v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-shared v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding web-sys v0.3.46 (available: v0.3.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b050a9a7971a4599a5586707201c620bc58e58c2a81000b3e0d0e83b8326fc0f [INFO] running `Command { std: "docker" "start" "-a" "b050a9a7971a4599a5586707201c620bc58e58c2a81000b3e0d0e83b8326fc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b050a9a7971a4599a5586707201c620bc58e58c2a81000b3e0d0e83b8326fc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b050a9a7971a4599a5586707201c620bc58e58c2a81000b3e0d0e83b8326fc0f", kill_on_drop: false }` [INFO] [stdout] b050a9a7971a4599a5586707201c620bc58e58c2a81000b3e0d0e83b8326fc0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2538b98c7a24696b60fdca78bf8a7eabb1d1ef89557f387a107fc7cd47f80650 [INFO] running `Command { std: "docker" "start" "-a" "2538b98c7a24696b60fdca78bf8a7eabb1d1ef89557f387a107fc7cd47f80650", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling khronos-egl v3.0.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling spirv_cross v0.23.1 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling wgpu-core v0.7.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking ab_glyph v0.2.30 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.3.2 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking inplace_it v0.3.6 [INFO] [stderr] Checking iced_core v0.4.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking gpu-alloc v0.3.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking gfx-hal v0.7.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking iced_futures v0.3.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking wgpu-types v0.7.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking gfx-backend-empty v0.7.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking gfx-backend-vulkan v0.7.0 [INFO] [stderr] Checking iced_native v0.4.0 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking twox-hash v2.1.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking iced_style v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking iced_graphics v0.2.0 [INFO] [stderr] Checking glyph_brush v0.7.12 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking window_clipboard v0.2.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking trybuild v1.0.105 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking iced_winit v0.3.0 [INFO] [stderr] Checking gfx-auxil v0.8.0 [INFO] [stderr] Checking gfx-backend-gl v0.7.1 [INFO] [stderr] Checking wgpu v0.7.1 [INFO] [stderr] Checking wgpu_glyph v0.11.0 [INFO] [stderr] Checking iced_wgpu v0.4.0 [INFO] [stderr] Checking iced v0.3.0 [INFO] [stderr] Checking iced_focus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/07-vector.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/02-enum-unit.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/02-enum-unit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/11-generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/11-generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/11-generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/05-tuple-enum.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/05-tuple-enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/11-generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/03-enum-struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/05-tuple-enum.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | One(#[focus(enable)] text_input::State), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/05-tuple-enum.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/11-generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/11-generics.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/05-tuple-enum.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/09-option.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/09-option.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/01-struct.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/01-struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/01-struct.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/01-struct.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/09-option.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "11-generics") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/04-tuple-struct.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/04-tuple-struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/04-tuple-struct.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/04-tuple-struct.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 13 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 14 | assert!(!example.text_input_two.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 20 | assert!(!example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 20 | assert!(!example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 20 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 15 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!example.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 22 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 21 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 16 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 16 | example.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 26 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 26 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 26 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 19 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 19 | example.text_input_two.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 20 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 12 | assert!(!example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 22 | assert!(example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 22 | assert!(example.text_input_two.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 19 | assert!(!example.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 42 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 29 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 29 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 29 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 17 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 17 | example.1.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 27 | example.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 23 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "03-enum-struct") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 27 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 27 | example.text_input_two.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 35 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 35 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 35 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 27 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 20 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 20 | assert!(example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 30 | assert!(example.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 30 | assert!(example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 30 | assert!(example.text_input_two.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 39 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 34 | example.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 38 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 38 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 38 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 25 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 25 | example.1.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 35 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 35 | example.text_input_two.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 46 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "02-enum-unit") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/09-option.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 37 | assert!(!example.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 52 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 52 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 52 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 28 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 28 | assert!(example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/01-struct.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 38 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 38 | assert!(!example.text_input_two.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "09-option") due to 9 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 33 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 33 | example.1.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 55 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 55 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 55 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "01-struct") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 36 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 36 | assert!(!example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "04-tuple-struct") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 61 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 61 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 61 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 66 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 64 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 64 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 64 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 72 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 72 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 72 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 72 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 69 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 75 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 75 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 75 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "05-tuple-enum") due to 16 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 84 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 84 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 84 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 90 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 90 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 90 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 93 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 93 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 93 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 105 | assert!(!example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 105 | assert!(!example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 105 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 111 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 111 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 111 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 111 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 114 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 114 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 114 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 120 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 120 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 120 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 123 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 123 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 123 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 137 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 137 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 137 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 140 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 140 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 140 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 146 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 146 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 146 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 149 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 149 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 149 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 157 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 157 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 157 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 160 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 160 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 160 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 169 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 169 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 169 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 175 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 175 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 175 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 175 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 178 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 178 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 178 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 178 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "07-vector") due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "2538b98c7a24696b60fdca78bf8a7eabb1d1ef89557f387a107fc7cd47f80650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2538b98c7a24696b60fdca78bf8a7eabb1d1ef89557f387a107fc7cd47f80650", kill_on_drop: false }` [INFO] [stdout] 2538b98c7a24696b60fdca78bf8a7eabb1d1ef89557f387a107fc7cd47f80650