[INFO] cloning repository https://github.com/Krahuschluk/rust-flashcards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Krahuschluk/rust-flashcards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahuschluk%2Frust-flashcards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahuschluk%2Frust-flashcards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f55a3566add7b14dd08425ea633d1cd729206cd1 [INFO] building Krahuschluk/rust-flashcards against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrahuschluk%2Frust-flashcards" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Krahuschluk/rust-flashcards on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Krahuschluk/rust-flashcards [INFO] finished tweaking git repo https://github.com/Krahuschluk/rust-flashcards [INFO] tweaked toml for git repo https://github.com/Krahuschluk/rust-flashcards written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Krahuschluk/rust-flashcards already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu_glyph v0.7.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.4.3 [INFO] [stderr] Downloaded gfx-auxil v0.1.0 [INFO] [stderr] Downloaded dwrote v0.9.0 [INFO] [stderr] Downloaded iced_web v0.2.1 [INFO] [stderr] Downloaded font-kit v0.4.0 [INFO] [stderr] Downloaded iced_winit v0.1.0 [INFO] [stderr] Downloaded dodrio v0.1.0 [INFO] [stderr] Downloaded clipboard_wayland v0.1.0 [INFO] [stderr] Downloaded clipboard_x11 v0.1.0 [INFO] [stderr] Downloaded iced_native v0.2.2 [INFO] [stderr] Downloaded iced_core v0.2.1 [INFO] [stderr] Downloaded wgpu-native v0.4.3 [INFO] [stderr] Downloaded gfx-hal v0.4.1 [INFO] [stderr] Downloaded gfx-backend-empty v0.4.0 [INFO] [stderr] Downloaded guillotiere v0.4.4 [INFO] [stderr] Downloaded iced_style v0.1.0 [INFO] [stderr] Downloaded lyon_path v0.14.0 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.6 [INFO] [stderr] Downloaded core-text v13.3.2 [INFO] [stderr] Downloaded metal v0.18.0 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.5 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.4.3 [INFO] [stderr] Downloaded rendy-memory v0.5.2 [INFO] [stderr] Downloaded zerocopy v0.2.8 [INFO] [stderr] Downloaded zerocopy-derive v0.1.4 [INFO] [stderr] Downloaded iced_wgpu v0.2.3 [INFO] [stderr] Downloaded iced_futures v0.1.2 [INFO] [stderr] Downloaded spirv_cross v0.16.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.17.3 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded smithay-clipboard v0.3.7 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded glam v0.8.7 [INFO] [stderr] Downloaded svg_fmt v0.2.1 [INFO] [stderr] Downloaded lyon_geom v0.14.1 [INFO] [stderr] Downloaded rendy-descriptor v0.5.1 [INFO] [stderr] Downloaded clipboard_macos v0.1.0 [INFO] [stderr] Downloaded window_clipboard v0.1.1 [INFO] [stderr] Downloaded iced v0.1.1 [INFO] [stderr] Downloaded servo-fontconfig-sys v4.0.9 [INFO] [stderr] Downloaded wgpu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 451d6b5c9736d132622b96fe837edf588ee609a3b45feea8e1b2fc9029d05e0a [INFO] running `Command { std: "docker" "start" "-a" "451d6b5c9736d132622b96fe837edf588ee609a3b45feea8e1b2fc9029d05e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451d6b5c9736d132622b96fe837edf588ee609a3b45feea8e1b2fc9029d05e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451d6b5c9736d132622b96fe837edf588ee609a3b45feea8e1b2fc9029d05e0a", kill_on_drop: false }` [INFO] [stdout] 451d6b5c9736d132622b96fe837edf588ee609a3b45feea8e1b2fc9029d05e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7538268123fd6a4aa2236089a1d2cc99dd929219dff4ec09989710f786a193a7 [INFO] running `Command { std: "docker" "start" "-a" "7538268123fd6a4aa2236089a1d2cc99dd929219dff4ec09989710f786a193a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling iced_core v0.2.1 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling svg_fmt v0.2.1 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling iced_style v0.1.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling font-kit v0.4.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.3 [INFO] [stderr] Compiling guillotiere v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling clipboard_x11 v0.1.0 [INFO] [stderr] Compiling wgpu-native v0.4.3 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling smithay-clipboard v0.3.7 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling clipboard_wayland v0.1.0 [INFO] [stderr] Compiling window_clipboard v0.1.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling iced_futures v0.1.2 [INFO] [stderr] Compiling iced_native v0.2.2 [INFO] [stderr] Compiling iced_winit v0.1.0 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling wgpu_glyph v0.7.0 [INFO] [stderr] Compiling iced_wgpu v0.2.3 [INFO] [stderr] Compiling iced v0.1.1 [INFO] [stderr] Compiling rust-flashcards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/app.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | default => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/app.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | default => Container::new(Column::new()).into(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let mut content = Column::new() [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `FlashcardState` in public interface (error E0446) [INFO] [stdout] --> src/app.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Flashcard(FlashcardState), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Menu` and `Database` are never constructed [INFO] [stdout] --> src/app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FlashcardApp { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | Menu, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Flashcard(FlashcardState), [INFO] [stdout] 10 | Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct FlashcardState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | index: usize, [INFO] [stdout] 15 | db: Database, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "7538268123fd6a4aa2236089a1d2cc99dd929219dff4ec09989710f786a193a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7538268123fd6a4aa2236089a1d2cc99dd929219dff4ec09989710f786a193a7", kill_on_drop: false }` [INFO] [stdout] 7538268123fd6a4aa2236089a1d2cc99dd929219dff4ec09989710f786a193a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 750e4c50eb234414d67febf3a8d5439e6965c936994fef3cf5622f0f59a7d804 [INFO] running `Command { std: "docker" "start" "-a" "750e4c50eb234414d67febf3a8d5439e6965c936994fef3cf5622f0f59a7d804", kill_on_drop: false }` [INFO] [stderr] Compiling rust-flashcards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/app.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | default => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/app.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | default => Container::new(Column::new()).into(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let mut content = Column::new() [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `FlashcardState` in public interface (error E0446) [INFO] [stdout] --> src/app.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Flashcard(FlashcardState), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Menu` and `Database` are never constructed [INFO] [stdout] --> src/app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FlashcardApp { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | Menu, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Flashcard(FlashcardState), [INFO] [stdout] 10 | Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct FlashcardState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | index: usize, [INFO] [stdout] 15 | db: Database, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "750e4c50eb234414d67febf3a8d5439e6965c936994fef3cf5622f0f59a7d804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750e4c50eb234414d67febf3a8d5439e6965c936994fef3cf5622f0f59a7d804", kill_on_drop: false }` [INFO] [stdout] 750e4c50eb234414d67febf3a8d5439e6965c936994fef3cf5622f0f59a7d804