[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#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD3fus%2Fjellydesktop" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/D3fus/jellydesktop on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-6-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 379f9023fdbad9f50460c979e5a087f0605cf4d78bd10aa69b8cc60afe87e4dd [INFO] running `Command { std: "docker" "start" "-a" "379f9023fdbad9f50460c979e5a087f0605cf4d78bd10aa69b8cc60afe87e4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "379f9023fdbad9f50460c979e5a087f0605cf4d78bd10aa69b8cc60afe87e4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "379f9023fdbad9f50460c979e5a087f0605cf4d78bd10aa69b8cc60afe87e4dd", kill_on_drop: false }` [INFO] [stdout] 379f9023fdbad9f50460c979e5a087f0605cf4d78bd10aa69b8cc60afe87e4dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5b43513f4ca9f8c9317245a5dae1de4ad174b4a6023c70e9d72aa0f46bba1a3 [INFO] running `Command { std: "docker" "start" "-a" "b5b43513f4ca9f8c9317245a5dae1de4ad174b4a6023c70e9d72aa0f46bba1a3", 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 bytes v0.5.4 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking tui v0.8.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [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 tokio v0.2.17 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [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 hyper v0.13.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-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking jellydesktop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), std::io::Error>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [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: this value of type `Result<(), std::io::Error>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [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: this value of type `Result<(), std::io::Error>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [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: this value of type `Result<(), std::io::Error>` has 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [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] 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_User` [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_User` [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Server` [INFO] [stdout] 35 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Server` [INFO] [stdout] 35 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/config.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ConfigFile` [INFO] [stdout] 35 | pub struct ConfigFile { [INFO] [stdout] | ---------- `ConfigFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/config.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigFile` [INFO] [stdout] 35 | pub struct ConfigFile { [INFO] [stdout] | ---------- `ConfigFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Authentication` [INFO] [stdout] 5 | pub struct Authentication { [INFO] [stdout] | -------------- `Authentication` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Authentication` [INFO] [stdout] 5 | pub struct Authentication { [INFO] [stdout] | -------------- `Authentication` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_User` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_User` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_User` [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QueryResult` [INFO] [stdout] 5 | pub struct QueryResult { [INFO] [stdout] | ----------- `QueryResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_User` [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BaseItem` [INFO] [stdout] 11 | pub struct BaseItem { [INFO] [stdout] | -------- `BaseItem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Server` [INFO] [stdout] 35 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/server.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Server` [INFO] [stdout] 35 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ExternalUrl` [INFO] [stdout] 58 | pub struct ExternalUrl { [INFO] [stdout] | ----------- `ExternalUrl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UserItemData` [INFO] [stdout] 64 | pub struct UserItemData { [INFO] [stdout] | ------------ `UserItemData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/config.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ConfigFile` [INFO] [stdout] 35 | pub struct ConfigFile { [INFO] [stdout] | ---------- `ConfigFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/app/config.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigFile` [INFO] [stdout] 35 | pub struct ConfigFile { [INFO] [stdout] | ---------- `ConfigFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Authentication` [INFO] [stdout] 5 | pub struct Authentication { [INFO] [stdout] | -------------- `Authentication` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Authentication` [INFO] [stdout] 5 | pub struct Authentication { [INFO] [stdout] | -------------- `Authentication` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_User` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_User` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QueryResult` [INFO] [stdout] 5 | pub struct QueryResult { [INFO] [stdout] | ----------- `QueryResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BaseItem` [INFO] [stdout] 11 | pub struct BaseItem { [INFO] [stdout] | -------- `BaseItem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ExternalUrl` [INFO] [stdout] 58 | pub struct ExternalUrl { [INFO] [stdout] | ----------- `ExternalUrl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/query.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UserItemData` [INFO] [stdout] 64 | pub struct UserItemData { [INFO] [stdout] | ------------ `UserItemData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jellydesktop` (bin "jellydesktop") due to 3 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jellydesktop` (bin "jellydesktop" test) due to 3 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b5b43513f4ca9f8c9317245a5dae1de4ad174b4a6023c70e9d72aa0f46bba1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b43513f4ca9f8c9317245a5dae1de4ad174b4a6023c70e9d72aa0f46bba1a3", kill_on_drop: false }` [INFO] [stdout] b5b43513f4ca9f8c9317245a5dae1de4ad174b4a6023c70e9d72aa0f46bba1a3