[INFO] cloning repository https://github.com/Mathieu52/Secret-Santa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mathieu52/Secret-Santa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathieu52%2FSecret-Santa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathieu52%2FSecret-Santa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93e7fd7c5a14ebeb6e0d87fd87cf113a250e4601 [INFO] testing Mathieu52/Secret-Santa against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathieu52%2FSecret-Santa" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mathieu52/Secret-Santa [INFO] finished tweaking git repo https://github.com/Mathieu52/Secret-Santa [INFO] tweaked toml for git repo https://github.com/Mathieu52/Secret-Santa written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mathieu52/Secret-Santa on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mathieu52/Secret-Santa already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded titlecase v2.2.1 [INFO] [stderr] Downloaded joinery v2.1.0 [INFO] [stderr] Downloaded random_name_generator v0.3.6 [INFO] [stderr] Downloaded timing v0.2.3 [INFO] [stderr] Downloaded webbrowser v1.0.3 [INFO] [stderr] Downloaded xml-rs v0.8.24 [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded cc v1.2.3 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] [stderr] Downloaded syn v2.0.89 [INFO] [stderr] Downloaded libc v0.2.165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71aa2e38f041d9bd1df29f22ddf2a7748ef36f5736a1450b96e244f7a0dafdfd [INFO] running `Command { std: "docker" "start" "-a" "71aa2e38f041d9bd1df29f22ddf2a7748ef36f5736a1450b96e244f7a0dafdfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71aa2e38f041d9bd1df29f22ddf2a7748ef36f5736a1450b96e244f7a0dafdfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71aa2e38f041d9bd1df29f22ddf2a7748ef36f5736a1450b96e244f7a0dafdfd", kill_on_drop: false }` [INFO] [stdout] 71aa2e38f041d9bd1df29f22ddf2a7748ef36f5736a1450b96e244f7a0dafdfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14250bfbe394b65ffe3b10ce3815d4f43a3ba125ff725c69803525f991b41fe7 [INFO] running `Command { std: "docker" "start" "-a" "14250bfbe394b65ffe3b10ce3815d4f43a3ba125ff725c69803525f991b41fe7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.165 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling joinery v2.1.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling titlecase v2.2.1 [INFO] [stderr] Compiling png v0.17.15 [INFO] [stderr] Compiling timing v0.2.3 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling random_name_generator v0.3.6 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling SecretSanta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::egui` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use eframe::egui; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::test::run_test` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::test::run_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/secret_santa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/ui.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hovered` [INFO] [stdout] --> src/ui.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/ui.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | fn show_on_search(&self, text: &str, _data: Self::Data<'_>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/ui.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let (selected, header, list_rect) = ListView::new(&participants_copy, ()) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searched_participant` [INFO] [stdout] --> src/ui.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `searched_participant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusions` [INFO] [stdout] --> src/ui.rs:76:56 [INFO] [stdout] | [INFO] [stdout] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `exclusions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | ... let mut hover = old_hovered.contains(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:217:41 [INFO] [stdout] | [INFO] [stdout] 217 | ... let mut interact_area = child_frame [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut old_range_select: RangeSelect = ui.data_mut(|d| d.get_temp(range_select_id)).unwrap_or_default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/listview/item_trait.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn style_normal(&self, frame: &mut Frame) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | Box::new(|cc| Ok(Box::new(SecretSanta::default()))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exclusions_to_adjacency` is never used [INFO] [stdout] --> src/secret_santa.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn exclusions_to_adjacency<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_secret_santa` is never used [INFO] [stdout] --> src/secret_santa.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn generate_secret_santa<'a, C, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_large_exclusions` is never used [INFO] [stdout] --> src/test.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn generate_large_exclusions<'a, T, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_test` is never used [INFO] [stdout] --> src/test.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn run_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner_margin`, `outer_margin`, and `rounding` are never used [INFO] [stdout] --> src/listview/listview.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, W: ItemTrait + Eq + PartialEq + Hash + 'a, L: IntoIterator> ListView<'a, W, L> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn inner_margin(mut self, margin: Margin) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn outer_margin(mut self, margin: Margin) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn rounding(mut self, rounding: Rounding) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_opened` is never used [INFO] [stdout] --> src/listview/listview.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl RangeSelect { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn is_opened(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hovered_text` is never used [INFO] [stdout] --> src/listview/item_trait.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ItemTrait { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 38 | fn hovered_text(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "14250bfbe394b65ffe3b10ce3815d4f43a3ba125ff725c69803525f991b41fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14250bfbe394b65ffe3b10ce3815d4f43a3ba125ff725c69803525f991b41fe7", kill_on_drop: false }` [INFO] [stdout] 14250bfbe394b65ffe3b10ce3815d4f43a3ba125ff725c69803525f991b41fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 986399b0f686ca6a79f95469d8350c6dcf23257c7bc1eb9300b8de0dc72466c1 [INFO] running `Command { std: "docker" "start" "-a" "986399b0f686ca6a79f95469d8350c6dcf23257c7bc1eb9300b8de0dc72466c1", kill_on_drop: false }` [INFO] [stderr] Compiling SecretSanta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::egui` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use eframe::egui; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::test::run_test` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::test::run_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/secret_santa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/ui.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hovered` [INFO] [stdout] --> src/ui.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/ui.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | fn show_on_search(&self, text: &str, _data: Self::Data<'_>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/ui.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let (selected, header, list_rect) = ListView::new(&participants_copy, ()) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searched_participant` [INFO] [stdout] --> src/ui.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `searched_participant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusions` [INFO] [stdout] --> src/ui.rs:76:56 [INFO] [stdout] | [INFO] [stdout] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `exclusions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | ... let mut hover = old_hovered.contains(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:217:41 [INFO] [stdout] | [INFO] [stdout] 217 | ... let mut interact_area = child_frame [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listview/listview.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut old_range_select: RangeSelect = ui.data_mut(|d| d.get_temp(range_select_id)).unwrap_or_default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/listview/item_trait.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn style_normal(&self, frame: &mut Frame) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | Box::new(|cc| Ok(Box::new(SecretSanta::default()))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exclusions_to_adjacency` is never used [INFO] [stdout] --> src/secret_santa.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn exclusions_to_adjacency<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_secret_santa` is never used [INFO] [stdout] --> src/secret_santa.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn generate_secret_santa<'a, C, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_large_exclusions` is never used [INFO] [stdout] --> src/test.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn generate_large_exclusions<'a, T, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_test` is never used [INFO] [stdout] --> src/test.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn run_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner_margin`, `outer_margin`, and `rounding` are never used [INFO] [stdout] --> src/listview/listview.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, W: ItemTrait + Eq + PartialEq + Hash + 'a, L: IntoIterator> ListView<'a, W, L> { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn inner_margin(mut self, margin: Margin) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn outer_margin(mut self, margin: Margin) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn rounding(mut self, rounding: Rounding) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_opened` is never used [INFO] [stdout] --> src/listview/listview.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl RangeSelect { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn is_opened(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hovered_text` is never used [INFO] [stdout] --> src/listview/item_trait.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ItemTrait { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 38 | fn hovered_text(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "986399b0f686ca6a79f95469d8350c6dcf23257c7bc1eb9300b8de0dc72466c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986399b0f686ca6a79f95469d8350c6dcf23257c7bc1eb9300b8de0dc72466c1", kill_on_drop: false }` [INFO] [stdout] 986399b0f686ca6a79f95469d8350c6dcf23257c7bc1eb9300b8de0dc72466c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de7e1c7e18fd33c7b566d00ef069b6e46b95f751775566e1e9d0960914c91e31 [INFO] running `Command { std: "docker" "start" "-a" "de7e1c7e18fd33c7b566d00ef069b6e46b95f751775566e1e9d0960914c91e31", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `eframe::egui` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use eframe::egui; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::test::run_test` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::test::run_test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/secret_santa.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `selected` [INFO] [stderr] --> src/ui.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hovered` [INFO] [stderr] --> src/ui.rs:34:36 [INFO] [stderr] | [INFO] [stderr] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hovered` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/ui.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | fn show(&self, selected: bool, hovered: bool, ctx: &egui::Context, ui: &mut egui::Ui, _data: Self::Data<'_>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/ui.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | fn show_on_search(&self, text: &str, _data: Self::Data<'_>) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/ui.rs:85:32 [INFO] [stderr] | [INFO] [stderr] 85 | let (selected, header, list_rect) = ListView::new(&participants_copy, ()) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `searched_participant` [INFO] [stderr] --> src/ui.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `searched_participant: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `exclusions` [INFO] [stderr] --> src/ui.rs:76:56 [INFO] [stderr] | [INFO] [stderr] 76 | let Self { searched_participant, participants, exclusions } = self; [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `exclusions: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/listview/listview.rs:199:41 [INFO] [stderr] | [INFO] [stderr] 199 | ... let mut hover = old_hovered.contains(&id); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/listview/listview.rs:217:41 [INFO] [stderr] | [INFO] [stderr] 217 | ... let mut interact_area = child_frame [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/listview/listview.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | let mut old_range_select: RangeSelect = ui.data_mut(|d| d.get_temp(range_select_id)).unwrap_or_default(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/listview/item_trait.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | fn style_normal(&self, frame: &mut Frame) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/main.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | Box::new(|cc| Ok(Box::new(SecretSanta::default()))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] [INFO] [stderr] warning: function `exclusions_to_adjacency` is never used [INFO] [stderr] --> src/secret_santa.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | fn exclusions_to_adjacency<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_secret_santa` is never used [INFO] [stderr] --> src/secret_santa.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn generate_secret_santa<'a, C, T>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_large_exclusions` is never used [INFO] [stderr] --> src/test.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn generate_large_exclusions<'a, T, C>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_test` is never used [INFO] [stderr] --> src/test.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn run_test() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `inner_margin`, `outer_margin`, and `rounding` are never used [INFO] [stderr] --> src/listview/listview.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl<'a, W: ItemTrait + Eq + PartialEq + Hash + 'a, L: IntoIterator> ListView<'a, W, L> { [INFO] [stderr] | ----------------------------------------------------------------------------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn inner_margin(mut self, margin: Margin) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn outer_margin(mut self, margin: Margin) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn rounding(mut self, rounding: Rounding) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_opened` is never used [INFO] [stderr] --> src/listview/listview.rs:360:12 [INFO] [stderr] | [INFO] [stderr] 351 | impl RangeSelect { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 360 | pub fn is_opened(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `hovered_text` is never used [INFO] [stderr] --> src/listview/item_trait.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait ItemTrait { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 38 | fn hovered_text(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `SecretSanta` (bin "SecretSanta" test) generated 23 warnings (run `cargo fix --bin "SecretSanta" -p SecretSanta --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/SecretSanta-3583ca40693eca30) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de7e1c7e18fd33c7b566d00ef069b6e46b95f751775566e1e9d0960914c91e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7e1c7e18fd33c7b566d00ef069b6e46b95f751775566e1e9d0960914c91e31", kill_on_drop: false }` [INFO] [stdout] de7e1c7e18fd33c7b566d00ef069b6e46b95f751775566e1e9d0960914c91e31