[INFO] cloning repository https://github.com/owhite7128/win-recorder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/owhite7128/win-recorder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowhite7128%2Fwin-recorder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowhite7128%2Fwin-recorder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25ac98634627aee12db25b8b1265f38005ae7c0a [INFO] checking owhite7128/win-recorder against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowhite7128%2Fwin-recorder" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/owhite7128/win-recorder on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/owhite7128/win-recorder [INFO] finished tweaking git repo https://github.com/owhite7128/win-recorder [INFO] tweaked toml for git repo https://github.com/owhite7128/win-recorder written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/owhite7128/win-recorder 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30acc21d4c252077faf8b69de5fa18fb09319f7304a8bc59ddec3f71f34f20bd [INFO] running `Command { std: "docker" "start" "-a" "30acc21d4c252077faf8b69de5fa18fb09319f7304a8bc59ddec3f71f34f20bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30acc21d4c252077faf8b69de5fa18fb09319f7304a8bc59ddec3f71f34f20bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30acc21d4c252077faf8b69de5fa18fb09319f7304a8bc59ddec3f71f34f20bd", kill_on_drop: false }` [INFO] [stdout] 30acc21d4c252077faf8b69de5fa18fb09319f7304a8bc59ddec3f71f34f20bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e7afdd179b6db831f5edace0ab8138c7197aa9de738d1b5cfc12e9ddb3ec8f [INFO] running `Command { std: "docker" "start" "-a" "e8e7afdd179b6db831f5edace0ab8138c7197aa9de738d1b5cfc12e9ddb3ec8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking spin_sleep v1.2.0 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling windows-implement v0.48.0 [INFO] [stderr] Compiling windows-interface v0.48.0 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Checking win-recorder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut nv12_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut output_slice = std::slice::from_mut(&mut output); [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/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut nv12_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut output_slice = std::slice::from_mut(&mut output); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | let device: IMMDevice = enumerator.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | let device: IMMDevice = enumerator.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_video_handle` is never read [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `process_handle` is never read [INFO] [stdout] --> src/main.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_audio_handle` is never read [INFO] [stdout] --> src/main.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_video_handle` is never read [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `process_handle` is never read [INFO] [stdout] --> src/main.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_audio_handle` is never read [INFO] [stdout] --> src/main.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedToStop` is never constructed [INFO] [stdout] --> src/main.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 821 | enum RecorderError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 827 | FailedToStop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecorderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_configs` is never used [INFO] [stdout] --> src/main.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 850 | impl Recorder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn set_configs(&self, fps_den: Option, fps_num: Option, screen_width: Option, screen_height: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedToStop` is never constructed [INFO] [stdout] --> src/main.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 821 | enum RecorderError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 827 | FailedToStop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecorderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_configs` is never used [INFO] [stdout] --> src/main.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 850 | impl Recorder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn set_configs(&self, fps_den: Option, fps_num: Option, screen_width: Option, screen_height: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.33s [INFO] running `Command { std: "docker" "inspect" "e8e7afdd179b6db831f5edace0ab8138c7197aa9de738d1b5cfc12e9ddb3ec8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e7afdd179b6db831f5edace0ab8138c7197aa9de738d1b5cfc12e9ddb3ec8f", kill_on_drop: false }` [INFO] [stdout] e8e7afdd179b6db831f5edace0ab8138c7197aa9de738d1b5cfc12e9ddb3ec8f [INFO] checking owhite7128/win-recorder against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowhite7128%2Fwin-recorder" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/owhite7128/win-recorder on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/owhite7128/win-recorder [INFO] finished tweaking git repo https://github.com/owhite7128/win-recorder [INFO] tweaked toml for git repo https://github.com/owhite7128/win-recorder written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/owhite7128/win-recorder 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eab99a2264db55e57ba734730122516f5395574dcf942d50f1f32f9409e052c5 [INFO] running `Command { std: "docker" "start" "-a" "eab99a2264db55e57ba734730122516f5395574dcf942d50f1f32f9409e052c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eab99a2264db55e57ba734730122516f5395574dcf942d50f1f32f9409e052c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab99a2264db55e57ba734730122516f5395574dcf942d50f1f32f9409e052c5", kill_on_drop: false }` [INFO] [stdout] eab99a2264db55e57ba734730122516f5395574dcf942d50f1f32f9409e052c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07659eabce420b8ebc9c40f02d448c934659a85cdf42f0772bca0e2d4c83cab9 [INFO] running `Command { std: "docker" "start" "-a" "07659eabce420b8ebc9c40f02d448c934659a85cdf42f0772bca0e2d4c83cab9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking spin_sleep v1.2.0 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling windows-interface v0.48.0 [INFO] [stderr] Compiling windows-implement v0.48.0 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Checking win-recorder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut nv12_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut nv12_desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut output_slice = std::slice::from_mut(&mut output); [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/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut output_slice = std::slice::from_mut(&mut output); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | let device: IMMDevice = enumerator.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | let device: IMMDevice = enumerator.GetDefaultAudioEndpoint(eRender, eConsole)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_video_handle` is never read [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `process_handle` is never read [INFO] [stdout] --> src/main.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_audio_handle` is never read [INFO] [stdout] --> src/main.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_video_handle` is never read [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `process_handle` is never read [INFO] [stdout] --> src/main.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect_audio_handle` is never read [INFO] [stdout] --> src/main.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedToStop` is never constructed [INFO] [stdout] --> src/main.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 821 | enum RecorderError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 827 | FailedToStop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecorderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_configs` is never used [INFO] [stdout] --> src/main.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 850 | impl Recorder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn set_configs(&self, fps_den: Option, fps_num: Option, screen_width: Option, screen_height: Option) { [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/main.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 199 | let mut texture: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let texture = texture.unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let dxgi_resource: IDXGIResource = texture.cast()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | [INFO] [stdout] 209 | Ok((texture, dxgi_resource)) [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: variant `FailedToStop` is never constructed [INFO] [stdout] --> src/main.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 821 | enum RecorderError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 827 | FailedToStop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecorderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_configs` is never used [INFO] [stdout] --> src/main.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 850 | impl Recorder { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn set_configs(&self, fps_den: Option, fps_num: Option, screen_width: Option, screen_height: Option) { [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/main.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 696 | let recording = Arc::new(AtomicBool::new(true)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 766 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 767 | | recording, [INFO] [stdout] 768 | | collect_video_handle: RefCell::new(collect_video_handle), [INFO] [stdout] 769 | | process_handle: RefCell::new(process_handle), [INFO] [stdout] 770 | | collect_audio_handle: RefCell::new(collect_audio_handle), [INFO] [stdout] 771 | | }) [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/main.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 199 | let mut texture: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let texture = texture.unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let dxgi_resource: IDXGIResource = texture.cast()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | [INFO] [stdout] 209 | Ok((texture, dxgi_resource)) [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/main.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 696 | let recording = Arc::new(AtomicBool::new(true)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 697 | let mut collect_video_handle: Option>> = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 698 | let mut process_handle: Option>> = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 699 | let mut collect_audio_handle: Option>> = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 766 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 767 | | recording, [INFO] [stdout] 768 | | collect_video_handle: RefCell::new(collect_video_handle), [INFO] [stdout] 769 | | process_handle: RefCell::new(process_handle), [INFO] [stdout] 770 | | collect_audio_handle: RefCell::new(collect_audio_handle), [INFO] [stdout] 771 | | }) [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: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win-recorder` (bin "win-recorder" test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `win-recorder` (bin "win-recorder") due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07659eabce420b8ebc9c40f02d448c934659a85cdf42f0772bca0e2d4c83cab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07659eabce420b8ebc9c40f02d448c934659a85cdf42f0772bca0e2d4c83cab9", kill_on_drop: false }` [INFO] [stdout] 07659eabce420b8ebc9c40f02d448c934659a85cdf42f0772bca0e2d4c83cab9