[INFO] cloning repository https://github.com/Mehjung/snipping_tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mehjung/snipping_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehjung%2Fsnipping_tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehjung%2Fsnipping_tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16cb214fb4c68435c3c6e00563a92d6f6e343b51 [INFO] checking Mehjung/snipping_tool/16cb214fb4c68435c3c6e00563a92d6f6e343b51 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehjung%2Fsnipping_tool" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mehjung/snipping_tool on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mehjung/snipping_tool [INFO] finished tweaking git repo https://github.com/Mehjung/snipping_tool [INFO] tweaked toml for git repo https://github.com/Mehjung/snipping_tool written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mehjung/snipping_tool 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f7de5b0ad0974c9ef0243f8b949d4ad0ecd0941866afc510a05cbb6bf84a2c4 [INFO] running `Command { std: "docker" "start" "-a" "5f7de5b0ad0974c9ef0243f8b949d4ad0ecd0941866afc510a05cbb6bf84a2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f7de5b0ad0974c9ef0243f8b949d4ad0ecd0941866afc510a05cbb6bf84a2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7de5b0ad0974c9ef0243f8b949d4ad0ecd0941866afc510a05cbb6bf84a2c4", kill_on_drop: false }` [INFO] [stdout] 5f7de5b0ad0974c9ef0243f8b949d4ad0ecd0941866afc510a05cbb6bf84a2c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8fdb1621cf760b64f545acbe7e4bb046014ca99b2b9e24e2e43ce19d4a1d2df [INFO] running `Command { std: "docker" "start" "-a" "b8fdb1621cf760b64f545acbe7e4bb046014ca99b2b9e24e2e43ce19d4a1d2df", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking windows-targets v0.52.5 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking windows-result v0.1.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking win_ocr v0.1.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking windows-core v0.56.0 [INFO] [stderr] Checking windows v0.56.0 [INFO] [stderr] Checking ocr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `COLORREF`, `CreateRectRgn`, `D2D1_BITMAP_OPTIONS_CPU_READ`, `D2D1_DEVICE_CONTEXT_OPTIONS_NONE`, `D2D1_UNIT_MODE_PIXELS`, `Dxgi::*`, `ID2D1Bitmap1`, `SetWindowRgn`, and `TRUE` [INFO] [stdout] --> src/modules/direct2d.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | Foundation::{COLORREF, FALSE, HWND, RECT, TRUE}, [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | D2D1CreateFactory, ID2D1Bitmap, ID2D1Bitmap1, ID2D1DeviceContext, ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, D2D1_BITMAP_OPTIONS_CPU_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | D2D1_DEVICE_CONTEXT_OPTIONS_NONE, D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | D2D1_FACTORY_TYPE_SINGLE_THREADED, D2D1_HWND_RENDER_TARGET_PROPERTIES, [INFO] [stdout] 27 | D2D1_RENDER_TARGET_PROPERTIES, D2D1_UNIT_MODE_DIPS, D2D1_UNIT_MODE_PIXELS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Dxgi::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Gdi::{CreateRectRgn, GetUpdateRect, SetWindowRgn, ValidateRect}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/modules/winproc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteObject` and `UpdateWindow` [INFO] [stdout] --> src/modules/winproc.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::{DeleteObject, RedrawWindow, UpdateWindow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COLORREF`, `CreateSolidBrush`, `FALSE`, `FillRect`, `HBRUSH`, `InvalidateRect`, `RDW_INVALIDATE`, `SetBkMode`, `TRANSPARENT`, and `TRUE` [INFO] [stdout] --> src/modules/winproc.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Foundation::{COLORREF, FALSE, HWND, LPARAM, LRESULT, RECT, TRUE, WPARAM}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | BeginPaint, CreateSolidBrush, EndPaint, FillRect, InvalidateRect, SetBkMode, HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 12 | PAINTSTRUCT, RDW_INTERNALPAINT, RDW_INVALIDATE, TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COLORREF`, `CreateRectRgn`, `D2D1_BITMAP_OPTIONS_CPU_READ`, `D2D1_DEVICE_CONTEXT_OPTIONS_NONE`, `D2D1_UNIT_MODE_PIXELS`, `Dxgi::*`, `ID2D1Bitmap1`, `SetWindowRgn`, and `TRUE` [INFO] [stdout] --> src/modules/direct2d.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | Foundation::{COLORREF, FALSE, HWND, RECT, TRUE}, [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | D2D1CreateFactory, ID2D1Bitmap, ID2D1Bitmap1, ID2D1DeviceContext, ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, D2D1_BITMAP_OPTIONS_CPU_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | D2D1_DEVICE_CONTEXT_OPTIONS_NONE, D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | D2D1_FACTORY_TYPE_SINGLE_THREADED, D2D1_HWND_RENDER_TARGET_PROPERTIES, [INFO] [stdout] 27 | D2D1_RENDER_TARGET_PROPERTIES, D2D1_UNIT_MODE_DIPS, D2D1_UNIT_MODE_PIXELS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Dxgi::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Gdi::{CreateRectRgn, GetUpdateRect, SetWindowRgn, ValidateRect}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/modules/winproc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeleteObject` and `UpdateWindow` [INFO] [stdout] --> src/modules/winproc.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Gdi::{DeleteObject, RedrawWindow, UpdateWindow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COLORREF`, `CreateSolidBrush`, `FALSE`, `FillRect`, `HBRUSH`, `InvalidateRect`, `RDW_INVALIDATE`, `SetBkMode`, `TRANSPARENT`, and `TRUE` [INFO] [stdout] --> src/modules/winproc.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Foundation::{COLORREF, FALSE, HWND, LPARAM, LRESULT, RECT, TRUE, WPARAM}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | BeginPaint, CreateSolidBrush, EndPaint, FillRect, InvalidateRect, SetBkMode, HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 12 | PAINTSTRUCT, RDW_INTERNALPAINT, RDW_INVALIDATE, TRANSPARENT, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/direct2d.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn capture_screen_to_bitmap() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/direct2d.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | handle_error("DC error", ExpectedError::Win32, || hdc.0 == 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/direct2d.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn capture_screen_to_bitmap() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/direct2d.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | handle_error("DC error", ExpectedError::Win32, || hdc.0 == 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/win_fact.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | fn create_window(&self, builder: &WindowBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/win_fact.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | / handle_error("Failed to get module handle", ExpectedError::Win32, || { [INFO] [stdout] 170 | | instance.0 == 0 [INFO] [stdout] 171 | | })?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/win_fact.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | fn create_window(&self, builder: &WindowBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/win_fact.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | / handle_error("Failed to get module handle", ExpectedError::Win32, || { [INFO] [stdout] 170 | | instance.0 == 0 [INFO] [stdout] 171 | | })?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/win_fact.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | fn create_window(&self, builder: &WindowBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/win_fact.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / handle_error( [INFO] [stdout] 253 | | "Changing Window Attributes failed", [INFO] [stdout] 254 | | ExpectedError::Win32, [INFO] [stdout] 255 | | || window.make_transparent().is_err(), [INFO] [stdout] 256 | | )?; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/modules/win_fact.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | fn create_window(&self, builder: &WindowBuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/modules/win_fact.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / handle_error( [INFO] [stdout] 253 | | "Changing Window Attributes failed", [INFO] [stdout] 254 | | ExpectedError::Win32, [INFO] [stdout] 255 | | || window.make_transparent().is_err(), [INFO] [stdout] 256 | | )?; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hr` [INFO] [stdout] --> src/modules/direct2d.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let hr = unsafe { self.swapchain.Present(4, 0) }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hr` [INFO] [stdout] --> src/modules/direct2d.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let hr = unsafe { self.swapchain.Present(4, 0) }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hdc` [INFO] [stdout] --> src/modules/winproc.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let hdc = BeginPaint(window, &mut ps); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hdc` [INFO] [stdout] --> src/modules/winproc.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let hdc = BeginPaint(window, &mut ps); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hdc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_updated_area` is never used [INFO] [stdout] --> src/modules/direct2d.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn draw_updated_area(win: HWND) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prop1` and `prop2` are never read [INFO] [stdout] --> src/modules/direct2d.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 148 | struct Direct2DFactory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 149 | factory: ID2D1Factory, [INFO] [stdout] 150 | prop1: D2D1_RENDER_TARGET_PROPERTIES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | prop2: D2D1_HWND_RENDER_TARGET_PROPERTIES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bitmap` is never read [INFO] [stdout] --> src/modules/direct2d.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct BitmapConverter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 198 | bitmap: IWICBitmap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nrwt` is never read [INFO] [stdout] --> src/modules/direct2d.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 238 | nrwt: ID2D1RenderTarget, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_updated_area` is never used [INFO] [stdout] --> src/modules/direct2d.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn draw_updated_area(&self, window: HWND) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hwnd`, `set_foreground`, `set_position`, and `draw_updated_area` are never used [INFO] [stdout] --> src/modules/win_fact.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Window { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 31 | pub fn get_hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_foreground(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_position(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn draw_updated_area(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Main` is never constructed [INFO] [stdout] --> src/modules/win_fact.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub enum WindowType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 309 | Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = TranslateMessage(&msg); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | let Direct2DFactory { rwt, .. } = Direct2DFactory::new(win, None, None)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let renderer = Renderer::new(rwt, win, 0, 0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | [INFO] [stdout] 98 | renderer?.draw_updated_area(win) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_updated_area` is never used [INFO] [stdout] --> src/modules/direct2d.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn draw_updated_area(win: HWND) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prop1` and `prop2` are never read [INFO] [stdout] --> src/modules/direct2d.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 148 | struct Direct2DFactory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 149 | factory: ID2D1Factory, [INFO] [stdout] 150 | prop1: D2D1_RENDER_TARGET_PROPERTIES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | prop2: D2D1_HWND_RENDER_TARGET_PROPERTIES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bitmap` is never read [INFO] [stdout] --> src/modules/direct2d.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct BitmapConverter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 198 | bitmap: IWICBitmap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nrwt` is never read [INFO] [stdout] --> src/modules/direct2d.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 238 | nrwt: ID2D1RenderTarget, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | renderer.draw_bitmap(&bmps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = renderer.draw_bitmap(&bmps); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_updated_area` is never used [INFO] [stdout] --> src/modules/direct2d.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn draw_updated_area(&self, window: HWND) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 142 | let Direct2DFactory { rwt, .. } = Direct2DFactory::new(win, Some(width), Some(height))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let renderer = Renderer::new(rwt, win, width, height); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | [INFO] [stdout] 145 | renderer?.draw_rectangle(start, end) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_hwnd`, `set_foreground`, `set_position`, and `draw_updated_area` are never used [INFO] [stdout] --> src/modules/win_fact.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Window { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 31 | pub fn get_hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_foreground(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_position(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn draw_updated_area(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 157 | let factory: ID2D1Factory = unsafe { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let rwt = unsafe { factory.CreateHwndRenderTarget(&prop1, &prop2)? }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | [INFO] [stdout] 188 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 189 | | factory, [INFO] [stdout] 190 | | prop1, [INFO] [stdout] 191 | | prop2, [INFO] [stdout] 192 | | rwt, [INFO] [stdout] 193 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Main` is never constructed [INFO] [stdout] --> src/modules/win_fact.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub enum WindowType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 309 | Main, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 206 | let bitmap = unsafe { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | let converter = unsafe { hr.CreateFormatConverter()? }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 226 | | bitmap, [INFO] [stdout] 227 | | converter, [INFO] [stdout] 228 | | width, [INFO] [stdout] 229 | | height, [INFO] [stdout] 230 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = TranslateMessage(&msg); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | let Direct2DFactory { rwt, .. } = Direct2DFactory::new(win, None, None)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let renderer = Renderer::new(rwt, win, 0, 0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | [INFO] [stdout] 98 | renderer?.draw_updated_area(win) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 247 | rwt: ID2D1HwndRenderTarget, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let device = create_device()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let swapchain = create_swapchain(&device, window)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | let surface = create_dxgi_surface(&swapchain)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | let fac = Direct2DFactory::new(window, Some(width), Some(height))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let factory = fac.factory; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let nrwt = create_d2d_render_target(&factory, &surface)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | [INFO] [stdout] 259 | let target = create_render_target(&factory.cast()?, &device)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 271 | | rwt, [INFO] [stdout] 272 | | nrwt, [INFO] [stdout] 273 | | target, [INFO] [stdout] 274 | | srect, [INFO] [stdout] 275 | | swapchain: swapchain.clone(), [INFO] [stdout] 276 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | renderer.draw_bitmap(&bmps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = renderer.draw_bitmap(&bmps); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | GetUpdateRect(window, Some(&mut rect), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = GetUpdateRect(window, Some(&mut rect), FALSE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 142 | let Direct2DFactory { rwt, .. } = Direct2DFactory::new(win, Some(width), Some(height))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let renderer = Renderer::new(rwt, win, width, height); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | [INFO] [stdout] 145 | renderer?.draw_rectangle(start, end) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | ValidateRect(window, Some(&mut rect)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 297 | let _ = ValidateRect(window, Some(&mut rect)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 157 | let factory: ID2D1Factory = unsafe { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let rwt = unsafe { factory.CreateHwndRenderTarget(&prop1, &prop2)? }; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | [INFO] [stdout] 188 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 189 | | factory, [INFO] [stdout] 190 | | prop1, [INFO] [stdout] 191 | | prop2, [INFO] [stdout] 192 | | rwt, [INFO] [stdout] 193 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | SetForegroundWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = SetForegroundWindow(self.hwnd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | SetWindowPos(self.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = SetWindowPos(self.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 206 | let bitmap = unsafe { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | let converter = unsafe { hr.CreateFormatConverter()? }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 226 | | bitmap, [INFO] [stdout] 227 | | converter, [INFO] [stdout] 228 | | width, [INFO] [stdout] 229 | | height, [INFO] [stdout] 230 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ShowWindow(self.hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = ShowWindow(self.hwnd, SW_HIDE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | draw_updated_area(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = draw_updated_area(self.hwnd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | draw_rectangle(self.hwnd, start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = draw_rectangle(self.hwnd, start, end); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/win_fact.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | || window.make_transparent().is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | Lazy::new(|| Arc::new(WindowController::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | .ok_or_else(|| throw_error::<()>("Invalid window type").unwrap_err()) // korrekter Gebrauch von throw_error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/direct2d.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 247 | rwt: ID2D1HwndRenderTarget, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let device = create_device()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let swapchain = create_swapchain(&device, window)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | let surface = create_dxgi_surface(&swapchain)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | let fac = Direct2DFactory::new(window, Some(width), Some(height))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let factory = fac.factory; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let nrwt = create_d2d_render_target(&factory, &surface)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | [INFO] [stdout] 259 | let target = create_render_target(&factory.cast()?, &device)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 271 | | rwt, [INFO] [stdout] 272 | | nrwt, [INFO] [stdout] 273 | | target, [INFO] [stdout] 274 | | srect, [INFO] [stdout] 275 | | swapchain: swapchain.clone(), [INFO] [stdout] 276 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | .map_err(|_| throw_error::<()>("Failed to lock window mutex").unwrap_err()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/winproc.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... RedrawWindow(window, Some(&rect), None, RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = RedrawWindow(window, Some(&rect), None, RDW_INTERNALPAINT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | GetUpdateRect(window, Some(&mut rect), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = GetUpdateRect(window, Some(&mut rect), FALSE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/direct2d.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | ValidateRect(window, Some(&mut rect)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 297 | let _ = ValidateRect(window, Some(&mut rect)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | SetForegroundWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = SetForegroundWindow(self.hwnd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | SetWindowPos(self.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = SetWindowPos(self.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ShowWindow(self.hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = ShowWindow(self.hwnd, SW_HIDE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | draw_updated_area(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = draw_updated_area(self.hwnd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | draw_rectangle(self.hwnd, start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = draw_rectangle(self.hwnd, start, end); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/win_fact.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = ShowWindow(self.hwnd, SW_SHOW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/win_fact.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | || window.make_transparent().is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | Lazy::new(|| Arc::new(WindowController::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | .ok_or_else(|| throw_error::<()>("Invalid window type").unwrap_err()) // korrekter Gebrauch von throw_error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modules/window_controller.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | .map_err(|_| throw_error::<()>("Failed to lock window mutex").unwrap_err()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `BOOL` that must be used [INFO] [stdout] --> src/modules/winproc.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... RedrawWindow(window, Some(&rect), None, RDW_INTERNALPAINT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = RedrawWindow(window, Some(&rect), None, RDW_INTERNALPAINT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ocr` (bin "ocr" test) due to 10 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ocr` (bin "ocr") due to 10 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8fdb1621cf760b64f545acbe7e4bb046014ca99b2b9e24e2e43ce19d4a1d2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fdb1621cf760b64f545acbe7e4bb046014ca99b2b9e24e2e43ce19d4a1d2df", kill_on_drop: false }` [INFO] [stdout] b8fdb1621cf760b64f545acbe7e4bb046014ca99b2b9e24e2e43ce19d4a1d2df