[INFO] fetching crate iced_focus 0.1.1... [INFO] checking iced_focus-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate iced_focus 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate iced_focus 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate iced_focus 0.1.1 [INFO] tweaked toml for crates.io crate iced_focus 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iced_focus 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 365 packages to latest compatible versions [INFO] [stderr] Adding freetype v0.7.0 (available: v0.7.2) [INFO] [stderr] Adding iced v0.3.0 (available: v0.13.1) [INFO] [stderr] Adding js-sys v0.3.46 (available: v0.3.77) [INFO] [stderr] Adding nix v0.20.0 (available: v0.20.2) [INFO] [stderr] Adding syn v1.0.65 (available: v1.0.109) [INFO] [stderr] Adding wasm-bindgen v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-backend v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.19 (available: v0.4.50) [INFO] [stderr] Adding wasm-bindgen-macro v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-shared v0.2.69 (available: v0.2.100) [INFO] [stderr] Adding web-sys v0.3.46 (available: v0.3.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc_exception v0.1.2 [INFO] [stderr] Downloaded ndk v0.2.1 [INFO] [stderr] Downloaded ndk-glue v0.2.1 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded syn v1.0.65 [INFO] [stderr] Downloaded window_clipboard v0.2.4 [INFO] [stderr] Downloaded clipboard-win v4.5.0 [INFO] [stderr] Downloaded iced_core v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.19 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded bytemuck_derive v1.10.1 [INFO] [stderr] Downloaded wgpu-types v0.7.0 [INFO] [stderr] Downloaded gpu-descriptor v0.1.1 [INFO] [stderr] Downloaded spirv_headers v1.5.0 [INFO] [stderr] Downloaded clipboard_macos v0.1.1 [INFO] [stderr] Downloaded wayland-cursor v0.31.11 [INFO] [stderr] Downloaded clipboard_wayland v0.2.2 [INFO] [stderr] Downloaded clipboard_x11 v0.4.2 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.9 [INFO] [stderr] Downloaded smithay-clipboard v0.7.2 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Downloaded svg_fmt v0.4.5 [INFO] [stderr] Downloaded x11rb v0.13.2 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded glam v0.10.2 [INFO] [stderr] Downloaded iced_graphics v0.2.0 [INFO] [stderr] Downloaded x11rb-protocol v0.13.2 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.69 [INFO] [stderr] Downloaded spirv_cross v0.23.1 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded metal v0.21.0 [INFO] [stderr] Downloaded js-sys v0.3.46 [INFO] [stderr] Downloaded bumpalo v2.6.0 [INFO] [stderr] Downloaded gfx-backend-metal v0.7.0 [INFO] [stderr] Downloaded wgpu-core v0.7.2 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded glyph_brush v0.7.12 [INFO] [stderr] Downloaded iced_web v0.4.0 [INFO] [stderr] Downloaded gfx-backend-gl v0.7.1 [INFO] [stderr] Downloaded dodrio v0.2.0 [INFO] [stderr] Downloaded gpu-alloc v0.3.2 [INFO] [stderr] Downloaded iced_wgpu v0.4.0 [INFO] [stderr] Downloaded iced_style v0.3.0 [INFO] [stderr] Downloaded iced_futures v0.3.0 [INFO] [stderr] Downloaded iced_winit v0.3.0 [INFO] [stderr] Downloaded wgpu v0.7.1 [INFO] [stderr] Downloaded naga v0.3.2 [INFO] [stderr] Downloaded wgpu_glyph v0.11.0 [INFO] [stderr] Downloaded font-kit v0.10.1 [INFO] [stderr] Downloaded iced_focus_derive v0.1.1 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.7.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.7.1 [INFO] [stderr] Downloaded web-sys v0.3.46 [INFO] [stderr] Downloaded winit v0.24.0 [INFO] [stderr] Downloaded guillotiere v0.6.2 [INFO] [stderr] Downloaded twox-hash v2.1.2 [INFO] [stderr] Downloaded thunderdome v0.3.0 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.69 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded glyph_brush_layout v0.2.4 [INFO] [stderr] Downloaded iced v0.3.0 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded d3d12 v0.3.2 [INFO] [stderr] Downloaded gfx-backend-empty v0.7.0 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded ash v0.31.0 [INFO] [stderr] Downloaded khronos-egl v3.0.2 [INFO] [stderr] Downloaded copyless v0.1.5 [INFO] [stderr] Downloaded gfx-auxil v0.8.0 [INFO] [stderr] Downloaded range-alloc v0.1.4 [INFO] [stderr] Downloaded storage-map v0.3.0 [INFO] [stderr] Downloaded inplace_it v0.3.6 [INFO] [stderr] Downloaded gfx-hal v0.7.0 [INFO] [stderr] Downloaded gpu-alloc-types v0.2.0 [INFO] [stderr] Downloaded gpu-descriptor-types v0.1.2 [INFO] [stderr] Downloaded ahash v0.4.8 [INFO] [stderr] Downloaded float-ord v0.2.0 [INFO] [stderr] Downloaded freetype v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.69 [INFO] [stderr] Downloaded iced_native v0.4.0 [INFO] [stderr] Downloaded gethostname v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09ab6ea9aa4f6584aaf21d8671ae034cc98dd5dbe2b2f61062f7cc55fbe2264 [INFO] running `Command { std: "docker" "start" "-a" "b09ab6ea9aa4f6584aaf21d8671ae034cc98dd5dbe2b2f61062f7cc55fbe2264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09ab6ea9aa4f6584aaf21d8671ae034cc98dd5dbe2b2f61062f7cc55fbe2264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09ab6ea9aa4f6584aaf21d8671ae034cc98dd5dbe2b2f61062f7cc55fbe2264", kill_on_drop: false }` [INFO] [stdout] b09ab6ea9aa4f6584aaf21d8671ae034cc98dd5dbe2b2f61062f7cc55fbe2264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd7057faf60b6a3692b57d4ae13a141649503c308bc4237f5c847ae8b1a36645 [INFO] running `Command { std: "docker" "start" "-a" "fd7057faf60b6a3692b57d4ae13a141649503c308bc4237f5c847ae8b1a36645", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking naga v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking gfx-hal v0.7.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [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] Compiling khronos-egl v3.0.2 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling wgpu-core v0.7.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking inplace_it v0.3.6 [INFO] [stderr] Checking iced_core v0.4.0 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking gpu-alloc v0.3.2 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking iced_futures v0.3.0 [INFO] [stderr] Checking gfx-backend-empty v0.7.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking wgpu-types v0.7.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking iced_native v0.4.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking iced_style v0.3.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking iced_graphics v0.2.0 [INFO] [stderr] Checking glyph_brush v0.7.12 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking gfx-backend-vulkan v0.7.0 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking window_clipboard v0.2.4 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking trybuild v1.0.110 [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/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 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/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 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/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/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/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 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 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 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 derive macro `Focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/03-enum-struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/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/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 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/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/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/10-complex.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/03-enum-struct.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/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/10-complex.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[focus(enable)] [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/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 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/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/03-enum-struct.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/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/07-vector.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Focus)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/07-vector.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_focus::Focus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/07-vector.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[focus(enable)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Focus` in this scope [INFO] [stdout] --> tests/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/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[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 `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 struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 20 | assert!(!example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 20 | assert!(!example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 20 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 22 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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/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 `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for 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/07-vector.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 26 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 26 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 26 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 21 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for 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 enum `Example` in the current scope [INFO] [stdout] --> tests/03-enum-struct.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 42 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 29 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 29 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 29 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "03-enum-struct") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 35 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 35 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 35 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 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 `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] 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 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/07-vector.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 38 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 38 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 38 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `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/07-vector.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 52 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 52 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 52 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `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 struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 55 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 55 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 55 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [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[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: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/04-tuple-struct.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `focus` in this scope [INFO] [stdout] --> tests/04-tuple-struct.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[focus(enable)] text_input::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for 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 `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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/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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 61 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 61 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 61 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 20 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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/04-tuple-struct.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 12 | assert!(!example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs: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 `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/07-vector.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 64 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 64 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 64 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 17 | example.0.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] 17 | example.1.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 72 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 72 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 72 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 72 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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] 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 `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]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 75 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 75 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 75 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 20 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 20 | assert!(example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/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 `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 `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 enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 46 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn has_focus(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/02-enum-unit.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 4 | enum Example { [INFO] [stdout] | ------------ method `has_focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for 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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope [INFO] [stdout] --> tests/05-tuple-enum.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 5 | enum Example { [INFO] [stdout] | ------------ method `focus` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 66 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/iced_native-0.4.0/src/widget/text_input.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 28 | assert!(example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 28 | assert!(example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 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] [stderr] error: could not compile `iced_focus` (test "02-enum-unit") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iced_focus` (test "05-tuple-enum") due to 16 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 84 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 84 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 84 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `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 `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 `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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | example.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 90 | example.text_input_first.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 90 | example.text_input_last.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 90 | example.text_inputs.focus(iced_focus::Direction::Forwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/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 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 `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 `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 `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 93 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 93 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 93 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 105 | assert!(!example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 105 | assert!(!example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 105 | assert!(!example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 111 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 111 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 111 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 111 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `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 `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/04-tuple-struct.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example( [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(!example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 36 | assert!(!example.0.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] 36 | assert!(!example.1.has_focus()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for 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 `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 114 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 114 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 114 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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/07-vector.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 120 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 120 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 120 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: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] [stderr] error: could not compile `iced_focus` (test "04-tuple-struct") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 123 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 123 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 123 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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: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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 137 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 137 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 137 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 140 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 140 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 140 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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: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] 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] [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 `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 146 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 146 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 146 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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/07-vector.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 149 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 149 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 149 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 157 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 157 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 157 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `has_focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 160 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 160 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 160 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_focus` found for 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] [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 `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 169 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 169 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 169 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 175 | example.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 175 | example.text_input_first.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 175 | example.text_input_last.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 175 | example.text_inputs.focus(iced_focus::Direction::Backwards), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 struct `Example` in the current scope [INFO] [stdout] --> tests/07-vector.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- method `has_focus` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 178 | assert!(example.has_focus()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `has_focus`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Focus` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 178 | assert!(example.text_input_first.has_focus()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 178 | assert!(example.text_input_last.has_focus()); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 178 | assert!(example.text_inputs.has_focus()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] 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: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] [stderr] error: could not compile `iced_focus` (test "07-vector") due to 32 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: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 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 `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 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 `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]: 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 `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]: 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 `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] 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: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 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] [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 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 `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] 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 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] [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] [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] [stderr] error: could not compile `iced_focus` (test "06-enable-with") due to 59 previous errors [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 `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 `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 `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 `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 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 `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 `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 `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 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 `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] [stderr] error: could not compile `iced_focus` (test "10-complex") due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "fd7057faf60b6a3692b57d4ae13a141649503c308bc4237f5c847ae8b1a36645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7057faf60b6a3692b57d4ae13a141649503c308bc4237f5c847ae8b1a36645", kill_on_drop: false }` [INFO] [stdout] fd7057faf60b6a3692b57d4ae13a141649503c308bc4237f5c847ae8b1a36645