[INFO] cloning repository https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoumyaRanjanPatnaik%2FVirtualDesktopQuest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoumyaRanjanPatnaik%2FVirtualDesktopQuest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0aa5defbf4c976b488cf461a9cca13a850e5d90 [INFO] checking SoumyaRanjanPatnaik/VirtualDesktopQuest/b0aa5defbf4c976b488cf461a9cca13a850e5d90 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%2FSoumyaRanjanPatnaik%2FVirtualDesktopQuest" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest 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/SoumyaRanjanPatnaik/VirtualDesktopQuest [INFO] finished tweaking git repo https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest [INFO] tweaked toml for git repo https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SoumyaRanjanPatnaik/VirtualDesktopQuest 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f13bc48549439c72db27ae38c000d8c21dece60abb36c38f86d9fb699f8b7b94 [INFO] running `Command { std: "docker" "start" "-a" "f13bc48549439c72db27ae38c000d8c21dece60abb36c38f86d9fb699f8b7b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f13bc48549439c72db27ae38c000d8c21dece60abb36c38f86d9fb699f8b7b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13bc48549439c72db27ae38c000d8c21dece60abb36c38f86d9fb699f8b7b94", kill_on_drop: false }` [INFO] [stdout] f13bc48549439c72db27ae38c000d8c21dece60abb36c38f86d9fb699f8b7b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7cd1917b1592774e4eee2b99ce6c8ff7aef415325e99f1b2a6f72e94ef2ce9e8 [INFO] running `Command { std: "docker" "start" "-a" "7cd1917b1592774e4eee2b99ce6c8ff7aef415325e99f1b2a6f72e94ef2ce9e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.17.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling derive_is_enum_variant v0.1.1 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking xkbcommon v0.5.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking wayland-protocols v0.30.0 [INFO] [stderr] Checking wayland-cursor v0.30.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking screencapture v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::__interfaces::ZWLR_SCREENCOPY_MANAGER_V1_INTERFACE` [INFO] [stdout] --> src/frame_capturers/wayland_roots/backend.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use wayland_protocols_wlr::screencopy::v1::client::__interfaces::ZWLR_SCREENCOPY_MANAGER_V1_INTERFACE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/frame_capturers/wayland_roots/backend.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/types.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::__interfaces::ZWLR_SCREENCOPY_MANAGER_V1_INTERFACE` [INFO] [stdout] --> src/frame_capturers/wayland_roots/backend.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use wayland_protocols_wlr::screencopy::v1::client::__interfaces::ZWLR_SCREENCOPY_MANAGER_V1_INTERFACE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/frame_capturers/wayland_roots/backend.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/types.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/types.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn errored(&mut self, error: Box) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capture` and `capture_all_outputs` are never used [INFO] [stdout] --> src/traits.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AudioCaptureBackend { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 6 | fn capture(&mut self, identifier: String) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | fn capture_all_outputs(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capture_all_outputs` and `stop_capture` are never used [INFO] [stdout] --> src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait FrameCaptureBackend { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn capture_all_outputs(&mut self, r#type: CaptureType) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn stop_capture(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/types.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum CapturerStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapturerStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `errored` are never used [INFO] [stdout] --> src/types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CapturerStatus { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn reset(&mut self) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn errored(&mut self, error: Box) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Frame` is never constructed [INFO] [stdout] --> src/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum CaptureType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 133 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/types.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn errored(&mut self, error: Box) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/frame_capturers/wayland_roots/backend.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | let connection = Connection::connect_to_env()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let (global_list, mut event_queue) = [INFO] [stdout] | ----------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | registry_queue_init::(&connection).unwrap(); [INFO] [stdout] 27 | let qh = event_queue.handle(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let mut state = CapturerState::new(global_list, &qh)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | event_queue.roundtrip(&mut state)?; [INFO] [stdout] 32 | Ok(Self { event_queue, state }) [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] | [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/frame_capturers/wayland_roots/state.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(global_list: GlobalList, qh: &QueueHandle) -> Result> [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let output_state = OutputState::new(&global_list, qh); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let registry_state = RegistryState::new(&global_list); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let shm = Shm::bind(&global_list, qh)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let shm_pool = MultiPool::new(&shm)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let output_buffers = HashMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let status = CapturerStatus::NotStarted; [INFO] [stdout] 59 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | status, [INFO] [stdout] 61 | | global_list, [INFO] [stdout] 62 | | output_state, [INFO] [stdout] ... | [INFO] [stdout] 66 | | output_buffers, [INFO] [stdout] 67 | | }) [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] | [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/virtual_desktop/manager.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | let frame_capturer: Box = match session_type.as_str() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | "wayland" => { [INFO] [stdout] 18 | let wlr_backend = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Manager { frame_capturer }) [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: methods `capture` and `capture_all_outputs` are never used [INFO] [stdout] --> src/traits.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AudioCaptureBackend { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 6 | fn capture(&mut self, identifier: String) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | fn capture_all_outputs(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capture_all_outputs` and `stop_capture` are never used [INFO] [stdout] --> src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait FrameCaptureBackend { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn capture_all_outputs(&mut self, r#type: CaptureType) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn stop_capture(&mut self) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/types.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum CapturerStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapturerStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `errored` are never used [INFO] [stdout] --> src/types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CapturerStatus { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn reset(&mut self) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn errored(&mut self, error: Box) -> Result<(), CapturerError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Frame` is never constructed [INFO] [stdout] --> src/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum CaptureType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 133 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureType` has derived impls for the traits `Clone` and `Debug`, but these are 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/frame_capturers/wayland_roots/backend.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | let connection = Connection::connect_to_env()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let (global_list, mut event_queue) = [INFO] [stdout] | ----------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | registry_queue_init::(&connection).unwrap(); [INFO] [stdout] 27 | let qh = event_queue.handle(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let mut state = CapturerState::new(global_list, &qh)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | event_queue.roundtrip(&mut state)?; [INFO] [stdout] 32 | Ok(Self { event_queue, state }) [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] | [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/frame_capturers/wayland_roots/state.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(global_list: GlobalList, qh: &QueueHandle) -> Result> [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let output_state = OutputState::new(&global_list, qh); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let registry_state = RegistryState::new(&global_list); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let shm = Shm::bind(&global_list, qh)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let shm_pool = MultiPool::new(&shm)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let output_buffers = HashMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let status = CapturerStatus::NotStarted; [INFO] [stdout] 59 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | status, [INFO] [stdout] 61 | | global_list, [INFO] [stdout] 62 | | output_state, [INFO] [stdout] ... | [INFO] [stdout] 66 | | output_buffers, [INFO] [stdout] 67 | | }) [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] | [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 3 previous errors; 9 warnings emitted [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/virtual_desktop/manager.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | let frame_capturer: Box = match session_type.as_str() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | "wayland" => { [INFO] [stdout] 18 | let wlr_backend = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Manager { frame_capturer }) [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 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `screencapture` (bin "screencapture" test) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `screencapture` (bin "screencapture") due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7cd1917b1592774e4eee2b99ce6c8ff7aef415325e99f1b2a6f72e94ef2ce9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd1917b1592774e4eee2b99ce6c8ff7aef415325e99f1b2a6f72e94ef2ce9e8", kill_on_drop: false }` [INFO] [stdout] 7cd1917b1592774e4eee2b99ce6c8ff7aef415325e99f1b2a6f72e94ef2ce9e8