[INFO] fetching crate jam 0.0.1... [INFO] checking jam-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate jam 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate jam 0.0.1 [INFO] finished tweaking crates.io crate jam 0.0.1 [INFO] tweaked toml for crates.io crate jam 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jam 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.7.0 (available: v2.0.1) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.219) [INFO] [stderr] Adding serde_derive v0.9.15 (available: v1.0.219) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b85814b7ef34d28c2b9429eed4f955b6bbdf3957e5904c1d679e652882fb2551 [INFO] running `Command { std: "docker" "start" "-a" "b85814b7ef34d28c2b9429eed4f955b6bbdf3957e5904c1d679e652882fb2551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b85814b7ef34d28c2b9429eed4f955b6bbdf3957e5904c1d679e652882fb2551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85814b7ef34d28c2b9429eed4f955b6bbdf3957e5904c1d679e652882fb2551", kill_on_drop: false }` [INFO] [stdout] b85814b7ef34d28c2b9429eed4f955b6bbdf3957e5904c1d679e652882fb2551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6e469f30df30d63f8d16634516e502f467a030821bc10e01b59cd58c4779d46 [INFO] running `Command { std: "docker" "start" "-a" "d6e469f30df30d63f8d16634516e502f467a030821bc10e01b59cd58c4779d46", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling jam_derive v0.0.1 [INFO] [stderr] Checking bincode v0.7.0 [INFO] [stderr] Checking jam v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] " struct MusicService { some : u32 } impl Service for MusicService { fn get ( & self , hash : u32 ) -> Result < u32 , Error > { match args . hash { 0 => Ok ( * self . some ) , _ => Err ( Error :: WrongNumber ) } } fn set ( & mut self , hash : u32 ) -> Result < ( ) , Error > { * self . some = args . hash ; Ok ( ( ) ) } } " [INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } } [INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } } [INFO] [stdout] " struct MusicService { some : u32 } impl Service for MusicService { fn get ( & self , hash : u32 ) -> Result < u32 , Error > { match args . hash { 0 => Ok ( * self . some ) , _ => Err ( Error :: WrongNumber ) } } fn set ( & mut self , hash : u32 ) -> Result < ( ) , Error > { * self . some = args . hash ; Ok ( ( ) ) } } " [INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } } [INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } } [INFO] [stdout] warning: variant `field` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | field = (stringify!(|$($x)*|), 0).1 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Field` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Service` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Service { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyEnum` is never used [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | enum DummyEnum { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `service` (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/main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Error` [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: `#[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/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Error` [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 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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceget` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceget` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceget` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceget` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceset` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceset` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceset` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceset` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceArgs` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceArgs` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceArgs` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceArgs` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceRet` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceRet` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceRet` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceRet` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `field` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | field = (stringify!(|$($x)*|), 0).1 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Field` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Service` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Service { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DummyEnum` is never used [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | enum DummyEnum { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `service` (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/main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Error` [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: `#[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/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Error` [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 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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceget` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceget` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceget` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceget` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceset` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceset` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceset` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceset` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceArgs` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceArgs` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceArgs` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceArgs` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceRet` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MusicServiceRet` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Serialize` which comes from the expansion of the macro `service` (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/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RPCService)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MusicServiceRet` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MusicServiceRet` [INFO] [stdout] ... [INFO] [stdout] 29 | / service!( [INFO] [stdout] 30 | | struct MusicService { [INFO] [stdout] 31 | | some: u32 [INFO] [stdout] ... | [INFO] [stdout] 48 | | ); [INFO] [stdout] | |_- in this macro invocation [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 warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s [INFO] running `Command { std: "docker" "inspect" "d6e469f30df30d63f8d16634516e502f467a030821bc10e01b59cd58c4779d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e469f30df30d63f8d16634516e502f467a030821bc10e01b59cd58c4779d46", kill_on_drop: false }` [INFO] [stdout] d6e469f30df30d63f8d16634516e502f467a030821bc10e01b59cd58c4779d46