[INFO] cloning repository https://github.com/D3fus/jellydesktop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/D3fus/jellydesktop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD3fus%2Fjellydesktop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD3fus%2Fjellydesktop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24420d3da96a91bd74426b6b05d35bde09c1e665 [INFO] checking D3fus/jellydesktop/24420d3da96a91bd74426b6b05d35bde09c1e665 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%2FD3fus%2Fjellydesktop" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/D3fus/jellydesktop 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/D3fus/jellydesktop [INFO] finished tweaking git repo https://github.com/D3fus/jellydesktop [INFO] tweaked toml for git repo https://github.com/D3fus/jellydesktop written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/D3fus/jellydesktop 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] 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] d265cc53f84c4bdc8ee7b8e6698b0e3ba3e0fa642244df403c9db32da471cfcb [INFO] running `Command { std: "docker" "start" "-a" "d265cc53f84c4bdc8ee7b8e6698b0e3ba3e0fa642244df403c9db32da471cfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d265cc53f84c4bdc8ee7b8e6698b0e3ba3e0fa642244df403c9db32da471cfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d265cc53f84c4bdc8ee7b8e6698b0e3ba3e0fa642244df403c9db32da471cfcb", kill_on_drop: false }` [INFO] [stdout] d265cc53f84c4bdc8ee7b8e6698b0e3ba3e0fa642244df403c9db32da471cfcb [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] 360d7ed77f9890b0f8f5fb9d4ba1fe3a53a75d93b04885c5926ebabcbcf43251 [INFO] running `Command { std: "docker" "start" "-a" "360d7ed77f9890b0f8f5fb9d4ba1fe3a53a75d93b04885c5926ebabcbcf43251", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking tui v0.8.0 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking tokio v0.2.17 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking jellydesktop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `parent_id` is never read [INFO] [stdout] --> src/app/server.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ServerList { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub parent_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_handle` and `tick_handle` are never read [INFO] [stdout] --> src/event.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Events { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | rx: mpsc::Receiver>, [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | ignore_exit_key: Arc, [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `enable_exit_key` are never used [INFO] [stdout] --> src/event.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn enable_exit_key(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `TotalRecordCount` is never read [INFO] [stdout] --> src/models/query.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QueryResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub Items: Vec, [INFO] [stdout] 7 | pub TotalRecordCount: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResult` 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: multiple fields are never read [INFO] [stdout] --> src/models/query.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BaseItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub Name: String, [INFO] [stdout] 13 | pub ServerId: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub Id: String, [INFO] [stdout] 15 | pub Etag: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub DateCreated: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub CanDelete: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub CanDownload: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub SortName: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub ExternalUrls: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub Path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub EnableMediaSourceDisplay: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub Taglines: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub Genres: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub PlayAccess: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | pub RemoteTrailers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(skip_deserializing)] [INFO] [stdout] 28 | pub ProviderIds: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub IsFolder: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub ParentId: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub People: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | #[serde(skip_deserializing)] [INFO] [stdout] 35 | pub Studios: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | #[serde(skip_deserializing)] [INFO] [stdout] 37 | pub GenreItems: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub IndexNumber: Option, [INFO] [stdout] 39 | pub LocalTrailerCount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub UserData: UserItemData, [INFO] [stdout] 41 | pub ChildCount: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub SpecialFeatureCount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub DisplayPreferencesId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub Tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub PrimaryImageAspectRatio: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(skip_deserializing)] [INFO] [stdout] 47 | pub ImageTags: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | pub ParentBackdropItemId: Option, [INFO] [stdout] 49 | pub BackdropImageTags: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub ScreenshotImageTags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub LocationType: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | pub LockedFields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub LockData: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseItem` 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: fields `Name` and `Url` are never read [INFO] [stdout] --> src/models/query.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ExternalUrl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | pub Name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub Url: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalUrl` 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: multiple fields are never read [INFO] [stdout] --> src/models/query.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct UserItemData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | pub Rating: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | pub PlayedPercentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub UnplayedItemCount: Option, [INFO] [stdout] 68 | pub PlaybackPositionTicks: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub PlayCount: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub IsFavorite: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub Likes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub LastPlayedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub Played: bool, [INFO] [stdout] 74 | pub Key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | #[serde(skip_deserializing)] [INFO] [stdout] 76 | pub ItemId: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserItemData` 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/app/config.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 89 | let mut file = match File::create(&dir) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Err(_e) => return Err(error::Error::error("Error by opening config file")) [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | }; [INFO] [stdout] 93 | match file.write_all(data.as_bytes()) { [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/app/config.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 111 | let mut file = match File::create(&dir) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Ok(f) => {f}, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Err(_e) => {return Err(error::Error::error("Error creating config file"))} [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | }; [INFO] [stdout] 115 | match file.write_all(b"{}") { [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jellydesktop` (bin "jellydesktop") due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `parent_id` is never read [INFO] [stdout] --> src/app/server.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ServerList { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub parent_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_handle` and `tick_handle` are never read [INFO] [stdout] --> src/event.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Events { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | rx: mpsc::Receiver>, [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | ignore_exit_key: Arc, [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `enable_exit_key` are never used [INFO] [stdout] --> src/event.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn enable_exit_key(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `TotalRecordCount` is never read [INFO] [stdout] --> src/models/query.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QueryResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub Items: Vec, [INFO] [stdout] 7 | pub TotalRecordCount: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResult` 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: multiple fields are never read [INFO] [stdout] --> src/models/query.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BaseItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub Name: String, [INFO] [stdout] 13 | pub ServerId: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub Id: String, [INFO] [stdout] 15 | pub Etag: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub DateCreated: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub CanDelete: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub CanDownload: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub SortName: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub ExternalUrls: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub Path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub EnableMediaSourceDisplay: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub Taglines: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub Genres: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub PlayAccess: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | pub RemoteTrailers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(skip_deserializing)] [INFO] [stdout] 28 | pub ProviderIds: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub IsFolder: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub ParentId: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub People: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | #[serde(skip_deserializing)] [INFO] [stdout] 35 | pub Studios: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | #[serde(skip_deserializing)] [INFO] [stdout] 37 | pub GenreItems: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub IndexNumber: Option, [INFO] [stdout] 39 | pub LocalTrailerCount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub UserData: UserItemData, [INFO] [stdout] 41 | pub ChildCount: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub SpecialFeatureCount: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub DisplayPreferencesId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub Tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub PrimaryImageAspectRatio: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(skip_deserializing)] [INFO] [stdout] 47 | pub ImageTags: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | pub ParentBackdropItemId: Option, [INFO] [stdout] 49 | pub BackdropImageTags: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub ScreenshotImageTags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub LocationType: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | pub LockedFields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub LockData: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseItem` 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: fields `Name` and `Url` are never read [INFO] [stdout] --> src/models/query.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ExternalUrl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | pub Name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub Url: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalUrl` 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: multiple fields are never read [INFO] [stdout] --> src/models/query.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct UserItemData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | pub Rating: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | pub PlayedPercentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub UnplayedItemCount: Option, [INFO] [stdout] 68 | pub PlaybackPositionTicks: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub PlayCount: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub IsFavorite: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub Likes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub LastPlayedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub Played: bool, [INFO] [stdout] 74 | pub Key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | #[serde(skip_deserializing)] [INFO] [stdout] 76 | pub ItemId: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserItemData` 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/app/config.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 89 | let mut file = match File::create(&dir) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Err(_e) => return Err(error::Error::error("Error by opening config file")) [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | }; [INFO] [stdout] 93 | match file.write_all(data.as_bytes()) { [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/app/config.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 111 | let mut file = match File::create(&dir) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Ok(f) => {f}, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Err(_e) => {return Err(error::Error::error("Error creating config file"))} [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | }; [INFO] [stdout] 115 | match file.write_all(b"{}") { [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jellydesktop` (bin "jellydesktop" test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "360d7ed77f9890b0f8f5fb9d4ba1fe3a53a75d93b04885c5926ebabcbcf43251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "360d7ed77f9890b0f8f5fb9d4ba1fe3a53a75d93b04885c5926ebabcbcf43251", kill_on_drop: false }` [INFO] [stdout] 360d7ed77f9890b0f8f5fb9d4ba1fe3a53a75d93b04885c5926ebabcbcf43251