[INFO] cloning repository https://github.com/MadBull1995/protolith-db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MadBull1995/protolith-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadBull1995%2Fprotolith-db", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadBull1995%2Fprotolith-db'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e81ec321f46aaf971d178341a4be26e6f21f8885
[INFO] checking MadBull1995/protolith-db against ffca4d47d3766d77c33e82e2f6ae8e03009cc138 for pr-165238
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadBull1995%2Fprotolith-db" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MadBull1995/protolith-db
[INFO] finished tweaking git repo https://github.com/MadBull1995/protolith-db
[INFO] tweaked toml for git repo https://github.com/MadBull1995/protolith-db written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MadBull1995/protolith-db on toolchain ffca4d47d3766d77c33e82e2f6ae8e03009cc138
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MadBull1995/protolith-db 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" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317
[INFO] running `Command { std: "docker" "start" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317" "/opt/rustwide/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317" "/opt/rustwide/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling prettyplease v0.2.16
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rustix v0.38.30
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.13.0
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling lz4-sys v1.9.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling bindgen v0.65.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling libz-sys v1.1.14
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling prost-derive v0.12.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling prost v0.12.3
[INFO] [stderr]    Compiling typetag-impl v0.2.15
[INFO] [stderr]    Compiling prost-types v0.12.3
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]    Compiling prost-build v0.12.3
[INFO] [stderr]    Compiling pbjson-build v0.6.2
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling prost-wkt-build v0.5.0
[INFO] [stderr]    Compiling tonic-build v0.10.2
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling prost-wkt-types v0.5.0
[INFO] [stderr]    Compiling pbjson-types v0.6.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling protolith-api v0.1.0 (/opt/rustwide/workdir/protolith/api)
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking inventory v0.3.14
[INFO] [stderr]     Checking erased-serde v0.4.2
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling librocksdb-sys v0.11.0+8.1.1
[INFO] [stderr]     Checking typetag v0.2.15
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking prost-wkt v0.5.0
[INFO] [stderr]     Checking pbjson v0.6.0
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking prost-reflect v0.12.0
[INFO] [stderr]     Checking protolith-error v0.1.0 (/opt/rustwide/workdir/protolith/error)
[INFO] [stderr]     Checking thingbuf v0.1.4
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking uuid v1.7.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking bcrypt v0.15.0
[INFO] [stderr]     Checking protolith-tracing v0.1.0 (/opt/rustwide/workdir/protolith/tracing)
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling zstd-safe v7.0.0
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking drain v0.1.1
[INFO] [stderr]    Compiling semver v1.0.21
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking brotli v3.4.0
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking tonic v0.10.2
[INFO] [stderr]    Compiling protolith-app v0.1.0 (/opt/rustwide/workdir/protolith/app)
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]     Checking http-range-header v0.4.0
[INFO] [stderr]     Checking iri-string v0.7.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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:60:189
[INFO] [stdout]    |
[INFO] [stdout] 60 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                          |                                |
[INFO] [stdout]    |       |                                                                                                                                                                          |                                `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 60 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 60 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:60:1425
[INFO] [stdout]    |
[INFO] [stdout] 60 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 60 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 60 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:62:175
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { ...
[INFO] [stdout]    |       -------------------------------------                                                                                                                   ^^^^^----------------------------^^^^^---
[INFO] [stdout]    |       |                                                                                                                                                            |                                |
[INFO] [stdout]    |       |                                                                                                                                                            |                                `Key` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY`                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 62 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout] 62 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:62:1376
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { ...
[INFO] [stdout]    |       -------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^---
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                    `Key` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 62 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout] 62 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:64:179
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 64 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout] 64 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:64:1390
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 64 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout] 64 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:66:179
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 66 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout] 66 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:66:1390
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 66 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout] 66 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:41:173
[INFO] [stdout]    |
[INFO] [stdout] 41 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                               ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                          |                                |
[INFO] [stdout]    |       |                                                                                                                                                          |                                `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                              `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout] 41 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:41:1366
[INFO] [stdout]    |
[INFO] [stdout] 41 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout] 41 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:43:183
[INFO] [stdout]    |
[INFO] [stdout] 43 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                    ^^^^^----------------------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                    |                                |
[INFO] [stdout]    |       |                                                                                                                                                                    |                                `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 43 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 43 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:43:1401
[INFO] [stdout]    |
[INFO] [stdout] 43 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^^^^^----------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                    `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 43 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 43 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:45:179
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { ...
[INFO] [stdout]    |       ------------------------------------------                                                                                                                  ^^^^^----------------------------^^^^^--------
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Database` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE`                                                                                 `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 45 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout] 45 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:45:1387
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { ...
[INFO] [stdout]    |       ------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^^^^^----------------^^^^^--------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    `Database` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 45 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout] 45 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:49:178
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                    ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                               |                                |
[INFO] [stdout]    |       |                                                                                                                                                               |                                `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 49 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout] 49 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:49:1386
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 49 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout] 49 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:51:180
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^------
[INFO] [stdout]    |       |                                                                                                                                                                 |                                |
[INFO] [stdout]    |       |                                                                                                                                                                 |                                `Schema` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 51 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout] 51 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:51:1393
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `Schema` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 51 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout] 51 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:53:195
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                            ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                                |                                `SchemaVersion` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION`                                                                                           `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 53 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout] 53 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:53:1443
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                    `SchemaVersion` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 53 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout] 53 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1398:211
[INFO] [stdout]      |
[INFO] [stdout] 1398 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                   ^^^^^----------------------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                `CreateDatabaseRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST`                                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1398 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout] 1398 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1398:1496
[INFO] [stdout]      |
[INFO] [stdout] 1398 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `CreateDatabaseRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1398 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout] 1398 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1400:213
[INFO] [stdout]      |
[INFO] [stdout] 1400 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { ...
[INFO] [stdout]      |       ----------------------------------------------------------                                                                                                                                    ^^^^^----------------------------^^^^^----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                  |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                  |                                `CreateDatabaseResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE`                                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1400 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout] 1400 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1400:1503
[INFO] [stdout]      |
[INFO] [stdout] 1400 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { ...
[INFO] [stdout]      |       ----------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `CreateDatabaseResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1400 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout] 1400 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1402:211
[INFO] [stdout]      |
[INFO] [stdout] 1402 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                   ^^^^^----------------------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                `ListDatabasesResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE`                                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1402 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout] 1402 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1402:1496
[INFO] [stdout]      |
[INFO] [stdout] 1402 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `ListDatabasesResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1402 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout] 1402 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1404:215
[INFO] [stdout]      |
[INFO] [stdout] 1404 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { ...
[INFO] [stdout]      |       -----------------------------------------------------------                                                                                                                                     ^^^^^----------------------------^^^^^-----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                    |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                    |                                `CreateCollectionRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST`                                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1404 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout] 1404 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1404:1510
[INFO] [stdout]      |
[INFO] [stdout] 1404 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { ...
[INFO] [stdout]      |       -----------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^-----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `CreateCollectionRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1404 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout] 1404 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1406:217
[INFO] [stdout]      |
[INFO] [stdout] 1406 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { ...
[INFO] [stdout]      |       ------------------------------------------------------------                                                                                                                                      ^^^^^----------------------------^^^^^------------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                      |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                      |                                `CreateCollectionResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE`                                                                                                     `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1406 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout] 1406 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1406:1517
[INFO] [stdout]      |
[INFO] [stdout] 1406 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { ...
[INFO] [stdout]      |       ------------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^^^^^----------------^^^^^------------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    `CreateCollectionResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1406 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout] 1406 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1408:192
[INFO] [stdout]      |
[INFO] [stdout] 1408 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                             |                                |
[INFO] [stdout]      |       |                                                                                                                                                                             |                                `LoginRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1408 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout] 1408 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1408:1432
[INFO] [stdout]      |
[INFO] [stdout] 1408 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `LoginRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1408 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout] 1408 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1410:194
[INFO] [stdout]      |
[INFO] [stdout] 1410 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                           ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                               |                                |
[INFO] [stdout]      |       |                                                                                                                                                                               |                                `LoginResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE`                                                                                          `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1410 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout] 1410 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1410:1439
[INFO] [stdout]      |
[INFO] [stdout] 1410 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `LoginResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1410 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout] 1410 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1412:194
[INFO] [stdout]      |
[INFO] [stdout] 1412 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                           ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                               |                                |
[INFO] [stdout]      |       |                                                                                                                                                                               |                                `InsertRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST`                                                                                          `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1412 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout] 1412 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1412:1439
[INFO] [stdout]      |
[INFO] [stdout] 1412 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `InsertRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1412 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout] 1412 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1414:196
[INFO] [stdout]      |
[INFO] [stdout] 1414 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { ...
[INFO] [stdout]      |       -------------------------------------------------                                                                                                                            ^^^^^----------------------------^^^^^--------------
[INFO] [stdout]      |       |                                                                                                                                                                                 |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                 |                                `InsertResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE`                                                                                           `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1414 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout] 1414 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1414:1446
[INFO] [stdout]      |
[INFO] [stdout] 1414 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { ...
[INFO] [stdout]      |       -------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^--------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `InsertResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1414 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout] 1414 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1416:188
[INFO] [stdout]      |
[INFO] [stdout] 1416 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { ...
[INFO] [stdout]      |       ---------------------------------------------                                                                                                                        ^^^^^----------------------------^^^^^----------
[INFO] [stdout]      |       |                                                                                                                                                                         |                                |
[INFO] [stdout]      |       |                                                                                                                                                                         |                                `GetRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST`                                                                                       `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1416 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout] 1416 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1416:1418
[INFO] [stdout]      |
[INFO] [stdout] 1416 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { ...
[INFO] [stdout]      |       ---------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^^^^^----------------^^^^^----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    `GetRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1416 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout] 1416 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1418:190
[INFO] [stdout]      |
[INFO] [stdout] 1418 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                           |                                |
[INFO] [stdout]      |       |                                                                                                                                                                           |                                `GetResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1418 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout] 1418 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1418:1425
[INFO] [stdout]      |
[INFO] [stdout] 1418 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `GetResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1418 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout] 1418 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1420:190
[INFO] [stdout]      |
[INFO] [stdout] 1420 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                           |                                |
[INFO] [stdout]      |       |                                                                                                                                                                           |                                `ListRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1420 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout] 1420 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1420:1425
[INFO] [stdout]      |
[INFO] [stdout] 1420 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `ListRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1420 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout] 1420 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1422:192
[INFO] [stdout]      |
[INFO] [stdout] 1422 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                             |                                |
[INFO] [stdout]      |       |                                                                                                                                                                             |                                `ListResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1422 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout] 1422 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1422:1432
[INFO] [stdout]      |
[INFO] [stdout] 1422 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `ListResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1422 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout] 1422 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:29:188
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { ...
[INFO] [stdout]    |       -----------------------------------------------                                                                                                                      ^^^^^----------------------------^^^^^------------
[INFO] [stdout]    |       |                                                                                                                                                                         |                                |
[INFO] [stdout]    |       |                                                                                                                                                                         |                                `MyCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION`                                                                                     `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout] 29 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:29:1416
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { ...
[INFO] [stdout]    |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `MyCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout] 29 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:31:194
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { ...
[INFO] [stdout]    |       --------------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^---------------
[INFO] [stdout]    |       |                                                                                                                                                                               |                                |
[INFO] [stdout]    |       |                                                                                                                                                                               |                                `OtherCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 31 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout] 31 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:31:1437
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { ...
[INFO] [stdout]    |       --------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^---------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    `OtherCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 31 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout] 31 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:33:190
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                       ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                           |                                |
[INFO] [stdout]    |       |                                                                                                                                                                           |                                `NotCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION`                                                                                      `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 33 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout] 33 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:33:1423
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `NotCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 33 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout] 33 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.types.v1.rs:79:175
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                            |                                |
[INFO] [stdout]    |       |                                                                                                                                                            |                                `ApiOp` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP`                                                                               `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 79 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout] 79 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.types.v1.rs:79:1371
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    `ApiOp` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 79 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout] 79 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:60:189
[INFO] [stdout]    |
[INFO] [stdout] 60 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                          |                                |
[INFO] [stdout]    |       |                                                                                                                                                                          |                                `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 60 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 60 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:60:1425
[INFO] [stdout]    |
[INFO] [stdout] 60 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 60 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 60 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Collection" } 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/protolith.annotation.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:62:175
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { ...
[INFO] [stdout]    |       -------------------------------------                                                                                                                   ^^^^^----------------------------^^^^^---
[INFO] [stdout]    |       |                                                                                                                                                            |                                |
[INFO] [stdout]    |       |                                                                                                                                                            |                                `Key` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY`                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 62 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout] 62 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:62:1376
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { ...
[INFO] [stdout]    |       -------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^---
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                    `Key` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 62 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_KEY : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout] 62 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Key")] impl :: prost_wkt :: MessageSerde for Key { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Key" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Key" } 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/protolith.annotation.v1.Key" , decoder : | buf : & [u8] | { let msg : Key = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Key { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Key" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Key" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:64:179
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 64 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout] 64 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:64:1390
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 64 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout] 64 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Field" } 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/protolith.annotation.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:66:179
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 66 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout] 66 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.annotation.v1.rs:66:1390
[INFO] [stdout]    |
[INFO] [stdout] 66 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                    `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 66 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout] 66 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.annotation.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.annotation.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.annotation.v1.Index" } 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/protolith.annotation.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.annotation.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.annotation.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:41:173
[INFO] [stdout]    |
[INFO] [stdout] 41 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                               ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                          |                                |
[INFO] [stdout]    |       |                                                                                                                                                          |                                `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                              `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout] 41 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:41:1366
[INFO] [stdout]    |
[INFO] [stdout] 41 | ...)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `Field` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_FIELD : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout] 41 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Field")] impl :: prost_wkt :: MessageSerde for Field { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Field" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Field" } 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/protolith.core.v1.Field" , decoder : | buf : & [u8] | { let msg : Field = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Field { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Field" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Field" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:43:183
[INFO] [stdout]    |
[INFO] [stdout] 43 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                    ^^^^^----------------------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                    |                                |
[INFO] [stdout]    |       |                                                                                                                                                                    |                                `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 43 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 43 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:43:1401
[INFO] [stdout]    |
[INFO] [stdout] 43 | ...)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { ...
[INFO] [stdout]    |       --------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^^^^^----------------^^^^^----------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                    `Collection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 43 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout] 43 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Collection")] impl :: prost_wkt :: MessageSerde for Collection { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Collection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Collection" } 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/protolith.core.v1.Collection" , decoder : | buf : & [u8] | { let msg : Collection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Collection { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Collection" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Collection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:45:179
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { ...
[INFO] [stdout]    |       ------------------------------------------                                                                                                                  ^^^^^----------------------------^^^^^--------
[INFO] [stdout]    |       |                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                |                                `Database` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE`                                                                                 `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 45 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout] 45 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.core.v1.rs:45:1387
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { ...
[INFO] [stdout]    |       ------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^^^^^----------------^^^^^--------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    `Database` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 45 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_DATABASE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout] 45 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.core.v1.Database")] impl :: prost_wkt :: MessageSerde for Database { fn package_name (& self) -> & 'static str { "protolith.core.v1" } fn message_name (& self) -> & 'static str { "Database" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.core.v1.Database" } 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/protolith.core.v1.Database" , decoder : | buf : & [u8] | { let msg : Database = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Database { const PACKAGE : & 'static str = "protolith.core.v1" ; const NAME : & 'static str = "Database" ; fn type_url () -> String { "type.googleapis.com/protolith.core.v1.Database" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:49:178
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                    ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                               |                                |
[INFO] [stdout]    |       |                                                                                                                                                               |                                `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 49 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout] 49 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:49:1386
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { ...
[INFO] [stdout]    |       ---------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    `Index` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 49 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INDEX : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout] 49 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Index")] impl :: prost_wkt :: MessageSerde for Index { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Index" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Index" } 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/protolith.metastore.v1.Index" , decoder : | buf : & [u8] | { let msg : Index = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Index { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Index" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Index" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:51:180
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                     ^^^^^----------------------------^^^^^------
[INFO] [stdout]    |       |                                                                                                                                                                 |                                |
[INFO] [stdout]    |       |                                                                                                                                                                 |                                `Schema` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA`                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 51 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout] 51 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:51:1393
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `Schema` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 51 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout] 51 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.Schema")] impl :: prost_wkt :: MessageSerde for Schema { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "Schema" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.Schema" } 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/protolith.metastore.v1.Schema" , decoder : | buf : & [u8] | { let msg : Schema = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for Schema { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "Schema" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.Schema" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:53:195
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                            ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                |                                |
[INFO] [stdout]    |       |                                                                                                                                                                                |                                `SchemaVersion` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION`                                                                                           `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 53 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout] 53 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.metastore.v1.rs:53:1443
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                    `SchemaVersion` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 53 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout] 53 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.metastore.v1.SchemaVersion")] impl :: prost_wkt :: MessageSerde for SchemaVersion { fn package_name (& self) -> & 'static str { "protolith.metastore.v1" } fn message_name (& self) -> & 'static str { "SchemaVersion" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" } 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/protolith.metastore.v1.SchemaVersion" , decoder : | buf : & [u8] | { let msg : SchemaVersion = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for SchemaVersion { const PACKAGE : & 'static str = "protolith.metastore.v1" ; const NAME : & 'static str = "SchemaVersion" ; fn type_url () -> String { "type.googleapis.com/protolith.metastore.v1.SchemaVersion" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1398:211
[INFO] [stdout]      |
[INFO] [stdout] 1398 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                   ^^^^^----------------------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                `CreateDatabaseRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST`                                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1398 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout] 1398 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1398:1496
[INFO] [stdout]      |
[INFO] [stdout] 1398 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `CreateDatabaseRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1398 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout] 1398 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest")] impl :: prost_wkt :: MessageSerde for CreateDatabaseRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" } 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/protolith.services.v1.CreateDatabaseRequest" , decoder : | buf : & [u8] | { let msg : CreateDatabaseRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1400:213
[INFO] [stdout]      |
[INFO] [stdout] 1400 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { ...
[INFO] [stdout]      |       ----------------------------------------------------------                                                                                                                                    ^^^^^----------------------------^^^^^----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                  |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                  |                                `CreateDatabaseResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE`                                                                                                   `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1400 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout] 1400 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1400:1503
[INFO] [stdout]      |
[INFO] [stdout] 1400 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { ...
[INFO] [stdout]      |       ----------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `CreateDatabaseResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1400 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout] 1400 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse")] impl :: prost_wkt :: MessageSerde for CreateDatabaseResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateDatabaseResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" } 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/protolith.services.v1.CreateDatabaseResponse" , decoder : | buf : & [u8] | { let msg : CreateDatabaseResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateDatabaseResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateDatabaseResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateDatabaseResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1402:211
[INFO] [stdout]      |
[INFO] [stdout] 1402 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                   ^^^^^----------------------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                |                                `ListDatabasesResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE`                                                                                                  `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1402 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout] 1402 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1402:1496
[INFO] [stdout]      |
[INFO] [stdout] 1402 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { ...
[INFO] [stdout]      |       ---------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^---------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `ListDatabasesResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1402 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout] 1402 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListDatabasesResponse")] impl :: prost_wkt :: MessageSerde for ListDatabasesResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListDatabasesResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" } 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/protolith.services.v1.ListDatabasesResponse" , decoder : | buf : & [u8] | { let msg : ListDatabasesResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListDatabasesResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListDatabasesResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListDatabasesResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1404:215
[INFO] [stdout]      |
[INFO] [stdout] 1404 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { ...
[INFO] [stdout]      |       -----------------------------------------------------------                                                                                                                                     ^^^^^----------------------------^^^^^-----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                    |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                    |                                `CreateCollectionRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST`                                                                                                    `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1404 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout] 1404 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1404:1510
[INFO] [stdout]      |
[INFO] [stdout] 1404 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { ...
[INFO] [stdout]      |       -----------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^-----------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `CreateCollectionRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1404 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout] 1404 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionRequest")] impl :: prost_wkt :: MessageSerde for CreateCollectionRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" } 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/protolith.services.v1.CreateCollectionRequest" , decoder : | buf : & [u8] | { let msg : CreateCollectionRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1406:217
[INFO] [stdout]      |
[INFO] [stdout] 1406 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { ...
[INFO] [stdout]      |       ------------------------------------------------------------                                                                                                                                      ^^^^^----------------------------^^^^^------------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                      |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                                      |                                `CreateCollectionResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE`                                                                                                     `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1406 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout] 1406 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1406:1517
[INFO] [stdout]      |
[INFO] [stdout] 1406 | ...)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { ...
[INFO] [stdout]      |       ------------------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^^^^^----------------^^^^^------------------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    `CreateCollectionResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1406 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout] 1406 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.CreateCollectionResponse")] impl :: prost_wkt :: MessageSerde for CreateCollectionResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "CreateCollectionResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" } 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/protolith.services.v1.CreateCollectionResponse" , decoder : | buf : & [u8] | { let msg : CreateCollectionResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for CreateCollectionResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "CreateCollectionResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.CreateCollectionResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1408:192
[INFO] [stdout]      |
[INFO] [stdout] 1408 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                             |                                |
[INFO] [stdout]      |       |                                                                                                                                                                             |                                `LoginRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1408 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout] 1408 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1408:1432
[INFO] [stdout]      |
[INFO] [stdout] 1408 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `LoginRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1408 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout] 1408 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginRequest")] impl :: prost_wkt :: MessageSerde for LoginRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginRequest" } 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/protolith.services.v1.LoginRequest" , decoder : | buf : & [u8] | { let msg : LoginRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1410:194
[INFO] [stdout]      |
[INFO] [stdout] 1410 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                           ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                               |                                |
[INFO] [stdout]      |       |                                                                                                                                                                               |                                `LoginResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE`                                                                                          `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1410 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout] 1410 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1410:1439
[INFO] [stdout]      |
[INFO] [stdout] 1410 | ...)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `LoginResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1410 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout] 1410 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.LoginResponse")] impl :: prost_wkt :: MessageSerde for LoginResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "LoginResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.LoginResponse" } 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/protolith.services.v1.LoginResponse" , decoder : | buf : & [u8] | { let msg : LoginResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for LoginResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "LoginResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.LoginResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1412:194
[INFO] [stdout]      |
[INFO] [stdout] 1412 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                           ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                               |                                |
[INFO] [stdout]      |       |                                                                                                                                                                               |                                `InsertRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST`                                                                                          `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1412 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout] 1412 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1412:1439
[INFO] [stdout]      |
[INFO] [stdout] 1412 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { ...
[INFO] [stdout]      |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `InsertRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1412 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout] 1412 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertRequest")] impl :: prost_wkt :: MessageSerde for InsertRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertRequest" } 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/protolith.services.v1.InsertRequest" , decoder : | buf : & [u8] | { let msg : InsertRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1414:196
[INFO] [stdout]      |
[INFO] [stdout] 1414 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { ...
[INFO] [stdout]      |       -------------------------------------------------                                                                                                                            ^^^^^----------------------------^^^^^--------------
[INFO] [stdout]      |       |                                                                                                                                                                                 |                                |
[INFO] [stdout]      |       |                                                                                                                                                                                 |                                `InsertResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE`                                                                                           `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1414 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout] 1414 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1414:1446
[INFO] [stdout]      |
[INFO] [stdout] 1414 | ...)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { ...
[INFO] [stdout]      |       -------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^----------------^^^^^--------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                    `InsertResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1414 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout] 1414 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.InsertResponse")] impl :: prost_wkt :: MessageSerde for InsertResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "InsertResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.InsertResponse" } 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/protolith.services.v1.InsertResponse" , decoder : | buf : & [u8] | { let msg : InsertResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for InsertResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "InsertResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.InsertResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1416:188
[INFO] [stdout]      |
[INFO] [stdout] 1416 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { ...
[INFO] [stdout]      |       ---------------------------------------------                                                                                                                        ^^^^^----------------------------^^^^^----------
[INFO] [stdout]      |       |                                                                                                                                                                         |                                |
[INFO] [stdout]      |       |                                                                                                                                                                         |                                `GetRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST`                                                                                       `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1416 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout] 1416 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1416:1418
[INFO] [stdout]      |
[INFO] [stdout] 1416 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { ...
[INFO] [stdout]      |       ---------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^^^^^----------------^^^^^----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                    `GetRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1416 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout] 1416 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetRequest")] impl :: prost_wkt :: MessageSerde for GetRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetRequest" } 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/protolith.services.v1.GetRequest" , decoder : | buf : & [u8] | { let msg : GetRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1418:190
[INFO] [stdout]      |
[INFO] [stdout] 1418 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                           |                                |
[INFO] [stdout]      |       |                                                                                                                                                                           |                                `GetResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1418 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout] 1418 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1418:1425
[INFO] [stdout]      |
[INFO] [stdout] 1418 | ...)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `GetResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1418 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout] 1418 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.GetResponse")] impl :: prost_wkt :: MessageSerde for GetResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "GetResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.GetResponse" } 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/protolith.services.v1.GetResponse" , decoder : | buf : & [u8] | { let msg : GetResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for GetResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "GetResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.GetResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1420:190
[INFO] [stdout]      |
[INFO] [stdout] 1420 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                           |                                |
[INFO] [stdout]      |       |                                                                                                                                                                           |                                `ListRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1420 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout] 1420 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1420:1425
[INFO] [stdout]      |
[INFO] [stdout] 1420 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { ...
[INFO] [stdout]      |       ----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                    `ListRequest` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1420 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout] 1420 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListRequest")] impl :: prost_wkt :: MessageSerde for ListRequest { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListRequest" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListRequest" } 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/protolith.services.v1.ListRequest" , decoder : | buf : & [u8] | { let msg : ListRequest = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListRequest { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListRequest" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListRequest" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1422:192
[INFO] [stdout]      |
[INFO] [stdout] 1422 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                          ^^^^^----------------------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                             |                                |
[INFO] [stdout]      |       |                                                                                                                                                                             |                                `ListResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE`                                                                                         `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1422 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout] 1422 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.services.v1.rs:1422:1432
[INFO] [stdout]      |
[INFO] [stdout] 1422 | ...)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { ...
[INFO] [stdout]      |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `ListResponse` is not local
[INFO] [stdout]      |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]      |
[INFO] [stdout] 1422 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout] 1422 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.services.v1.ListResponse")] impl :: prost_wkt :: MessageSerde for ListResponse { fn package_name (& self) -> & 'static str { "protolith.services.v1" } fn message_name (& self) -> & 'static str { "ListResponse" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.services.v1.ListResponse" } 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/protolith.services.v1.ListResponse" , decoder : | buf : & [u8] | { let msg : ListResponse = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ListResponse { const PACKAGE : & 'static str = "protolith.services.v1" ; const NAME : & 'static str = "ListResponse" ; fn type_url () -> String { "type.googleapis.com/protolith.services.v1.ListResponse" . to_string () } } } ;
[INFO] [stdout]      |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:29:188
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { ...
[INFO] [stdout]    |       -----------------------------------------------                                                                                                                      ^^^^^----------------------------^^^^^------------
[INFO] [stdout]    |       |                                                                                                                                                                         |                                |
[INFO] [stdout]    |       |                                                                                                                                                                         |                                `MyCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION`                                                                                     `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout] 29 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:29:1416
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { ...
[INFO] [stdout]    |       -----------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^^^^^----------------^^^^^------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                    `MyCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout] 29 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.MyCollection")] impl :: prost_wkt :: MessageSerde for MyCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "MyCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.MyCollection" } 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/protolith.test.v1.MyCollection" , decoder : | buf : & [u8] | { let msg : MyCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for MyCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "MyCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.MyCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:31:194
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { ...
[INFO] [stdout]    |       --------------------------------------------------                                                                                                                         ^^^^^----------------------------^^^^^---------------
[INFO] [stdout]    |       |                                                                                                                                                                               |                                |
[INFO] [stdout]    |       |                                                                                                                                                                               |                                `OtherCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION`                                                                                        `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 31 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout] 31 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:31:1437
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { ...
[INFO] [stdout]    |       --------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^----------------^^^^^---------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                    `OtherCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 31 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout] 31 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.OtherCollection")] impl :: prost_wkt :: MessageSerde for OtherCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "OtherCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.OtherCollection" } 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/protolith.test.v1.OtherCollection" , decoder : | buf : & [u8] | { let msg : OtherCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for OtherCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "OtherCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.OtherCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:33:190
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                       ^^^^^----------------------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                           |                                |
[INFO] [stdout]    |       |                                                                                                                                                                           |                                `NotCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION`                                                                                      `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 33 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout] 33 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.test.v1.rs:33:1423
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { ...
[INFO] [stdout]    |       ------------------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^^^^^----------------^^^^^-------------
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                    `NotCollection` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 33 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout] 33 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.test.v1.NotCollection")] impl :: prost_wkt :: MessageSerde for NotCollection { fn package_name (& self) -> & 'static str { "protolith.test.v1" } fn message_name (& self) -> & 'static str { "NotCollection" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.test.v1.NotCollection" } 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/protolith.test.v1.NotCollection" , decoder : | buf : & [u8] | { let msg : NotCollection = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for NotCollection { const PACKAGE : & 'static str = "protolith.test.v1" ; const NAME : & 'static str = "NotCollection" ; fn type_url () -> String { "type.googleapis.com/protolith.test.v1.NotCollection" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.types.v1.rs:79:175
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                ^^^^^----------------------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                            |                                |
[INFO] [stdout]    |       |                                                                                                                                                            |                                `ApiOp` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP`                                                                               `MessageSerde` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 79 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout] 79 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout]    |
[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/protolith-api/f46d39f64f6ee6c2/out/protolith.types.v1.rs:79:1371
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { ...
[INFO] [stdout]    |       ----------------------------------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^^^^^----------------^^^^^-----
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    |
[INFO] [stdout]    |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                    `ApiOp` is not local
[INFO] [stdout]    |       move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `Name` is not local
[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] help: use a const-anon item to suppress this lint
[INFO] [stdout]    |
[INFO] [stdout] 79 - # [allow (dead_code)] const IMPL_MESSAGE_SERDE_FOR_API_OP : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout] 79 + # [allow (dead_code)] const _ : () = { use :: prost_wkt :: typetag ; # [typetag :: serde (name = "type.googleapis.com/protolith.types.v1.ApiOp")] impl :: prost_wkt :: MessageSerde for ApiOp { fn package_name (& self) -> & 'static str { "protolith.types.v1" } fn message_name (& self) -> & 'static str { "ApiOp" } fn type_url (& self) -> & 'static str { "type.googleapis.com/protolith.types.v1.ApiOp" } 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/protolith.types.v1.ApiOp" , decoder : | buf : & [u8] | { let msg : ApiOp = :: prost :: Message :: decode (buf) ? ; Ok (:: std :: boxed :: Box :: new (msg)) } } } impl :: prost :: Name for ApiOp { const PACKAGE : & 'static str = "protolith.types.v1" ; const NAME : & 'static str = "ApiOp" ; fn type_url () -> String { "type.googleapis.com/protolith.types.v1.ApiOp" . to_string () } } } ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking zstd v0.13.0
[INFO] [stderr]     Checking async-compression v0.4.6
[INFO] [stderr]     Checking tower-http v0.5.1
[INFO] [stderr] error: could not compile `tonic` (lib)
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ffca4d47d3766d77c33e82e2f6ae8e03009cc138/bin/rustc --crate-name tonic --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.10.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat,unused-externs-silent --crate-type lib --emit=dep-info,metadata,link -Z embed-metadata=no -C embed-bitcode=no --cfg 'feature="channel"' --cfg 'feature="codegen"' --cfg 'feature="default"' --cfg 'feature="prost"' --cfg 'feature="transport"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("channel", "codegen", "default", "gzip", "prost", "tls", "tls-roots", "tls-roots-common", "tls-webpki-roots", "transport"))' -C metadata=d6231e840b1cde96 -C extra-filename=-46ee8434b6c5881b --out-dir /opt/rustwide/target/debug/build/tonic/46ee8434b6c5881b/out -L dependency=/opt/rustwide/target/debug/build/async-stream-impl/2fd829f53060d452/out -L dependency=/opt/rustwide/target/debug/build/async-trait/bc0ce2c1e5172954/out -L dependency=/opt/rustwide/target/debug/build/axum-core/35d1f44c6ee3892f/out -L dependency=/opt/rustwide/target/debug/build/bitflags/7b83c1f37def542a/out -L dependency=/opt/rustwide/target/debug/build/byteorder/64f4cc3bb59ef517/out -L dependency=/opt/rustwide/target/debug/build/bytes/ba1bde89e24ca10f/out -L dependency=/opt/rustwide/target/debug/build/cfg-if/39fef75ce1858cab/out -L dependency=/opt/rustwide/target/debug/build/equivalent/398354ee41ec7643/out -L dependency=/opt/rustwide/target/debug/build/fnv/5403b44fb7032375/out -L dependency=/opt/rustwide/target/debug/build/futures-channel/040dccd29e59b06b/out -L dependency=/opt/rustwide/target/debug/build/futures-core/52146dd875561c77/out -L dependency=/opt/rustwide/target/debug/build/futures-io/192e64acb5350a73/out -L dependency=/opt/rustwide/target/debug/build/futures-macro/1eb460e50ef48c81/out -L dependency=/opt/rustwide/target/debug/build/futures-sink/eab7755dfe242bcb/out -L dependency=/opt/rustwide/target/debug/build/futures-task/4a214ccf6bf7f06c/out -L dependency=/opt/rustwide/target/debug/build/futures-util/7035c8ca31ea3ffa/out -L dependency=/opt/rustwide/target/debug/build/getrandom/b4643b9186f3435e/out -L dependency=/opt/rustwide/target/debug/build/h2/28feda57a176df5c/out -L dependency=/opt/rustwide/target/debug/build/hashbrown/6541fb45ae5a9e20/out -L dependency=/opt/rustwide/target/debug/build/hashbrown/82f2d41e7e5db35f/out -L dependency=/opt/rustwide/target/debug/build/hdrhistogram/62cd686d66449729/out -L dependency=/opt/rustwide/target/debug/build/http-body/85dd67e5f5a81cc6/out -L dependency=/opt/rustwide/target/debug/build/http/1d8b5244ee8e5c8d/out -L dependency=/opt/rustwide/target/debug/build/httparse/3846d70fe2fe74bc/out -L dependency=/opt/rustwide/target/debug/build/httpdate/b134bb6835c12f01/out -L dependency=/opt/rustwide/target/debug/build/hyper/a852a80be79586d2/out -L dependency=/opt/rustwide/target/debug/build/indexmap/2a407790a9d5d967/out -L dependency=/opt/rustwide/target/debug/build/indexmap/9ea9691c6e9224ed/out -L dependency=/opt/rustwide/target/debug/build/itoa/75ed5bf0091a3eb5/out -L dependency=/opt/rustwide/target/debug/build/libc/7994a47853dc20d0/out -L dependency=/opt/rustwide/target/debug/build/lock_api/b68894a124749a78/out -L dependency=/opt/rustwide/target/debug/build/log/48db906202b7c866/out -L dependency=/opt/rustwide/target/debug/build/matchit/51b65e1ac0d18204/out -L dependency=/opt/rustwide/target/debug/build/memchr/4b84e95557972d20/out -L dependency=/opt/rustwide/target/debug/build/mime/d8b1dabeabf4dca3/out -L dependency=/opt/rustwide/target/debug/build/mio/bab3c8a8d5699fc7/out -L dependency=/opt/rustwide/target/debug/build/num-traits/a6ec57c9bf77850a/out -L dependency=/opt/rustwide/target/debug/build/num_cpus/04db6bb5ad55da84/out -L dependency=/opt/rustwide/target/debug/build/once_cell/8c2547a0d217506c/out -L dependency=/opt/rustwide/target/debug/build/parking_lot/b6fc32bd49405616/out -L dependency=/opt/rustwide/target/debug/build/parking_lot_core/b0046da4ade0e32a/out -L dependency=/opt/rustwide/target/debug/build/percent-encoding/16a8608e4f3e519d/out -L dependency=/opt/rustwide/target/debug/build/pin-project-internal/e240f50a4d0ed6d9/out -L dependency=/opt/rustwide/target/debug/build/pin-project-lite/0cc7630ffb37a892/out -L dependency=/opt/rustwide/target/debug/build/pin-project/2e0de06dcdf601d7/out -L dependency=/opt/rustwide/target/debug/build/pin-utils/48ea048289a57a03/out -L dependency=/opt/rustwide/target/debug/build/ppv-lite86/711c76374f525486/out -L dependency=/opt/rustwide/target/debug/build/prost-derive/e31a71ebf2e459a4/out -L dependency=/opt/rustwide/target/debug/build/rand/f3d0f5ff74041ce2/out -L dependency=/opt/rustwide/target/debug/build/rand_chacha/4f0074a8506bb4d5/out -L dependency=/opt/rustwide/target/debug/build/rand_core/9f11cbc71c6dfdde/out -L dependency=/opt/rustwide/target/debug/build/scopeguard/ed0542641e9446e4/out -L dependency=/opt/rustwide/target/debug/build/serde/02de6961097faf21/out -L dependency=/opt/rustwide/target/debug/build/serde_derive/565c0fac5289e5c0/out -L dependency=/opt/rustwide/target/debug/build/signal-hook-registry/680b8b13a9932cda/out -L dependency=/opt/rustwide/target/debug/build/slab/1fcd45376649752e/out -L dependency=/opt/rustwide/target/debug/build/smallvec/db9b0ef9dcce42a4/out -L dependency=/opt/rustwide/target/debug/build/socket2/5b3ab0af42fc6d67/out -L dependency=/opt/rustwide/target/debug/build/sync_wrapper/b8afe66c56dd8bf7/out -L dependency=/opt/rustwide/target/debug/build/tokio-io-timeout/9121649432ef5d11/out -L dependency=/opt/rustwide/target/debug/build/tokio-macros/e87e357c4b268308/out -L dependency=/opt/rustwide/target/debug/build/tokio-util/c7b0c87ee64233a2/out -L dependency=/opt/rustwide/target/debug/build/tokio/c8dd1bb54f13b33e/out -L dependency=/opt/rustwide/target/debug/build/tower-layer/a5f8d74c4d3e4c83/out -L dependency=/opt/rustwide/target/debug/build/tower-service/6c7e5f445ea2e8cc/out -L dependency=/opt/rustwide/target/debug/build/tower/bf915e3439bb0895/out -L dependency=/opt/rustwide/target/debug/build/tracing-attributes/1256353b9a9bb603/out -L dependency=/opt/rustwide/target/debug/build/tracing-core/858acf36f2712471/out -L dependency=/opt/rustwide/target/debug/build/tracing/3141feee6b83abbc/out -L dependency=/opt/rustwide/target/debug/build/try-lock/c654ff329d0b1672/out -L dependency=/opt/rustwide/target/debug/build/want/bc968c3fdcb041a2/out --extern async_stream=/opt/rustwide/target/debug/build/async-stream/2b9a3c26e25c6a12/out/libasync_stream-2b9a3c26e25c6a12.rmeta --extern async_trait=/opt/rustwide/target/debug/build/async-trait/bc0ce2c1e5172954/out/libasync_trait-bc0ce2c1e5172954.so --extern axum=/opt/rustwide/target/debug/build/axum/d4da86f8647901f7/out/libaxum-d4da86f8647901f7.rmeta --extern base64=/opt/rustwide/target/debug/build/base64/744ee84a7cd92fc5/out/libbase64-744ee84a7cd92fc5.rmeta --extern bytes=/opt/rustwide/target/debug/build/bytes/ba1bde89e24ca10f/out/libbytes-ba1bde89e24ca10f.rmeta --extern h2=/opt/rustwide/target/debug/build/h2/28feda57a176df5c/out/libh2-28feda57a176df5c.rmeta --extern http=/opt/rustwide/target/debug/build/http/1d8b5244ee8e5c8d/out/libhttp-1d8b5244ee8e5c8d.rmeta --extern http_body=/opt/rustwide/target/debug/build/http-body/85dd67e5f5a81cc6/out/libhttp_body-85dd67e5f5a81cc6.rmeta --extern hyper=/opt/rustwide/target/debug/build/hyper/a852a80be79586d2/out/libhyper-a852a80be79586d2.rmeta --extern hyper_timeout=/opt/rustwide/target/debug/build/hyper-timeout/38253d622559f0e1/out/libhyper_timeout-38253d622559f0e1.rmeta --extern percent_encoding=/opt/rustwide/target/debug/build/percent-encoding/16a8608e4f3e519d/out/libpercent_encoding-16a8608e4f3e519d.rmeta --extern pin_project=/opt/rustwide/target/debug/build/pin-project/2e0de06dcdf601d7/out/libpin_project-2e0de06dcdf601d7.rmeta --extern prost=/opt/rustwide/target/debug/build/prost/b4c118a86702f885/out/libprost-b4c118a86702f885.rmeta --extern tokio=/opt/rustwide/target/debug/build/tokio/c8dd1bb54f13b33e/out/libtokio-c8dd1bb54f13b33e.rmeta --extern tokio_stream=/opt/rustwide/target/debug/build/tokio-stream/c0f5d86035fcc71f/out/libtokio_stream-c0f5d86035fcc71f.rmeta --extern tower=/opt/rustwide/target/debug/build/tower/bf915e3439bb0895/out/libtower-bf915e3439bb0895.rmeta --extern tower_layer=/opt/rustwide/target/debug/build/tower-layer/a5f8d74c4d3e4c83/out/libtower_layer-a5f8d74c4d3e4c83.rmeta --extern tower_service=/opt/rustwide/target/debug/build/tower-service/6c7e5f445ea2e8cc/out/libtower_service-6c7e5f445ea2e8cc.rmeta --extern tracing=/opt/rustwide/target/debug/build/tracing/3141feee6b83abbc/out/libtracing-3141feee6b83abbc.rmeta --cap-lints allow --cap-lints=forbid --force-warn=unused_crate_dependencies` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317", kill_on_drop: false }`
[INFO] [stdout] 34fe752ab3a8e7fef690e02bb1570f3695648ec6e8f3b2527b751b591135c317
