[INFO] fetching crate fundamentum-edge-proto 1.5.0... [INFO] checking fundamentum-edge-proto-1.5.0 against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] extracting crate fundamentum-edge-proto 1.5.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fundamentum-edge-proto 1.5.0 on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fundamentum-edge-proto 1.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fundamentum-edge-proto 1.5.0 [INFO] tweaked toml for crates.io crate fundamentum-edge-proto 1.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate fundamentum-edge-proto 1.5.0 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-wkt-types v0.5.1 [INFO] [stderr] Downloaded prost-wkt v0.5.1 [INFO] [stderr] Downloaded prost-wkt-build v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d3e328030821ac606926853798aa0ff9d6425ee18fc062091d53cc85db2d45d [INFO] running `Command { std: "docker" "start" "-a" "9d3e328030821ac606926853798aa0ff9d6425ee18fc062091d53cc85db2d45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d3e328030821ac606926853798aa0ff9d6425ee18fc062091d53cc85db2d45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3e328030821ac606926853798aa0ff9d6425ee18fc062091d53cc85db2d45d", kill_on_drop: false }` [INFO] [stdout] 9d3e328030821ac606926853798aa0ff9d6425ee18fc062091d53cc85db2d45d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf5f68b1ecd1b5412a07c090394033bd0b74af84708cc5da62aed17e53532cb2 [INFO] running `Command { std: "docker" "start" "-a" "cf5f68b1ecd1b5412a07c090394033bd0b74af84708cc5da62aed17e53532cb2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling typetag-impl v0.2.16 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling prost-wkt-build v0.5.1 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling prost-wkt-types v0.5.1 [INFO] [stderr] Compiling fundamentum-edge-proto v1.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking typetag v0.2.16 [INFO] [stderr] Checking prost-wkt v0.5.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2488:196 [INFO] [stdout] | [INFO] [stdout] 2488 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest")] impl :: prost_wkt :: MessageSerde for ActionRequest { ... [INFO] [stdout] | ------------------------------------------------ ^^^^^----------------------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2488:1447 [INFO] [stdout] | [INFO] [stdout] 2488 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest")] impl :: prost_wkt :: MessageSerde for ActionRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ActionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest" , decoder : | buf : & [u8] | { let msg : ActionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ActionRequest { ... [INFO] [stdout] | ------------------------------------------------ ^^^^^----------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2490:198 [INFO] [stdout] | [INFO] [stdout] 2490 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse")] impl :: prost_wkt :: MessageSerde for ActionResponse { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------------------^^^^^-------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2490:1454 [INFO] [stdout] | [INFO] [stdout] 2490 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse")] impl :: prost_wkt :: MessageSerde for ActionResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ActionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse" , decoder : | buf : & [u8] | { let msg : ActionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ActionResponse { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------^^^^^-------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2492:190 [INFO] [stdout] | [INFO] [stdout] 2492 | ...)] const IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ConfigData")] impl :: prost_wkt :: MessageSerde for ConfigData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ConfigData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2492:1426 [INFO] [stdout] | [INFO] [stdout] 2492 | ...)] const IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ConfigData")] impl :: prost_wkt :: MessageSerde for ConfigData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ConfigData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ConfigData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ConfigData" , decoder : | buf : & [u8] | { let msg : ConfigData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ConfigData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ConfigData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2494:190 [INFO] [stdout] | [INFO] [stdout] 2494 | ...)] const IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.UpdateData")] impl :: prost_wkt :: MessageSerde for UpdateData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `UpdateData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2494:1426 [INFO] [stdout] | [INFO] [stdout] 2494 | ...)] const IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.UpdateData")] impl :: prost_wkt :: MessageSerde for UpdateData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "UpdateData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.UpdateData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.UpdateData" , decoder : | buf : & [u8] | { let msg : UpdateData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for UpdateData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `UpdateData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2496:202 [INFO] [stdout] | [INFO] [stdout] 2496 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest")] impl :: prost_wkt :: MessageSerde for ProvisionRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2496:1468 [INFO] [stdout] | [INFO] [stdout] 2496 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest")] impl :: prost_wkt :: MessageSerde for ProvisionRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ProvisionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest" , decoder : | buf : & [u8] | { let msg : ProvisionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ProvisionRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2498:204 [INFO] [stdout] | [INFO] [stdout] 2498 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse")] impl :: prost_wkt :: MessageSerde for ProvisionResponse { ... [INFO] [stdout] | ---------------------------------------------------- ^^^^^----------------------------^^^^^----------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2498:1475 [INFO] [stdout] | [INFO] [stdout] 2498 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse")] impl :: prost_wkt :: MessageSerde for ProvisionResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ProvisionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse" , decoder : | buf : & [u8] | { let msg : ProvisionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ProvisionResponse { ... [INFO] [stdout] | ---------------------------------------------------- ^^^^^----------------^^^^^----------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2500:197 [INFO] [stdout] | [INFO] [stdout] 2500 | ...)] const IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData")] impl :: prost_wkt :: MessageSerde for StateJsonData { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StateJsonData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2500:1448 [INFO] [stdout] | [INFO] [stdout] 2500 | ...)] const IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData")] impl :: prost_wkt :: MessageSerde for StateJsonData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "StateJsonData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData" , decoder : | buf : & [u8] | { let msg : StateJsonData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for StateJsonData { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StateJsonData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2502:202 [INFO] [stdout] | [INFO] [stdout] 2502 | ...)] const IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest")] impl :: prost_wkt :: MessageSerde for TelemetryRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `TelemetryRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2502:1468 [INFO] [stdout] | [INFO] [stdout] 2502 | ...)] const IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest")] impl :: prost_wkt :: MessageSerde for TelemetryRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "TelemetryRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest" , decoder : | buf : & [u8] | { let msg : TelemetryRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for TelemetryRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `TelemetryRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2504:213 [INFO] [stdout] | [INFO] [stdout] 2504 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateRequest { ... [INFO] [stdout] | --------------------------------------------------------- ^^^^^----------------------------^^^^^--------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2504:1504 [INFO] [stdout] | [INFO] [stdout] 2504 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "FirmwareUpdateRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest" , decoder : | buf : & [u8] | { let msg : FirmwareUpdateRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for FirmwareUpdateRequest { ... [INFO] [stdout] | --------------------------------------------------------- ^^^^^----------------^^^^^--------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2506:215 [INFO] [stdout] | [INFO] [stdout] 2506 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateResponse { ... [INFO] [stdout] | ---------------------------------------------------------- ^^^^^----------------------------^^^^^---------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2506:1511 [INFO] [stdout] | [INFO] [stdout] 2506 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "FirmwareUpdateResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse" , decoder : | buf : & [u8] | { let msg : FirmwareUpdateResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for FirmwareUpdateResponse { ... [INFO] [stdout] | ---------------------------------------------------------- ^^^^^----------------^^^^^---------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2488:196 [INFO] [stdout] | [INFO] [stdout] 2488 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest")] impl :: prost_wkt :: MessageSerde for ActionRequest { ... [INFO] [stdout] | ------------------------------------------------ ^^^^^----------------------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2488:1447 [INFO] [stdout] | [INFO] [stdout] 2488 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest")] impl :: prost_wkt :: MessageSerde for ActionRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ActionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ActionRequest" , decoder : | buf : & [u8] | { let msg : ActionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ActionRequest { ... [INFO] [stdout] | ------------------------------------------------ ^^^^^----------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2490:198 [INFO] [stdout] | [INFO] [stdout] 2490 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse")] impl :: prost_wkt :: MessageSerde for ActionResponse { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------------------^^^^^-------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2490:1454 [INFO] [stdout] | [INFO] [stdout] 2490 | ...)] const IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse")] impl :: prost_wkt :: MessageSerde for ActionResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ActionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ActionResponse" , decoder : | buf : & [u8] | { let msg : ActionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ActionResponse { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------^^^^^-------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ActionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_ACTION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2492:190 [INFO] [stdout] | [INFO] [stdout] 2492 | ...)] const IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ConfigData")] impl :: prost_wkt :: MessageSerde for ConfigData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ConfigData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2492:1426 [INFO] [stdout] | [INFO] [stdout] 2492 | ...)] const IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ConfigData")] impl :: prost_wkt :: MessageSerde for ConfigData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ConfigData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ConfigData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ConfigData" , decoder : | buf : & [u8] | { let msg : ConfigData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ConfigData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ConfigData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CONFIG_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2494:190 [INFO] [stdout] | [INFO] [stdout] 2494 | ...)] const IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.UpdateData")] impl :: prost_wkt :: MessageSerde for UpdateData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `UpdateData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2494:1426 [INFO] [stdout] | [INFO] [stdout] 2494 | ...)] const IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.UpdateData")] impl :: prost_wkt :: MessageSerde for UpdateData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "UpdateData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.UpdateData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.UpdateData" , decoder : | buf : & [u8] | { let msg : UpdateData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for UpdateData { ... [INFO] [stdout] | --------------------------------------------- ^^^^^----------------^^^^^---------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `UpdateData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_UPDATE_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2496:202 [INFO] [stdout] | [INFO] [stdout] 2496 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest")] impl :: prost_wkt :: MessageSerde for ProvisionRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2496:1468 [INFO] [stdout] | [INFO] [stdout] 2496 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest")] impl :: prost_wkt :: MessageSerde for ProvisionRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ProvisionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ProvisionRequest" , decoder : | buf : & [u8] | { let msg : ProvisionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ProvisionRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2498:204 [INFO] [stdout] | [INFO] [stdout] 2498 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse")] impl :: prost_wkt :: MessageSerde for ProvisionResponse { ... [INFO] [stdout] | ---------------------------------------------------- ^^^^^----------------------------^^^^^----------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2498:1475 [INFO] [stdout] | [INFO] [stdout] 2498 | ...)] const IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse")] impl :: prost_wkt :: MessageSerde for ProvisionResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "ProvisionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.ProvisionResponse" , decoder : | buf : & [u8] | { let msg : ProvisionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ProvisionResponse { ... [INFO] [stdout] | ---------------------------------------------------- ^^^^^----------------^^^^^----------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `ProvisionResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_PROVISION_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2500:197 [INFO] [stdout] | [INFO] [stdout] 2500 | ...)] const IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData")] impl :: prost_wkt :: MessageSerde for StateJsonData { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StateJsonData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2500:1448 [INFO] [stdout] | [INFO] [stdout] 2500 | ...)] const IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData")] impl :: prost_wkt :: MessageSerde for StateJsonData { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "StateJsonData" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.StateJsonData" , decoder : | buf : & [u8] | { let msg : StateJsonData = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for StateJsonData { ... [INFO] [stdout] | ------------------------------------------------- ^^^^^----------------^^^^^------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StateJsonData` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_STATE_JSON_DATA` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2502:202 [INFO] [stdout] | [INFO] [stdout] 2502 | ...)] const IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest")] impl :: prost_wkt :: MessageSerde for TelemetryRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `TelemetryRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2502:1468 [INFO] [stdout] | [INFO] [stdout] 2502 | ...)] const IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest")] impl :: prost_wkt :: MessageSerde for TelemetryRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "TelemetryRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.TelemetryRequest" , decoder : | buf : & [u8] | { let msg : TelemetryRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for TelemetryRequest { ... [INFO] [stdout] | --------------------------------------------------- ^^^^^----------------^^^^^---------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `TelemetryRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_TELEMETRY_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2504:213 [INFO] [stdout] | [INFO] [stdout] 2504 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateRequest { ... [INFO] [stdout] | --------------------------------------------------------- ^^^^^----------------------------^^^^^--------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2504:1504 [INFO] [stdout] | [INFO] [stdout] 2504 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateRequest { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "FirmwareUpdateRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateRequest" , decoder : | buf : & [u8] | { let msg : FirmwareUpdateRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for FirmwareUpdateRequest { ... [INFO] [stdout] | --------------------------------------------------------- ^^^^^----------------^^^^^--------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateRequest` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_REQUEST` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2506:215 [INFO] [stdout] | [INFO] [stdout] 2506 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateResponse { ... [INFO] [stdout] | ---------------------------------------------------------- ^^^^^----------------------------^^^^^---------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/fundamentum-edge-proto-5bd274a3cc190241/out/com.fundamentum.edge.v1.rs:2506:1511 [INFO] [stdout] | [INFO] [stdout] 2506 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse")] impl :: prost_wkt :: MessageSerde for FirmwareUpdateResponse { fn package_name (& self) -> & 'static str { "com.fundamentum.edge.v1" } fn message_name (& self) -> & 'static str { "FirmwareUpdateResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse" } fn new_instance (& self , data : Vec < u8 >) -> :: std :: result :: Result < Box < dyn :: prost_wkt :: MessageSerde > , :: prost :: DecodeError > { let mut target = Self :: default () ; :: prost :: Message :: merge (& mut target , data . as_slice ()) ? ; let erased : :: std :: boxed :: Box < dyn :: prost_wkt :: MessageSerde > = :: std :: boxed :: Box :: new (target) ; Ok (erased) } fn try_encoded (& self) -> :: std :: result :: Result < :: std :: vec :: Vec < u8 > , :: prost :: EncodeError > { let mut buf = :: std :: vec :: Vec :: with_capacity (:: prost :: Message :: encoded_len (self)) ; :: prost :: Message :: encode (self , & mut buf) ? ; Ok (buf) } } :: prost_wkt :: inventory :: submit ! { :: prost_wkt :: MessageSerdeDecoderEntry { type_url : "type.googleapis.com/com.fundamentum.edge.v1.FirmwareUpdateResponse" , decoder : | buf : & [u8] | { let msg : FirmwareUpdateResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for FirmwareUpdateResponse { ... [INFO] [stdout] | ---------------------------------------------------------- ^^^^^----------------^^^^^---------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FirmwareUpdateResponse` is not local [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIRMWARE_UPDATE_RESPONSE` [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> examples/server/configuration.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "cf5f68b1ecd1b5412a07c090394033bd0b74af84708cc5da62aed17e53532cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5f68b1ecd1b5412a07c090394033bd0b74af84708cc5da62aed17e53532cb2", kill_on_drop: false }` [INFO] [stdout] cf5f68b1ecd1b5412a07c090394033bd0b74af84708cc5da62aed17e53532cb2