[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] testing MadBull1995/protolith-db against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadBull1995%2Fprotolith-db" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MadBull1995/protolith-db on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-wkt-build v0.5.0 [INFO] [stderr] Downloaded typetag-impl v0.2.15 [INFO] [stderr] Downloaded smallvec v1.13.0 [INFO] [stderr] Downloaded pbjson v0.6.0 [INFO] [stderr] Downloaded prost-reflect v0.12.0 [INFO] [stderr] Downloaded drain v0.1.1 [INFO] [stderr] Downloaded inventory v0.3.14 [INFO] [stderr] Downloaded prost-wkt v0.5.0 [INFO] [stderr] Downloaded tower-http v0.5.1 [INFO] [stderr] Downloaded typetag v0.2.15 [INFO] [stderr] Downloaded prost-wkt-types v0.5.0 [INFO] [stderr] Downloaded bcrypt v0.15.0 [INFO] [stderr] Downloaded pbjson-build v0.6.2 [INFO] [stderr] Downloaded pbjson-types v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3881307d44ea1a04cf41cda9cbc680b3bb544f0ad40ed6ce740d62265ba9e6b8 [INFO] running `Command { std: "docker" "start" "-a" "3881307d44ea1a04cf41cda9cbc680b3bb544f0ad40ed6ce740d62265ba9e6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3881307d44ea1a04cf41cda9cbc680b3bb544f0ad40ed6ce740d62265ba9e6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3881307d44ea1a04cf41cda9cbc680b3bb544f0ad40ed6ce740d62265ba9e6b8", kill_on_drop: false }` [INFO] [stdout] 3881307d44ea1a04cf41cda9cbc680b3bb544f0ad40ed6ce740d62265ba9e6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 46aa45c32e0d941fedc8b2af26d4f217c8eb146a6fed2984d758d6164f057dc6 [INFO] running `Command { std: "docker" "start" "-a" "46aa45c32e0d941fedc8b2af26d4f217c8eb146a6fed2984d758d6164f057dc6", 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] 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 libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling smallvec v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling libz-sys v1.1.14 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling typetag-impl v0.2.15 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling pbjson-build v0.6.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling prost-wkt-build v0.5.0 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling pbjson-types v0.6.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling prost-wkt-types v0.5.0 [INFO] [stderr] Compiling protolith-api v0.1.0 (/opt/rustwide/workdir/protolith/api) [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling librocksdb-sys v0.11.0+8.1.1 [INFO] [stderr] Compiling erased-serde v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling inventory v0.3.14 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling typetag v0.2.15 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling prost-wkt v0.5.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling pbjson v0.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling prost-reflect v0.12.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling protolith-error v0.1.0 (/opt/rustwide/workdir/protolith/error) [INFO] [stderr] Compiling thingbuf v0.1.4 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling bcrypt v0.15.0 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling protolith-tracing v0.1.0 (/opt/rustwide/workdir/protolith/tracing) [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling matchers v0.1.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/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/protolith-api-b3a4006a16479bd0/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling drain v0.1.1 [INFO] [stderr] Compiling protolith-app v0.1.0 (/opt/rustwide/workdir/protolith/app) [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling iri-string v0.7.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling http-range-header v0.4.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-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_KEY` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_FIELD` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_DATABASE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_SCHEMA_VERSION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_DATABASE_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_DATABASES_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_CREATE_COLLECTION_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LOGIN_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_INSERT_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_GET_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_LIST_RESPONSE` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_MY_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_OTHER_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_NOT_COLLECTION` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `MessageSerde` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/protolith-api-8d650abb086f7878/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] | | help: use a const-anon item to suppress this lint: `_` `Name` is not local [INFO] [stdout] | move the `impl` block outside of this constant `IMPL_MESSAGE_SERDE_FOR_API_OP` [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling async-compression v0.4.6 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] error: failed to run custom build command for `librocksdb-sys v0.11.0+8.1.1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/librocksdb-sys-609672a4b11c03a6/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=ROCKSDB_COMPILE [INFO] [stderr] cargo:rerun-if-env-changed=ROCKSDB_LIB_DIR [INFO] [stderr] cargo:rerun-if-env-changed=ROCKSDB_STATIC [INFO] [stderr] cargo:rerun-if-changed=rocksdb/ [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-musl [INFO] [stderr] CXX_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_musl [INFO] [stderr] CXX_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXX [INFO] [stderr] TARGET_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] RUSTC_LINKER = None [INFO] [stderr] cargo:rerun-if-env-changed=CROSS_COMPILE [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-musl [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_musl [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXXFLAGS [INFO] [stderr] TARGET_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-musl [INFO] [stderr] CXX_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_musl [INFO] [stderr] CXX_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXX [INFO] [stderr] TARGET_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] RUSTC_LINKER = None [INFO] [stderr] cargo:rerun-if-env-changed=CROSS_COMPILE [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-musl [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_musl [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXXFLAGS [INFO] [stderr] TARGET_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-musl [INFO] [stderr] CXX_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_musl [INFO] [stderr] CXX_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXX [INFO] [stderr] TARGET_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] RUSTC_LINKER = None [INFO] [stderr] cargo:rerun-if-env-changed=CROSS_COMPILE [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-musl [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_musl [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_CXXFLAGS [INFO] [stderr] TARGET_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] running: "musl-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/lz4-sys-ca97d591fe408be8/out/include" "-I" "/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zstd-sys-2.0.9+zstd.1.5.5/zstd/lib" "-I" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libz-sys-4f282942b5b12609/out/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bzip2-sys-8bb6c074747c6feb/out/include" "-I" "." "-Wall" "-Wextra" "-std=c++17" "-Wsign-compare" "-Wshadow" "-Wno-unused-parameter" "-Wno-unused-variable" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Wno-missing-field-initializers" "-Wno-strict-aliasing" "-Wno-invalid-offsetof" "-DSNAPPY=1" "-DLZ4=1" "-DZSTD=1" "-DZLIB=1" "-DBZIP2=1" "-DNDEBUG=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/librocksdb-sys-b54be18682ec0d64/out/rocksdb/cache/cache.o" "-c" "rocksdb/cache/cache.cc" [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '8de4c7234dd9b97c9d76b58671343fdbbc9a433e'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Failed to find tool. Is `musl-g++` installed? [INFO] [stderr] [INFO] [stderr] [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" "46aa45c32e0d941fedc8b2af26d4f217c8eb146a6fed2984d758d6164f057dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46aa45c32e0d941fedc8b2af26d4f217c8eb146a6fed2984d758d6164f057dc6", kill_on_drop: false }` [INFO] [stdout] 46aa45c32e0d941fedc8b2af26d4f217c8eb146a6fed2984d758d6164f057dc6