[INFO] fetching crate iced_focus 0.1.1...
[INFO] checking iced_focus-0.1.1 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate iced_focus 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate iced_focus 0.1.1 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate iced_focus 0.1.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate iced_focus 0.1.1
[INFO] tweaked toml for crates.io crate iced_focus 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 334 packages to latest compatible versions
[INFO] [stderr]       Adding freetype v0.7.0 (available: v0.7.2)
[INFO] [stderr]       Adding iced v0.3.0 (available: v0.13.1)
[INFO] [stderr]       Adding js-sys v0.3.46 (available: v0.3.72)
[INFO] [stderr]       Adding nix v0.20.0 (available: v0.20.2)
[INFO] [stderr]       Adding syn v1.0.65 (available: v1.0.109)
[INFO] [stderr]       Adding wasm-bindgen v0.2.69 (available: v0.2.95)
[INFO] [stderr]       Adding wasm-bindgen-backend v0.2.69 (available: v0.2.95)
[INFO] [stderr]       Adding wasm-bindgen-futures v0.4.19 (available: v0.4.45)
[INFO] [stderr]       Adding wasm-bindgen-macro v0.2.69 (available: v0.2.95)
[INFO] [stderr]       Adding wasm-bindgen-macro-support v0.2.69 (available: v0.2.95)
[INFO] [stderr]       Adding wasm-bindgen-shared v0.2.69 (available: v0.2.95)
[INFO] [stderr]       Adding web-sys v0.3.46 (available: v0.3.72)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8aedbca4538e46b1537d39b1a12dadd09a5a46ad3a8e3d2b91d6f6568ca5270
[INFO] running `Command { std: "docker" "start" "-a" "a8aedbca4538e46b1537d39b1a12dadd09a5a46ad3a8e3d2b91d6f6568ca5270", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8aedbca4538e46b1537d39b1a12dadd09a5a46ad3a8e3d2b91d6f6568ca5270", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8aedbca4538e46b1537d39b1a12dadd09a5a46ad3a8e3d2b91d6f6568ca5270", kill_on_drop: false }`
[INFO] [stdout] a8aedbca4538e46b1537d39b1a12dadd09a5a46ad3a8e3d2b91d6f6568ca5270
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d23314d78c62159b241ead2f78a5c6644e6b6786f99abce052febc4c5d768ae
[INFO] running `Command { std: "docker" "start" "-a" "9d23314d78c62159b241ead2f78a5c6644e6b6786f99abce052febc4c5d768ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking libloading v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling wayland-sys v0.31.5
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking thiserror v1.0.65
[INFO] [stderr]    Compiling xml-rs v0.8.22
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling wayland-client v0.31.7
[INFO] [stderr]     Checking fixedbitset v0.2.0
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling wayland-scanner v0.31.5
[INFO] [stderr]     Checking petgraph v0.5.1
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking spirv_headers v1.5.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling cmake v0.1.51
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]     Checking naga v0.3.2
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking xcursor v0.3.8
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]    Compiling pathfinder_simd v0.5.4
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-backend v0.3.7
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling spirv_cross v0.23.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling khronos-egl v3.0.2
[INFO] [stderr]     Checking ttf-parser v0.25.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking gfx-hal v0.7.0
[INFO] [stderr]     Checking polling v3.7.3
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking cursor-icon v1.1.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking ahash v0.4.8
[INFO] [stderr]    Compiling glam v0.10.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking owned_ttf_parser v0.15.2
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]    Compiling wgpu-core v0.7.2
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]     Checking wayland-protocols v0.32.5
[INFO] [stderr]     Checking wayland-cursor v0.31.7
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking ash v0.31.0
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]     Checking glow v0.7.2
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]     Checking iced_core v0.4.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking inplace_it v0.3.6
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking gpu-alloc v0.3.2
[INFO] [stderr]     Checking gpu-descriptor v0.1.1
[INFO] [stderr]     Checking bytemuck v1.19.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking gfx-backend-empty v0.7.0
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]     Checking rusttype v0.9.3
[INFO] [stderr]     Checking iced_futures v0.3.0
[INFO] [stderr]     Checking freetype v0.7.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking wgpu-types v0.7.0
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking float-ord v0.2.0
[INFO] [stderr]     Checking xi-unicode v0.3.0
[INFO] [stderr]     Checking xdg v2.5.2
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]     Checking glyph_brush_draw_cache v0.1.6
[INFO] [stderr]     Checking iced_native v0.4.0
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.5
[INFO] [stderr]     Checking glyph_brush_layout v0.2.4
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking font-kit v0.10.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking iced_style v0.3.0
[INFO] [stderr]     Checking twox-hash v2.0.0
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking ordered-float v4.4.0
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking iced_graphics v0.2.0
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking glyph_brush v0.7.11
[INFO] [stderr]     Checking euclid v0.22.11
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking svg_fmt v0.4.3
[INFO] [stderr]     Checking gfx-backend-vulkan v0.7.0
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking guillotiere v0.6.2
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[INFO] [stderr]     Checking winnow v0.6.20
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]     Checking clipboard_x11 v0.4.2
[INFO] [stderr]     Checking clipboard_wayland v0.2.2
[INFO] [stderr]     Checking serde_json v1.0.132
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking window_clipboard v0.2.4
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]     Checking toml v0.8.19
[INFO] [stderr]     Checking trybuild v1.0.101
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking winit v0.24.0
[INFO] [stderr]     Checking iced_winit v0.3.0
[INFO] [stderr]     Checking gfx-auxil v0.8.0
[INFO] [stderr]     Checking gfx-backend-gl v0.7.1
[INFO] [stderr]     Checking wgpu v0.7.1
[INFO] [stderr]     Checking wgpu_glyph v0.11.0
[INFO] [stderr]     Checking iced_wgpu v0.4.0
[INFO] [stderr]     Checking iced v0.3.0
[INFO] [stderr]     Checking iced_focus v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Focus` in this scope
[INFO] [stdout]  --> tests/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 derive macro `Focus` in this scope
[INFO] [stdout]  --> tests/01-struct.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, Focus)]
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/01-struct.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use iced_focus::Focus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]  --> tests/03-enum-struct.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |         #[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/01-struct.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[focus(enable)]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]  --> tests/05-tuple-enum.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     One(#[focus(enable)] text_input::State),
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]  --> tests/05-tuple-enum.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |         #[focus(enable)] text_input::State,
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]  --> tests/05-tuple-enum.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |         #[focus(enable)] text_input::State,
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]  --> tests/01-struct.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[focus(enable)]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `focus` in this scope
[INFO] [stdout]   --> tests/03-enum-struct.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |         #[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:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[focus(enable)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Focus` in this scope
[INFO] [stdout]  --> tests/08-array.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, Focus)]
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/08-array.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use iced_focus::Focus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find 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 derive macro `Focus` in this scope
[INFO] [stdout]  --> tests/02-enum-unit.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Focus)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/02-enum-unit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use iced_focus::Focus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Focus` in this scope
[INFO] [stdout]  --> tests/09-option.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Focus)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Focus` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/09-option.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use iced_focus::Focus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find 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 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/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/08-array.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/09-option.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/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/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 attribute `focus` in this scope
[INFO] [stdout]   --> tests/10-complex.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[focus(enable)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Focus` in this scope
[INFO] [stdout]   --> tests/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/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[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/02-enum-unit.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | enum Example {
[INFO] [stdout]    | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 14 |     assert!(!example.text_input_one.has_focus());
[INFO] [stdout]    |                      +++++++++++++++
[INFO] [stdout] 14 |     assert!(!example.text_input_two.has_focus());
[INFO] [stdout]    |                      +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 12 |     assert!(!example.text_inputs.has_focus());
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/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: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-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 12 |     assert!(!example.text_input.has_focus());
[INFO] [stdout]    |                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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 `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:30:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 30  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |         example.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/05-tuple-enum.rs:21:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 21  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/07-vector.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 26 |         example.text_input_first.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++++
[INFO] [stdout] 26 |         example.text_input_last.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ++++++++++++++++
[INFO] [stdout] 26 |         example.text_inputs.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |         example.text_inputs.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope
[INFO] [stdout]   --> tests/10-complex.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct ExampleA {
[INFO] [stdout]    | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 |     assert!(!example.example_a.has_focus());
[INFO] [stdout]    |                                ^^^^^^^^^ method not found in `ExampleA`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 82 |     assert!(!example.example_a.text_input_first.has_focus());
[INFO] [stdout]    |                                +++++++++++++++++
[INFO] [stdout] 82 |     assert!(!example.example_a.text_input_last.has_focus());
[INFO] [stdout]    |                                ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 19 |         example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 19 |         example.text_input_two.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/03-enum-struct.rs: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-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert!(!example.text_input.has_focus());
[INFO] [stdout]    |                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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 `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 enum `Example` in the current scope
[INFO] [stdout]   --> tests/02-enum-unit.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 4  | enum Example {
[INFO] [stdout]    | ------------ method `has_focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for 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 `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] [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/09-option.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 27 |         example.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/07-vector.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 35 |         example.text_input_first.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++++
[INFO] [stdout] 35 |         example.text_input_last.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ++++++++++++++++
[INFO] [stdout] 35 |         example.text_inputs.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 22 |     assert!(example.text_input_one.has_focus());
[INFO] [stdout]    |                     +++++++++++++++
[INFO] [stdout] 22 |     assert!(example.text_input_two.has_focus());
[INFO] [stdout]    |                     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |             example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                     ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 25 |             example.text_inputs.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/10-complex.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 86 |         example.example_a.text_input_first.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++++++++++++++
[INFO] [stdout] 86 |         example.example_b.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++++++++
[INFO] [stdout] 86 |         example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/05-tuple-enum.rs:30:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 30  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/02-enum-unit.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | enum Example {
[INFO] [stdout]    | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 |     assert!(example.text_input.has_focus());
[INFO] [stdout]    |                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 27 |         example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 27 |         example.text_input_two.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for 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 `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |         assert!(example.has_focus());
[INFO] [stdout]    |                         ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 28 |         assert!(example.text_inputs.has_focus());
[INFO] [stdout]    |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/10-complex.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 89 |     assert!(example.example_a.text_input_first.has_focus());
[INFO] [stdout]    |                     +++++++++++++++++++++++++++
[INFO] [stdout] 89 |     assert!(example.example_b.text_input.has_focus());
[INFO] [stdout]    |                     +++++++++++++++++++++
[INFO] [stdout] 89 |     assert!(example.text_input_one.has_focus());
[INFO] [stdout]    |                     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/02-enum-unit.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 4  | enum Example {
[INFO] [stdout]    | ------------ method `has_focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/05-tuple-enum.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | enum Example {
[INFO] [stdout]    | ------------ method `has_focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn has_focus(&self) -> bool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         example.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for 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/01-struct.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 |     assert!(example.text_input_one.has_focus());
[INFO] [stdout]    |                     +++++++++++++++
[INFO] [stdout] 30 |     assert!(example.text_input_two.has_focus());
[INFO] [stdout]    |                     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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 `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 `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 34 |     assert!(example.text_inputs.has_focus());
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for 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 `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/09-option.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 37 |     assert!(!example.text_input.has_focus());
[INFO] [stdout]    |                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 35 |         example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 35 |         example.text_input_two.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]    |                 +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/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] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/07-vector.rs: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[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/05-tuple-enum.rs:46:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 46  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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] 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/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] [stderr] error: could not compile `iced_focus` (test "09-option") due to 9 previous errors
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/01-struct.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 38 |     assert!(!example.text_input_one.has_focus());
[INFO] [stdout]    |                      +++++++++++++++
[INFO] [stdout] 38 |     assert!(!example.text_input_two.has_focus());
[INFO] [stdout]    |                      +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iced_focus` (test "02-enum-unit") due to 7 previous errors
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/05-tuple-enum.rs: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 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] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs: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/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] [stderr] error: could not compile `iced_focus` (test "01-struct") due to 10 previous errors
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/05-tuple-enum.rs:56:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `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 enum `Example` in the current scope
[INFO] [stdout]   --> tests/05-tuple-enum.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | enum Example {
[INFO] [stdout]    | ------------ method `has_focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 59 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn has_focus(&self) -> bool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 55  | struct ExampleB {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     assert!(!example.example_b.has_focus());
[INFO] [stdout]     |                                ^^^^^^^^^ method not found in `ExampleB`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 101 |     assert!(!example.example_b.text_input.has_focus());
[INFO] [stdout]     |                                +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for enum `Example` in the current scope
[INFO] [stdout]    --> tests/05-tuple-enum.rs:66:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | enum Example {
[INFO] [stdout]     | ------------ method `focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 66  |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `focus` exists on the type `iced::text_input::State`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iced_native-0.4.0/src/widget/text_input.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     pub fn focus(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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:51:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 51 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec<ExampleC>`, 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<ExampleC>` 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<ExampleC>: Focus`
[INFO] [stdout]             `ExampleC: Focus`
[INFO] [stdout]             which is required by `[ExampleC]: Focus`
[INFO] [stdout] note: the trait `Focus` must be implemented
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout] 57  | pub trait Focus {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for enum `Example` in the current scope
[INFO] [stdout]   --> tests/05-tuple-enum.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 5  | enum Example {
[INFO] [stdout]    | ------------ method `has_focus` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |     assert!(!example.has_focus());
[INFO] [stdout]    |                      ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `has_focus` exists on the type `iced::text_input::State`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn has_focus(&self) -> bool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 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/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]: 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/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] [stderr] error: could not compile `iced_focus` (test "05-tuple-enum") due to 16 previous errors
[INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec<ExampleC>`, 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<ExampleC>` 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<ExampleC>: 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/10-complex.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 |             example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                     ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 120 |             example.example_a.text_input_first.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                     +++++++++++++++++++++++++++
[INFO] [stdout] 120 |             example.example_b.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                     +++++++++++++++++++++
[INFO] [stdout] 120 |             example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |             example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                     ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 60 |             example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `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/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/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 `has_focus` found for struct `ExampleB` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:125:36
[INFO] [stdout]     |
[INFO] [stdout] 55  | struct ExampleB {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 125 |         assert!(!example.example_b.has_focus());
[INFO] [stdout]     |                                    ^^^^^^^^^ method not found in `ExampleB`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 125 |         assert!(!example.example_b.text_input.has_focus());
[INFO] [stdout]     |                                    +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `has_focus` exists for struct `Vec<ExampleC>`, 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<ExampleC>` 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<ExampleC>: 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/07-vector.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     assert!(example.has_focus());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert!(example.text_input_first.has_focus());
[INFO] [stdout]    |                     +++++++++++++++++
[INFO] [stdout] 93 |     assert!(example.text_input_last.has_focus());
[INFO] [stdout]    |                     ++++++++++++++++
[INFO] [stdout] 93 |     assert!(example.text_inputs.has_focus());
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/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 `ExampleC` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:128:59
[INFO] [stdout]     |
[INFO] [stdout] 47  | struct ExampleC {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         assert!(!example.example_a.text_inputs[window[0]].has_focus());
[INFO] [stdout]     |                                                           ^^^^^^^^^ method not found in `ExampleC`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert!(!example.example_a.text_inputs[window[0]].text_inputs.has_focus());
[INFO] [stdout]     |                                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/08-array.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Example {
[INFO] [stdout]    | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                 ^^^^^ method not found in `Example`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 73 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `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 struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 111 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 111 |         example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 111 |         example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++++++
[INFO] [stdout] 111 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]   --> tests/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] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/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 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] [stderr] error: could not compile `iced_focus` (test "08-array") due to 18 previous errors
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleA` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:134:31
[INFO] [stdout]     |
[INFO] [stdout] 20  | struct ExampleA {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 134 |     assert!(example.example_a.has_focus());
[INFO] [stdout]     |                               ^^^^^^^^^ method not found in `ExampleA`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 134 |     assert!(example.example_a.text_input_first.has_focus());
[INFO] [stdout]     |                               +++++++++++++++++
[INFO] [stdout] 134 |     assert!(example.example_a.text_input_last.has_focus());
[INFO] [stdout]     |                               ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 120 |         example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 120 |         example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++++++
[INFO] [stdout] 120 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:135:32
[INFO] [stdout]     |
[INFO] [stdout] 55  | struct ExampleB {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 135 |     assert!(!example.example_b.has_focus());
[INFO] [stdout]     |                                ^^^^^^^^^ method not found in `ExampleB`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 135 |     assert!(!example.example_b.text_input.has_focus());
[INFO] [stdout]     |                                +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:123:21
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 123 |     assert!(example.has_focus());
[INFO] [stdout]     |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 123 |     assert!(example.text_input_first.has_focus());
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 123 |     assert!(example.text_input_last.has_focus());
[INFO] [stdout]     |                     ++++++++++++++++
[INFO] [stdout] 123 |     assert!(example.text_inputs.has_focus());
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 137 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 137 |         example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 137 |         example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++++++
[INFO] [stdout] 137 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `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 `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 struct `ExampleA` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 20  | struct ExampleA {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 141 |     assert!(example.example_a.has_focus());
[INFO] [stdout]     |                               ^^^^^^^^^ method not found in `ExampleA`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 141 |     assert!(example.example_a.text_input_first.has_focus());
[INFO] [stdout]     |                               +++++++++++++++++
[INFO] [stdout] 141 |     assert!(example.example_a.text_input_last.has_focus());
[INFO] [stdout]     |                               ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 146 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 146 |         example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 146 |         example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++++++
[INFO] [stdout] 146 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:142:32
[INFO] [stdout]     |
[INFO] [stdout] 55  | struct ExampleB {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     assert!(!example.example_b.has_focus());
[INFO] [stdout]     |                                ^^^^^^^^^ method not found in `ExampleB`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 142 |     assert!(!example.example_b.text_input.has_focus());
[INFO] [stdout]     |                                +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 149 |     assert!(example.has_focus());
[INFO] [stdout]     |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 149 |     assert!(example.text_input_first.has_focus());
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 149 |     assert!(example.text_input_last.has_focus());
[INFO] [stdout]     |                     ++++++++++++++++
[INFO] [stdout] 149 |     assert!(example.text_inputs.has_focus());
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/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 `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 157 |             example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                     ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 157 |             example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 157 |             example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                     ++++++++++++++++
[INFO] [stdout] 157 |             example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `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 `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:160:25
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |         assert!(example.has_focus());
[INFO] [stdout]     |                         ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 160 |         assert!(example.text_input_first.has_focus());
[INFO] [stdout]     |                         +++++++++++++++++
[INFO] [stdout] 160 |         assert!(example.text_input_last.has_focus());
[INFO] [stdout]     |                         ++++++++++++++++
[INFO] [stdout] 160 |         assert!(example.text_inputs.has_focus());
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `ExampleB` in the current scope
[INFO] [stdout]    --> tests/10-complex.rs:150:31
[INFO] [stdout]     |
[INFO] [stdout] 55  | struct ExampleB {
[INFO] [stdout]     | --------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 150 |     assert!(example.example_b.has_focus());
[INFO] [stdout]     |                               ^^^^^^^^^ method not found in `ExampleB`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 150 |     assert!(example.example_b.text_input.has_focus());
[INFO] [stdout]     |                               +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for 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/10-complex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 6   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 154 |         example.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 154 |         example.example_a.text_input_first.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 +++++++++++++++++++++++++++
[INFO] [stdout] 154 |         example.example_b.text_input.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 +++++++++++++++++++++
[INFO] [stdout] 154 |         example.text_input_one.focus(iced_focus::Direction::Forwards),
[INFO] [stdout]     |                 +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 175 |         example.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 175 |         example.text_input_first.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 175 |         example.text_input_last.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++++++
[INFO] [stdout] 175 |         example.text_inputs.focus(iced_focus::Direction::Backwards),
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `has_focus` found for struct `Example` in the current scope
[INFO] [stdout]    --> tests/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 `Example` in the current scope
[INFO] [stdout]    --> tests/07-vector.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 5   | struct Example {
[INFO] [stdout]     | -------------- method `has_focus` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 178 |     assert!(example.has_focus());
[INFO] [stdout]     |                     ^^^^^^^^^ method not found in `Example`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `has_focus`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Focus`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 178 |     assert!(example.text_input_first.has_focus());
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 178 |     assert!(example.text_input_last.has_focus());
[INFO] [stdout]     |                     ++++++++++++++++
[INFO] [stdout] 178 |     assert!(example.text_inputs.has_focus());
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [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] [stderr] error: could not compile `iced_focus` (test "07-vector") due to 32 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: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" "9d23314d78c62159b241ead2f78a5c6644e6b6786f99abce052febc4c5d768ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d23314d78c62159b241ead2f78a5c6644e6b6786f99abce052febc4c5d768ae", kill_on_drop: false }`
[INFO] [stdout] 9d23314d78c62159b241ead2f78a5c6644e6b6786f99abce052febc4c5d768ae
