[INFO] fetching crate libobs 0.1.3... [INFO] checking libobs-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libobs 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libobs 0.1.3 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 crates.io crate libobs 0.1.3 [INFO] finished tweaking crates.io crate libobs 0.1.3 [INFO] tweaked toml for crates.io crate libobs 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (latest: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding quick-xml v0.30.0 (latest: v0.36.1) [INFO] [stderr] Adding quick-xml v0.34.0 (latest: v0.36.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding smithay-client-toolkit v0.18.1 (latest: v0.19.2) [INFO] [stderr] Adding wayland-protocols v0.31.2 (latest: v0.32.3) [INFO] [stderr] Adding wayland-protocols-wlr v0.2.0 (latest: v0.3.3) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows v0.56.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.56.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-implement v0.56.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-interface v0.56.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-result v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 770ad86c84a56e2e70ffb92d6d05c9a29ad05fc0ca045db522af103acebfc139 [INFO] running `Command { std: "docker" "start" "-a" "770ad86c84a56e2e70ffb92d6d05c9a29ad05fc0ca045db522af103acebfc139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770ad86c84a56e2e70ffb92d6d05c9a29ad05fc0ca045db522af103acebfc139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770ad86c84a56e2e70ffb92d6d05c9a29ad05fc0ca045db522af103acebfc139", kill_on_drop: false }` [INFO] [stdout] 770ad86c84a56e2e70ffb92d6d05c9a29ad05fc0ca045db522af103acebfc139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b8a88dd9aca426eac703f4be4bedf83956d3d477991bfd9ee44af06db09d911f [INFO] running `Command { std: "docker" "start" "-a" "b8a88dd9aca426eac703f4be4bedf83956d3d477991bfd9ee44af06db09d911f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling xcb v1.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Compiling libobs v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking display-info v0.5.1 [INFO] [stdout] warning: unused import: `obs_output_start` [INFO] [stdout] --> src/wrapper/obstypes.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{audio_output, obs_audio_info, obs_audio_info2, obs_data, obs_encoder, obs_output, obs_output_start, obs_source, obs_video_inf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `obs_output_start` [INFO] [stdout] --> src/wrapper/obstypes.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{audio_output, obs_audio_info, obs_audio_info2, obs_data, obs_encoder, obs_output, obs_output_start, obs_source, obs_video_inf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wrapper/obstypes.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | _ => ObsString::new("obs_x264"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wrapper/obstypes.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1026 | ObsVideoEncoderType::JIM_AV1 => ObsString::new("jim_av1"), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 1027 | ObsVideoEncoderType::JIM_NVENC => ObsString::new("jim_nvenc"), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 1028 | ObsVideoEncoderType::FFMPEG_NVENC => ObsString::new("ffmpeg_nvenc"), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 1029 | ObsVideoEncoderType::AMD_AMF_AV1 => ObsString::new("amd_amf_av1"), [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1034 | _ => ObsString::new("obs_x264"), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wrapper/obstypes.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | _ => ObsString::new("obs_x264"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wrapper/obstypes.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1026 | ObsVideoEncoderType::JIM_AV1 => ObsString::new("jim_av1"), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 1027 | ObsVideoEncoderType::JIM_NVENC => ObsString::new("jim_nvenc"), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 1028 | ObsVideoEncoderType::FFMPEG_NVENC => ObsString::new("ffmpeg_nvenc"), [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 1029 | ObsVideoEncoderType::AMD_AMF_AV1 => ObsString::new("amd_amf_av1"), [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1034 | _ => ObsString::new("obs_x264"), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ObsAudioInfo2` is never used [INFO] [stdout] --> src/wrapper/obstypes.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | pub type ObsAudioInfo2 = obs_audio_info2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 693 | pub struct ObsOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 694 | output: *mut obs_output, [INFO] [stdout] 695 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 696 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 697 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 698 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 872 | pub struct ObsVideoEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 873 | encoder: *mut obs_encoder, [INFO] [stdout] 874 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 875 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 876 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 877 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsVideoEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 934 | pub struct ObsAudioEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 935 | encoder: *mut obs_encoder, [INFO] [stdout] 936 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 937 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 938 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 939 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsAudioEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:1042:5 [INFO] [stdout] | [INFO] [stdout] 1040 | pub struct ObsSource { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1041 | source: *mut obs_source, [INFO] [stdout] 1042 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 1043 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1044 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1045 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsSource` has a derived impl for the trait `Debug`, 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/wrapper/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 112 | fn init(mut info: StartupInfo) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let locale_str = ObsString::new("en-US"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | locale: locale_str, [INFO] [stdout] 166 | | startup_info: info, [INFO] [stdout] 167 | | outputs: vec![], [INFO] [stdout] 168 | | _context_shutdown_zst: _ObsContextShutdownZST {}, [INFO] [stdout] 169 | | }) [INFO] [stdout] | |_________^ [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/wrapper/obstypes.rs:747:12 [INFO] [stdout] | [INFO] [stdout] 706 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 747 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 748 | | output, [INFO] [stdout] 749 | | id, [INFO] [stdout] 750 | | name, [INFO] [stdout] ... | [INFO] [stdout] 755 | | sources: vec![], [INFO] [stdout] 756 | | }) [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/wrapper/obstypes.rs:913:12 [INFO] [stdout] | [INFO] [stdout] 882 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 883 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 884 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 885 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 886 | ) -> Result { [INFO] [stdout] 887 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 888 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 913 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 914 | | encoder, [INFO] [stdout] 915 | | id, [INFO] [stdout] 916 | | name, [INFO] [stdout] 917 | | settings, [INFO] [stdout] 918 | | hotkey_data, [INFO] [stdout] 919 | | }) [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/wrapper/obstypes.rs:977:12 [INFO] [stdout] | [INFO] [stdout] 944 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 945 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 946 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 947 | mixer_idx: usize, [INFO] [stdout] 948 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 949 | ) -> Result { [INFO] [stdout] 950 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 951 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 977 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 978 | | encoder, [INFO] [stdout] 979 | | id, [INFO] [stdout] 980 | | name, [INFO] [stdout] 981 | | settings, [INFO] [stdout] 982 | | hotkey_data, [INFO] [stdout] 983 | | }) [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/wrapper/obstypes.rs:1081:12 [INFO] [stdout] | [INFO] [stdout] 1050 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1051 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1053 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1054 | ) -> Result { [INFO] [stdout] 1055 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1056 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1081 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1082 | | source, [INFO] [stdout] 1083 | | id, [INFO] [stdout] 1084 | | name, [INFO] [stdout] 1085 | | settings, [INFO] [stdout] 1086 | | hotkey_data, [INFO] [stdout] 1087 | | }) [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 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ObsAudioInfo2` is never used [INFO] [stdout] --> src/wrapper/obstypes.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | pub type ObsAudioInfo2 = obs_audio_info2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 693 | pub struct ObsOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 694 | output: *mut obs_output, [INFO] [stdout] 695 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 696 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 697 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 698 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 872 | pub struct ObsVideoEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 873 | encoder: *mut obs_encoder, [INFO] [stdout] 874 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 875 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 876 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 877 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsVideoEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 934 | pub struct ObsAudioEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 935 | encoder: *mut obs_encoder, [INFO] [stdout] 936 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 937 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 938 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 939 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsAudioEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `settings`, and `hotkey_data` are never read [INFO] [stdout] --> src/wrapper/obstypes.rs:1042:5 [INFO] [stdout] | [INFO] [stdout] 1040 | pub struct ObsSource { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1041 | source: *mut obs_source, [INFO] [stdout] 1042 | id: ObsString, [INFO] [stdout] | ^^ [INFO] [stdout] 1043 | name: ObsString, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1044 | settings: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1045 | hotkey_data: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObsSource` has a derived impl for the trait `Debug`, 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/wrapper/mod.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 112 | fn init(mut info: StartupInfo) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let locale_str = ObsString::new("en-US"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | locale: locale_str, [INFO] [stdout] 166 | | startup_info: info, [INFO] [stdout] 167 | | outputs: vec![], [INFO] [stdout] 168 | | _context_shutdown_zst: _ObsContextShutdownZST {}, [INFO] [stdout] 169 | | }) [INFO] [stdout] | |_________^ [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] [stderr] error: could not compile `libobs` (lib test) due to 6 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/wrapper/obstypes.rs:747:12 [INFO] [stdout] | [INFO] [stdout] 706 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 722 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 747 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 748 | | output, [INFO] [stdout] 749 | | id, [INFO] [stdout] 750 | | name, [INFO] [stdout] ... | [INFO] [stdout] 755 | | sources: vec![], [INFO] [stdout] 756 | | }) [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/wrapper/obstypes.rs:913:12 [INFO] [stdout] | [INFO] [stdout] 882 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 883 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 884 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 885 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 886 | ) -> Result { [INFO] [stdout] 887 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 888 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 913 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 914 | | encoder, [INFO] [stdout] 915 | | id, [INFO] [stdout] 916 | | name, [INFO] [stdout] 917 | | settings, [INFO] [stdout] 918 | | hotkey_data, [INFO] [stdout] 919 | | }) [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/wrapper/obstypes.rs:977:12 [INFO] [stdout] | [INFO] [stdout] 944 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 945 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 946 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 947 | mixer_idx: usize, [INFO] [stdout] 948 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 949 | ) -> Result { [INFO] [stdout] 950 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 951 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 977 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 978 | | encoder, [INFO] [stdout] 979 | | id, [INFO] [stdout] 980 | | name, [INFO] [stdout] 981 | | settings, [INFO] [stdout] 982 | | hotkey_data, [INFO] [stdout] 983 | | }) [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/wrapper/obstypes.rs:1081:12 [INFO] [stdout] | [INFO] [stdout] 1050 | id: impl Into, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1051 | name: impl Into, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | settings: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1053 | hotkey_data: Option [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1054 | ) -> Result { [INFO] [stdout] 1055 | let id = id.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1056 | let name = name.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1081 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1082 | | source, [INFO] [stdout] 1083 | | id, [INFO] [stdout] 1084 | | name, [INFO] [stdout] 1085 | | settings, [INFO] [stdout] 1086 | | hotkey_data, [INFO] [stdout] 1087 | | }) [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 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libobs` (lib) due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8a88dd9aca426eac703f4be4bedf83956d3d477991bfd9ee44af06db09d911f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a88dd9aca426eac703f4be4bedf83956d3d477991bfd9ee44af06db09d911f", kill_on_drop: false }` [INFO] [stdout] b8a88dd9aca426eac703f4be4bedf83956d3d477991bfd9ee44af06db09d911f