[INFO] fetching crate iced_focus 0.1.1... [INFO] checking iced_focus-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate iced_focus 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate iced_focus 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 356 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.72) [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.95) [INFO] [stderr] Adding wasm-bindgen-backend v0.2.69 (available: v0.2.95) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.19 (available: v0.4.45) [INFO] [stderr] Adding wasm-bindgen-macro v0.2.69 (available: v0.2.95) [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.69 (available: v0.2.95) [INFO] [stderr] Adding wasm-bindgen-shared v0.2.69 (available: v0.2.95) [INFO] [stderr] Adding web-sys v0.3.46 (available: v0.3.72) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard_macos v0.1.1 [INFO] [stderr] Downloaded clipboard_x11 v0.4.2 [INFO] [stderr] Downloaded clipboard_wayland v0.2.2 [INFO] [stderr] Downloaded iced_focus_derive v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 015745930f888047f65458130b7cc717208974693ed83db26bf308005af90b89 [INFO] running `Command { std: "docker" "start" "-a" "015745930f888047f65458130b7cc717208974693ed83db26bf308005af90b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "015745930f888047f65458130b7cc717208974693ed83db26bf308005af90b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015745930f888047f65458130b7cc717208974693ed83db26bf308005af90b89", kill_on_drop: false }` [INFO] [stdout] 015745930f888047f65458130b7cc717208974693ed83db26bf308005af90b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2faa1e956c200f5eb4efddc06b532ecfbb44ab914c98583d35aa8cf843a240 [INFO] running `Command { std: "docker" "start" "-a" "dd2faa1e956c200f5eb4efddc06b532ecfbb44ab914c98583d35aa8cf843a240", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.7 [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 ttf-parser v0.25.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling khronos-egl v3.0.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling wgpu-core v0.7.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking wayland-protocols v0.32.5 [INFO] [stderr] Checking wayland-cursor v0.31.7 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking naga v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking polling v3.7.4 [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 rand_chacha v0.3.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking inplace_it v0.3.6 [INFO] [stderr] Checking iced_core v0.4.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking gpu-alloc v0.3.2 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking iced_futures v0.3.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking gfx-hal v0.7.0 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.5 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking gfx-backend-empty v0.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.7.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking iced_native v0.4.0 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking twox-hash v2.0.1 [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 v4.5.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 mio-extras v2.0.6 [INFO] [stderr] Checking glyph_brush v0.7.11 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking iced_graphics v0.2.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.7.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking svg_fmt v0.4.4 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking window_clipboard v0.2.4 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [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/10-complex.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[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/10-complex.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/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/10-complex.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/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/10-complex.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[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/10-complex.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/08-array.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/08-array.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/08-array.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/10-complex.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[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/10-complex.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: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 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/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/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 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/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/06-enable-with.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/06-enable-with.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/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/06-enable-with.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/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/06-enable-with.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[focus(enable = "self.enable_input_two")] [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: 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/10-complex.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/06-enable-with.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | #[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/06-enable-with.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/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/06-enable-with.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[focus(enable)] text_input::State, [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/06-enable-with.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[focus(enable = "self.enable_input_two")] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/10-complex.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[focus(enable)] [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/06-enable-with.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[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/06-enable-with.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/10-complex.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/10-complex.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, 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/10-complex.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/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 attribute `focus` in this scope [INFO] [stdout] --> tests/06-enable-with.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/06-enable-with.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | #[focus(enable = "self.enable_input_two")] [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 attribute `focus` in this scope [INFO] [stdout] --> tests/10-complex.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[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/06-enable-with.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[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/10-complex.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[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/10-complex.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 attribute `focus` in this scope [INFO] [stdout] --> tests/06-enable-with.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | #[focus(enable = "self.enable_input_two")] 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/10-complex.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[focus(enable = "self.enable_text_input")] [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] [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[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/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 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 `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleStruct` [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] 21 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 21 | 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: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/08-array.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_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/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 `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/10-complex.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | 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] 80 | assert!(!example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 80 | assert!(!example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 80 | assert!(!example.text_input_one.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/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 `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 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-6f17d22bba15001f/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 `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [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 `ExampleStruct` [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_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 26 | 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/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 struct `Example` in the current scope [INFO] [stdout] --> tests/08-array.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_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | assert!(!example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 82 | assert!(!example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 82 | assert!(!example.example_a.text_input_last.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/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] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [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 `ExampleStruct` [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_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 29 | 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/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 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/08-array.rs:19:21 [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_inputs.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/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 `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 83 | assert!(!example.example_b.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/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 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-6f17d22bba15001f/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 `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [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 `ExampleStruct` [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] 34 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 34 | 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/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 `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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/08-array.rs:25:21 [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: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 25 | 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/10-complex.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | 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] 86 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 86 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 86 | example.text_input_one.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] [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 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 `has_focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [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 `ExampleStruct` [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] 37 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 37 | 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/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 struct `Example` in the current scope [INFO] [stdout] --> tests/08-array.rs:28:25 [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: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 28 | 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/10-complex.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | 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] 89 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 89 | assert!(example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 89 | assert!(example.text_input_one.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: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 `focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleStruct` [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] 47 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 47 | 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/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 `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 `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | assert!(!example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 91 | assert!(!example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 91 | assert!(!example.example_a.text_input_last.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/08-array.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | 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] 34 | 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/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 `has_focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleStruct` [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] 50 | assert!(example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 50 | assert!(example.text_input_two.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: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-6f17d22bba15001f/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/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] [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/08-array.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | 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] 38 | 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 `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 92 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 92 | assert!(!example.example_b.text_input.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 "04-tuple-struct") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleStruct` [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] 55 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 55 | example.text_input_two.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: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] [stderr] error: could not compile `iced_focus` (test "01-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/10-complex.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | 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] 95 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 95 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 95 | example.text_input_one.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/08-array.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | 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] 41 | assert!(!example.text_inputs.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-6f17d22bba15001f/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 `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleStruct` [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] 58 | assert!(example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 58 | 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/10-complex.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | 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] 98 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 98 | assert!(example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 98 | assert!(example.text_input_one.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: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 `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | assert!(example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 100 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 100 | assert!(example.example_a.text_input_last.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/08-array.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | 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] 47 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleStruct` [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] 63 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 63 | assert!(!example.text_input_two.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: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-6f17d22bba15001f/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 `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 101 | assert!(!example.example_b.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/08-array.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | 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: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 51 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleStruct` [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] 68 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 68 | example.text_input_two.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/10-complex.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExampleC { [INFO] [stdout] | --------------- doesn't satisfy `ExampleC: Focus` [INFO] [stdout] ... [INFO] [stdout] 104 | assert!(!example.example_a.text_inputs.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `Vec: Focus` [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `[ExampleC]: Focus` [INFO] [stdout] note: the trait `Focus` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait 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: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] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/10-complex.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 108 | 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] 108 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 108 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 108 | example.text_input_one.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/08-array.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | 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] 54 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/10-complex.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExampleC { [INFO] [stdout] | --------------- doesn't satisfy `ExampleC: Focus` [INFO] [stdout] ... [INFO] [stdout] 112 | assert!(example.example_a.text_inputs.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `Vec: Focus` [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `[ExampleC]: Focus` [INFO] [stdout] note: the trait `Focus` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait 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 `ExampleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleStruct { [INFO] [stdout] | -------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleStruct` [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] 71 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 71 | assert!(!example.text_input_two.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/10-complex.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | 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] 120 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 120 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 120 | example.text_input_one.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/08-array.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | 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: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 60 | 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 `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 91 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 91 | assert!(!example.2.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | assert!(example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 124 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 124 | assert!(example.example_a.text_input_last.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/08-array.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | 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] 63 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleTupleStruct` [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] 96 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 96 | example.2.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 125 | assert!(!example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/10-complex.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExampleC { [INFO] [stdout] | --------------- doesn't satisfy `ExampleC: Focus` [INFO] [stdout] ... [INFO] [stdout] 127 | assert!(example.example_a.text_inputs.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `Vec: Focus` [INFO] [stdout] `ExampleC: Focus` [INFO] [stdout] which is required by `[ExampleC]: Focus` [INFO] [stdout] note: the trait `Focus` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait 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/08-array.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | 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] 69 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 99 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 99 | assert!(example.2.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleTupleStruct` [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] 104 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 104 | example.2.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/08-array.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | 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: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 73 | 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 `ExampleC` in the current scope [INFO] [stdout] --> tests/10-complex.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExampleC { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | assert!(!example.example_a.text_inputs[window[0]].has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleC` [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] 128 | assert!(!example.example_a.text_inputs[window[0]].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/08-array.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | 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] 76 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 107 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 107 | assert!(!example.2.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleC` in the current scope [INFO] [stdout] --> tests/10-complex.rs:129:58 [INFO] [stdout] | [INFO] [stdout] 47 | struct ExampleC { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 129 | assert!(example.example_a.text_inputs[window[1]].has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleC` [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] 129 | assert!(example.example_a.text_inputs[window[1]].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 struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleTupleStruct` [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] 117 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 117 | example.2.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/10-complex.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | 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] 132 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 132 | assert!(example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 132 | assert!(example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "08-array") due to 18 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 120 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 120 | assert!(example.2.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 134 | assert!(example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 134 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 134 | assert!(example.example_a.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleTupleStruct` [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] 125 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 125 | example.2.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 135 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 135 | assert!(!example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 128 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 128 | assert!(example.2.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/10-complex.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | 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] 138 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 138 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 138 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 133 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 133 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 133 | assert!(!example.2.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | assert!(example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 141 | assert!(example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 141 | assert!(example.example_a.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleTupleStruct` [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] 138 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 138 | example.2.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 142 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 142 | assert!(!example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleTupleStruct` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 77 | struct ExampleTupleStruct( [INFO] [stdout] | ------------------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleTupleStruct` [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] 141 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 141 | assert!(!example.2.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/10-complex.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | 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] 146 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 146 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 146 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 178 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | assert!(!example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 149 | assert!(!example.example_a.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 190 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | assert!(example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 150 | assert!(example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 193 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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/10-complex.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | 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] 154 | example.example_a.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 154 | example.example_b.text_input.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 154 | example.text_input_one.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 205 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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/10-complex.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | 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] 157 | assert!(!example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] 157 | assert!(!example.example_b.text_input.has_focus()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 157 | assert!(!example.text_input_one.has_focus()); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 208 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleA` in the current scope [INFO] [stdout] --> tests/10-complex.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 20 | struct ExampleA { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | assert!(!example.example_a.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleA` [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] 159 | assert!(!example.example_a.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 159 | assert!(!example.example_a.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 226 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleB` in the current scope [INFO] [stdout] --> tests/10-complex.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 55 | struct ExampleB { [INFO] [stdout] | --------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | assert!(!example.example_b.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleB` [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] 160 | assert!(!example.example_b.text_input.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 `has_focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 229 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 "10-complex") due to 45 previous errors [INFO] [stdout] error[E0599]: no method named `focus` found for enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 244 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 261 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 270 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 273 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 288 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 295 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 298 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 305 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 308 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 317 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 320 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 327 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 330 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 enum `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 339 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 345 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `ExampleEnum` [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 `ExampleEnum` in the current scope [INFO] [stdout] --> tests/06-enable-with.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 147 | enum ExampleEnum { [INFO] [stdout] | ---------------- method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 348 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ExampleEnum` [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] [stderr] error: could not compile `iced_focus` (test "06-enable-with") due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "dd2faa1e956c200f5eb4efddc06b532ecfbb44ab914c98583d35aa8cf843a240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2faa1e956c200f5eb4efddc06b532ecfbb44ab914c98583d35aa8cf843a240", kill_on_drop: false }` [INFO] [stdout] dd2faa1e956c200f5eb4efddc06b532ecfbb44ab914c98583d35aa8cf843a240