[INFO] fetching crate elastic 0.21.0-pre.5...
[INFO] checking elastic-0.21.0-pre.5 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate elastic 0.21.0-pre.5 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate elastic 0.21.0-pre.5 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate elastic 0.21.0-pre.5
[INFO] finished tweaking crates.io crate elastic 0.21.0-pre.5
[INFO] tweaked toml for crates.io crate elastic 0.21.0-pre.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate elastic 0.21.0-pre.5 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" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded adler32 v1.0.3
[INFO] [stderr]   Downloaded atty v0.2.11
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded publicsuffix v1.5.2
[INFO] [stderr]   Downloaded quote v0.6.12
[INFO] [stderr]   Downloaded either v1.5.2
[INFO] [stderr]   Downloaded spin v0.5.0
[INFO] [stderr]   Downloaded mime v0.3.13
[INFO] [stderr]   Downloaded nodrop v0.1.13
[INFO] [stderr]   Downloaded memoffset v0.2.1
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded getrandom v0.1.6
[INFO] [stderr]   Downloaded pkg-config v0.3.14
[INFO] [stderr]   Downloaded uuid v0.6.5
[INFO] [stderr]   Downloaded arrayvec v0.4.10
[INFO] [stderr]   Downloaded crossbeam-epoch v0.7.1
[INFO] [stderr]   Downloaded serde_derive_internals v0.15.1
[INFO] [stderr]   Downloaded rstar v0.2.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.15
[INFO] [stderr]   Downloaded openssl-sys v0.9.47
[INFO] [stderr]   Downloaded miniz_oxide v0.2.2
[INFO] [stderr]   Downloaded aho-corasick v0.7.4
[INFO] [stderr]   Downloaded flate2 v1.0.9
[INFO] [stderr]   Downloaded chrono v0.4.7
[INFO] [stderr]   Downloaded hyper v0.12.31
[INFO] [stderr]   Downloaded geo v0.12.2
[INFO] [stderr]   Downloaded syn v0.15.39
[INFO] [stderr]   Downloaded regex-syntax v0.6.8
[INFO] [stderr]   Downloaded regex v1.1.9
[INFO] [stderr]   Downloaded libc v0.2.58
[INFO] [stderr]   Downloaded backtrace-sys v0.1.30
[INFO] [stderr]   Downloaded rustls v0.15.2
[INFO] [stderr]   Downloaded geojson v0.16.0
[INFO] [stderr]   Downloaded miniz_oxide_c_api v0.2.2
[INFO] [stderr]   Downloaded winapi v0.3.7
[INFO] [stderr]   Downloaded elastic_derive v0.21.0-pre.5
[INFO] [stderr]   Downloaded indexmap v1.0.2
[INFO] [stderr]   Downloaded humantime v1.2.0
[INFO] [stderr]   Downloaded fluent_builder v0.6.0
[INFO] [stderr]   Downloaded tokio-rustls v0.9.3
[INFO] [stderr]   Downloaded geohash v0.9.0
[INFO] [stderr]   Downloaded ct-logs v0.5.1
[INFO] [stderr]   Downloaded webpki-roots v0.16.0
[INFO] [stderr]   Downloaded wincolor v1.0.1
[INFO] [stderr]   Downloaded backtrace v0.3.32
[INFO] [stderr]   Downloaded encoding_rs v0.8.17
[INFO] [stderr]   Downloaded hyper-rustls v0.16.1
[INFO] [stderr]   Downloaded lazy_static v1.3.0
[INFO] [stderr]   Downloaded h2 v0.1.25
[INFO] [stderr]   Downloaded openssl v0.10.23
[INFO] [stderr]   Downloaded nom v2.2.1
[INFO] [stderr]   Downloaded http v0.1.17
[INFO] [stderr]   Downloaded rand v0.7.0
[INFO] [stderr]   Downloaded crossbeam-channel v0.3.8
[INFO] [stderr]   Downloaded reqwest v0.9.18
[INFO] [stderr]   Downloaded cc v1.0.37
[INFO] [stderr]   Downloaded serde_derive v1.0.94
[INFO] [stderr]   Downloaded serde v1.0.94
[INFO] [stderr]   Downloaded webpki v0.19.1
[INFO] [stderr]   Downloaded memchr v2.2.0
[INFO] [stderr]   Downloaded sct v0.5.0
[INFO] [stderr]   Downloaded owning_ref v0.4.0
[INFO] [stderr]   Downloaded log v0.4.6
[INFO] [stderr]   Downloaded autocfg v0.1.4
[INFO] [stderr]   Downloaded ucd-util v0.1.3
[INFO] [stderr]   Downloaded futures v0.1.28
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.15
[INFO] [stderr]   Downloaded termion v1.5.3
[INFO] [stderr]   Downloaded geo-types v0.4.3
[INFO] [stderr]   Downloaded utf8-ranges v1.0.3
[INFO] [stderr]   Downloaded unicase v2.4.0
[INFO] [stderr]   Downloaded mime_guess v2.0.0-alpha.6
[INFO] [stderr]   Downloaded rand_chacha v0.2.0
[INFO] [stderr]   Downloaded rand_core v0.5.0
[INFO] [stderr]   Downloaded tokio-udp v0.1.3
[INFO] [stderr]   Downloaded tokio-reactor v0.1.9
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab3873967450b59ba4fbbddc571bf19a1b776ce2ca49ea5820465d251652f744
[INFO] running `Command { std: "docker" "start" "-a" "ab3873967450b59ba4fbbddc571bf19a1b776ce2ca49ea5820465d251652f744", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab3873967450b59ba4fbbddc571bf19a1b776ce2ca49ea5820465d251652f744", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab3873967450b59ba4fbbddc571bf19a1b776ce2ca49ea5820465d251652f744", kill_on_drop: false }`
[INFO] [stdout] ab3873967450b59ba4fbbddc571bf19a1b776ce2ca49ea5820465d251652f744
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b65b9a5dff6899560a9f6798cbb9b396c2009865b2aaf98eaee650cc3421fbe
[INFO] running `Command { std: "docker" "start" "-a" "2b65b9a5dff6899560a9f6798cbb9b396c2009865b2aaf98eaee650cc3421fbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking futures v0.1.28
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking rustc-demangle v0.1.15
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling backtrace-sys v0.1.30
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]    Compiling regex v1.1.9
[INFO] [stderr]     Checking tokio-executor v0.1.8
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking tokio-sync v0.1.6
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking crossbeam-epoch v0.7.1
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.4
[INFO] [stderr]     Checking regex-syntax v0.6.8
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling unicase v2.4.0
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking utf8-ranges v1.0.3
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking http v0.1.17
[INFO] [stderr]    Compiling miniz_oxide_c_api v0.2.2
[INFO] [stderr]     Checking tokio-threadpool v0.1.15
[INFO] [stderr]     Checking threadpool v1.7.1
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking pdqselect v0.1.0
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking miniz_oxide v0.2.2
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking tokio-current-thread v0.1.6
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking rstar v0.2.0
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking tokio-buf v0.1.1
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]    Compiling hyper v0.12.31
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking backtrace v0.3.32
[INFO] [stderr]    Compiling encoding_rs v0.8.17
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking indexmap v1.0.2
[INFO] [stderr]    Compiling mime_guess v2.0.0-alpha.6
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking geo-types v0.4.3
[INFO] [stderr]     Checking want v0.2.0
[INFO] [stderr]     Checking mime v0.3.13
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking try_from v0.3.2
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking dtoa v0.4.4
[INFO] [stderr]     Checking flate2 v1.0.9
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling nom v2.2.1
[INFO] [stderr]     Checking humantime v1.2.0
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking crossbeam-channel v0.3.8
[INFO] [stderr]     Checking termcolor v1.0.5
[INFO] [stderr]     Checking fluent_builder v0.6.0
[INFO] [stderr]     Checking cookie v0.12.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking h2 v0.1.25
[INFO] [stderr]     Checking http-body v0.1.0
[INFO] [stderr]     Checking uuid v0.6.5
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]     Checking publicsuffix v1.5.2
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]    Compiling serde_derive_internals v0.15.1
[INFO] [stderr]     Checking geohash v0.9.0
[INFO] [stderr]     Checking geo v0.12.2
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking serde_urlencoded v0.5.5
[INFO] [stderr]     Checking chrono v0.4.7
[INFO] [stderr]     Checking cookie_store v0.7.0
[INFO] [stderr]     Checking geojson v0.16.0
[INFO] [stderr]     Checking reqwest v0.9.18
[INFO] [stderr]    Compiling elastic_derive v0.21.0-pre.5
[INFO] [stderr]     Checking elastic v0.21.0-pre.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / quick_error! {
[INFO] [stdout] 112 | |     /** An error parsing a REST API response to a success value. */
[INFO] [stdout] 113 | |     #[derive(Debug)]
[INFO] [stdout] 114 | |     pub enum ResponseError {
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | #![deny(warnings, missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / quick_error! {
[INFO] [stdout] 112 | |     /** An error parsing a REST API response to a success value. */
[INFO] [stdout] 113 | |     #[derive(Debug)]
[INFO] [stdout] 114 | |     pub enum ResponseError {
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | / quick_error! {
[INFO] [stdout] 127 | |     /** A REST API error response. */
[INFO] [stdout] 128 | |     #[derive(Debug, PartialEq)]
[INFO] [stdout] 129 | |     pub enum ApiError {
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |     }
[INFO] [stdout] 185 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/sender/static_nodes.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout] 94  | / quick_error! {
[INFO] [stdout] 95  | |     /**
[INFO] [stdout] 96  | |     An error attempting to get an address using a strategy.
[INFO] [stdout] 97  | |     */
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |     }
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/sender/static_nodes.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout] 94  | / quick_error! {
[INFO] [stdout] 95  | |     /**
[INFO] [stdout] 96  | |     An error attempting to get an address using a strategy.
[INFO] [stdout] 97  | |     */
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |     }
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / quick_error! {
[INFO] [stdout] 112 | |     /** An error parsing a REST API response to a success value. */
[INFO] [stdout] 113 | |     #[derive(Debug)]
[INFO] [stdout] 114 | |     pub enum ResponseError {
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | #![deny(warnings, missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / quick_error! {
[INFO] [stdout] 112 | |     /** An error parsing a REST API response to a success value. */
[INFO] [stdout] 113 | |     #[derive(Debug)]
[INFO] [stdout] 114 | |     pub enum ResponseError {
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |     }
[INFO] [stdout] 124 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | / quick_error! {
[INFO] [stdout] 127 | |     /** A REST API error response. */
[INFO] [stdout] 128 | |     #[derive(Debug, PartialEq)]
[INFO] [stdout] 129 | |     pub enum ApiError {
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |     }
[INFO] [stdout] 185 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/sender/static_nodes.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout] 94  | / quick_error! {
[INFO] [stdout] 95  | |     /**
[INFO] [stdout] 96  | |     An error attempting to get an address using a strategy.
[INFO] [stdout] 97  | |     */
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |     }
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/sender/static_nodes.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout] 94  | / quick_error! {
[INFO] [stdout] 95  | |     /**
[INFO] [stdout] 96  | |     An error attempting to get an address using a strategy.
[INFO] [stdout] 97  | |     */
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |     }
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |         self.0.description()
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |         self.inner.description()
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |         self.0.description()
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |         self.inner.description()
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |         self.inner.description()
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/date/format.rs:305:52
[INFO] [stdout]     |
[INFO] [stdout] 305 |             ParseErrorKind::Chrono(ref err) => err.description(),
[INFO] [stdout]     |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types/date/formats.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 |             .map_err(|e| e.description().to_string())?;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/ip/impls.rs:154:68
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     Ipv4Addr::from_str(&v).map_err(|e| E::custom(e.description().to_string()))?;
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/ip/impls.rs:164:67
[INFO] [stdout]     |
[INFO] [stdout] 164 |                     Ipv4Addr::from_str(v).map_err(|e| E::custom(e.description().to_string()))?;
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/http/receiver/error.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |         self.inner.description()
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/date/format.rs:305:52
[INFO] [stdout]     |
[INFO] [stdout] 305 |             ParseErrorKind::Chrono(ref err) => err.description(),
[INFO] [stdout]     |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types/date/formats.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 |             .map_err(|e| e.description().to_string())?;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/ip/impls.rs:154:68
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     Ipv4Addr::from_str(&v).map_err(|e| E::custom(e.description().to_string()))?;
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/types/ip/impls.rs:164:67
[INFO] [stdout]     |
[INFO] [stdout] 164 |                     Ipv4Addr::from_str(v).map_err(|e| E::custom(e.description().to_string()))?;
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `shards` is never read
[INFO] [stdout]    --> src/client/responses/bulk.rs:423:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub struct OkItem<
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 423 |     shards: Option<Shards>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `status` is never read
[INFO] [stdout]    --> src/client/responses/bulk.rs:590:5
[INFO] [stdout]     |
[INFO] [stdout] 578 | struct ItemDeInner<TIndex, TType, TId> {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 590 |     status: u16,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_delete.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct DeleteResponse {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_get.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct GetResponse<T> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_update.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct UpdateResponse {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `tagline` is never read
[INFO] [stdout]   --> src/client/responses/ping.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct PingResponse {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     tagline: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `relation` is never read
[INFO] [stdout]   --> src/client/responses/search.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct HitsTotal {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 89 |     value: u64,
[INFO] [stdout] 90 |     relation: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HitsTotal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]    --> src/client/responses/search.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub struct Hit<T> {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 267 |     routing: Option<String>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `current_row_finished` is never read
[INFO] [stdout]    --> src/client/responses/search.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct Aggs<'a> {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 327 |     current_row: Option<RowData<'a>>,
[INFO] [stdout] 328 |     current_row_finished: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait `StdField` is never used
[INFO] [stdout]   --> src/types/private/field.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait StdField<TStd>
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/bulk/operation.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BulkHeader`
[INFO] [stdout] 44 | struct BulkHeader {
[INFO] [stdout]    |        ---------- `BulkHeader` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Doc`
[INFO] [stdout] 18 | pub struct Doc<TDocument> {
[INFO] [stdout]    |            --- `Doc` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Script`
[INFO] [stdout] 70 | pub struct Script<TParams> {
[INFO] [stdout]    |            ------ `Script` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ScriptInner`
[INFO] [stdout] 85 | struct ScriptInner<TParams> {
[INFO] [stdout]    |        ----------- `ScriptInner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BulkResponse`
[INFO] [stdout] ...
[INFO] [stdout] 154 | pub struct BulkResponse<
[INFO] [stdout]     |            ------------ `BulkResponse` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:316:10
[INFO] [stdout]     |
[INFO] [stdout] 316 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BulkErrorsResponse`
[INFO] [stdout] ...
[INFO] [stdout] 320 | pub struct BulkErrorsResponse<
[INFO] [stdout]     |            ------------------ `BulkErrorsResponse` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:550:10
[INFO] [stdout]     |
[INFO] [stdout] 550 | #[derive(Deserialize, Debug, Clone, Copy, PartialEq, Eq)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Action`
[INFO] [stdout] 551 | pub enum Action {
[INFO] [stdout]     |          ------ `Action` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:577:10
[INFO] [stdout]     |
[INFO] [stdout] 577 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ItemDeInner`
[INFO] [stdout] 578 | struct ItemDeInner<TIndex, TType, TId> {
[INFO] [stdout]     |        ----------- `ItemDeInner` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/client/responses/command.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Deserialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandResponse`
[INFO] [stdout] 9 | pub struct CommandResponse {
[INFO] [stdout]   |            --------------- `CommandResponse` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/common.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Deserialize, Debug, Clone, Copy)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Shards`
[INFO] [stdout] 10 | pub struct Shards {
[INFO] [stdout]    |            ------ `Shards` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/common.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Clone, Copy, Deserialize, Debug, PartialEq, Eq)]
[INFO] [stdout]    |                       ^----------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `Deserialize` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocumentResult`
[INFO] [stdout] 34 | pub(crate) enum DocumentResult {
[INFO] [stdout]    |                 -------------- `DocumentResult` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_delete.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeleteResponse`
[INFO] [stdout] 28 | pub struct DeleteResponse {
[INFO] [stdout]    |            -------------- `DeleteResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_get.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GetResponse`
[INFO] [stdout] 26 | pub struct GetResponse<T> {
[INFO] [stdout]    |            ----------- `GetResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_index.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IndexResponse`
[INFO] [stdout] 21 | pub struct IndexResponse {
[INFO] [stdout]    |            ------------- `IndexResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_update.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UpdateResponse`
[INFO] [stdout] 18 | pub struct UpdateResponse {
[INFO] [stdout]    |            -------------- `UpdateResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodesInfoResponse`
[INFO] [stdout] 20 | pub struct NodesInfoResponse {
[INFO] [stdout]    |            ----------------- `NodesInfoResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SniffedNode`
[INFO] [stdout] 26 | struct SniffedNode {
[INFO] [stdout]    |        ----------- `SniffedNode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SniffedNodeHttp`
[INFO] [stdout] 31 | struct SniffedNodeHttp {
[INFO] [stdout]    |        --------------- `SniffedNodeHttp` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/client/responses/ping.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Deserialize, Debug)]
[INFO] [stdout]   |          ^----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Deserialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PingResponse`
[INFO] [stdout] 9 | pub struct PingResponse {
[INFO] [stdout]   |            ------------ `PingResponse` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/ping.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClusterVersion`
[INFO] [stdout] 18 | pub struct ClusterVersion {
[INFO] [stdout]    |            -------------- `ClusterVersion` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SearchResponse`
[INFO] [stdout] 68 | pub struct SearchResponse<T> {
[INFO] [stdout]    |            -------------- `SearchResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HitsWrapper`
[INFO] [stdout] 80 | struct HitsWrapper<T> {
[INFO] [stdout]    |        ----------- `HitsWrapper` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HitsTotal`
[INFO] [stdout] 88 | struct HitsTotal {
[INFO] [stdout]    |        --------- `HitsTotal` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/search.rs:252:10
[INFO] [stdout]     |
[INFO] [stdout] 252 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Hit`
[INFO] [stdout] 253 | pub struct Hit<T> {
[INFO] [stdout]     |            --- `Hit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/search.rs:319:10
[INFO] [stdout]     |
[INFO] [stdout] 319 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_AggsWrapper`
[INFO] [stdout] 320 | struct AggsWrapper(Value);
[INFO] [stdout]     |        ----------- `AggsWrapper` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlQueryResponse`
[INFO] [stdout] 10 | pub struct SqlQueryResponse {
[INFO] [stdout]    |            ---------------- `SqlQueryResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlRow`
[INFO] [stdout] 29 | pub struct SqlRow(Vec<Value>);
[INFO] [stdout]    |            ------ `SqlRow` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlColumn`
[INFO] [stdout] 40 | pub struct SqlColumn {
[INFO] [stdout]    |            --------- `SqlColumn` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/index_exists.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IndicesExistsResponse`
[INFO] [stdout] 19 | pub struct IndicesExistsResponse {
[INFO] [stdout]    |            --------------------- `IndicesExistsResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/geo/point/formats.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GeoPointObjectType`
[INFO] [stdout] 35 | struct GeoPointObjectType {
[INFO] [stdout]    |        ------------------ `GeoPointObjectType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/geo/point/formats.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GeoPointObjectType`
[INFO] [stdout] 35 | struct GeoPointObjectType {
[INFO] [stdout]    |        ------------------ `GeoPointObjectType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elastic` (lib) due to 53 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: field `shards` is never read
[INFO] [stdout]    --> src/client/responses/bulk.rs:423:5
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub struct OkItem<
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 423 |     shards: Option<Shards>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `status` is never read
[INFO] [stdout]    --> src/client/responses/bulk.rs:590:5
[INFO] [stdout]     |
[INFO] [stdout] 578 | struct ItemDeInner<TIndex, TType, TId> {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 590 |     status: u16,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ItemDeInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_delete.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct DeleteResponse {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeleteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_get.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct GetResponse<T> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]   --> src/client/responses/document_update.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct UpdateResponse {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     routing: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdateResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `tagline` is never read
[INFO] [stdout]   --> src/client/responses/ping.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct PingResponse {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     tagline: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PingResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `relation` is never read
[INFO] [stdout]   --> src/client/responses/search.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct HitsTotal {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 89 |     value: u64,
[INFO] [stdout] 90 |     relation: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HitsTotal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `routing` is never read
[INFO] [stdout]    --> src/client/responses/search.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub struct Hit<T> {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 267 |     routing: Option<String>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Hit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `current_row_finished` is never read
[INFO] [stdout]    --> src/client/responses/search.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct Aggs<'a> {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 327 |     current_row: Option<RowData<'a>>,
[INFO] [stdout] 328 |     current_row_finished: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Aggs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait `StdField` is never used
[INFO] [stdout]   --> src/types/private/field.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait StdField<TStd>
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `ignored_field` is never read
[INFO] [stdout]    --> src/types/document/impls.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 330 |     pub struct CustomType {
[INFO] [stdout]     |                ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 333 |         pub ignored_field: i32,
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:14
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TestDoc`
[INFO] [stdout] 458 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 459 |     struct TestDoc {}
[INFO] [stdout]     |            ------- `TestDoc` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDocMapping` is not local
[INFO] [stdout]     |                         `ObjectMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/search.rs:457:25
[INFO] [stdout]     |
[INFO] [stdout] 457 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDocMapping` is not local
[INFO] [stdout]     |              `ObjectMapping` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `ObjectFieldType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `DocumentType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `StaticIndex` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `StaticType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_delete.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `PropertiesMapping` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |              ^----------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Deserialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TestDoc`
[INFO] [stdout] 363 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 364 |     struct TestDoc {}
[INFO] [stdout]     |            ------- `TestDoc` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDocMapping` is not local
[INFO] [stdout]     |                           `ObjectMapping` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDoc` is not local
[INFO] [stdout]     |                           `ObjectFieldType` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDoc` is not local
[INFO] [stdout]     |                           `DocumentType` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDoc` is not local
[INFO] [stdout]     |                           `StaticIndex` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDoc` is not local
[INFO] [stdout]     |                           `StaticType` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_get.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Deserialize, ElasticType)]
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           `TestDoc` is not local
[INFO] [stdout]     |                           `PropertiesMapping` is not local
[INFO] [stdout]     |                           move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:14
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TestDoc`
[INFO] [stdout] 409 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 410 |     struct TestDoc {}
[INFO] [stdout]     |            ------- `TestDoc` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDocMapping` is not local
[INFO] [stdout]     |                         `ObjectMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_index.rs:408:25
[INFO] [stdout]     |
[INFO] [stdout] 408 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDocMapping` is not local
[INFO] [stdout]     |              `ObjectMapping` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `ObjectFieldType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `DocumentType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `StaticIndex` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `StaticType` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_put_mapping.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[derive(ElasticType)]
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `TestDoc` is not local
[INFO] [stdout]     |              `PropertiesMapping` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:14
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TestDoc`
[INFO] [stdout] 717 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 718 |     struct TestDoc {}
[INFO] [stdout]     |            ------- `TestDoc` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDocMapping` is not local
[INFO] [stdout]     |                         `ObjectMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:716:25
[INFO] [stdout]     |
[INFO] [stdout] 716 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `TestDoc` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TestDoc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/requests/document_update.rs:877:18
[INFO] [stdout]     |
[INFO] [stdout] 877 |         #[derive(Serialize)]
[INFO] [stdout]     |                  ^--------
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  `Serialize` is not local
[INFO] [stdout]     |                  move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MyParams` and up 2 bodies
[INFO] [stdout] 878 |         struct MyParams {
[INFO] [stdout]     |                -------- `MyParams` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/bulk/operation.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BulkHeader`
[INFO] [stdout] 44 | struct BulkHeader {
[INFO] [stdout]    |        ---------- `BulkHeader` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Doc`
[INFO] [stdout] 18 | pub struct Doc<TDocument> {
[INFO] [stdout]    |            --- `Doc` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Script`
[INFO] [stdout] 70 | pub struct Script<TParams> {
[INFO] [stdout]    |            ------ `Script` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/requests/common.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ScriptInner`
[INFO] [stdout] 85 | struct ScriptInner<TParams> {
[INFO] [stdout]    |        ----------- `ScriptInner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BulkResponse`
[INFO] [stdout] ...
[INFO] [stdout] 154 | pub struct BulkResponse<
[INFO] [stdout]     |            ------------ `BulkResponse` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:316:10
[INFO] [stdout]     |
[INFO] [stdout] 316 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BulkErrorsResponse`
[INFO] [stdout] ...
[INFO] [stdout] 320 | pub struct BulkErrorsResponse<
[INFO] [stdout]     |            ------------------ `BulkErrorsResponse` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:550:10
[INFO] [stdout]     |
[INFO] [stdout] 550 | #[derive(Deserialize, Debug, Clone, Copy, PartialEq, Eq)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Action`
[INFO] [stdout] 551 | pub enum Action {
[INFO] [stdout]     |          ------ `Action` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/bulk.rs:577:10
[INFO] [stdout]     |
[INFO] [stdout] 577 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ItemDeInner`
[INFO] [stdout] 578 | struct ItemDeInner<TIndex, TType, TId> {
[INFO] [stdout]     |        ----------- `ItemDeInner` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/client/responses/command.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Deserialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandResponse`
[INFO] [stdout] 9 | pub struct CommandResponse {
[INFO] [stdout]   |            --------------- `CommandResponse` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/common.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Deserialize, Debug, Clone, Copy)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Shards`
[INFO] [stdout] 10 | pub struct Shards {
[INFO] [stdout]    |            ------ `Shards` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/common.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Clone, Copy, Deserialize, Debug, PartialEq, Eq)]
[INFO] [stdout]    |                       ^----------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       `Deserialize` is not local
[INFO] [stdout]    |                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocumentResult`
[INFO] [stdout] 34 | pub(crate) enum DocumentResult {
[INFO] [stdout]    |                 -------------- `DocumentResult` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_delete.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeleteResponse`
[INFO] [stdout] 28 | pub struct DeleteResponse {
[INFO] [stdout]    |            -------------- `DeleteResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_get.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GetResponse`
[INFO] [stdout] 26 | pub struct GetResponse<T> {
[INFO] [stdout]    |            ----------- `GetResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_index.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IndexResponse`
[INFO] [stdout] 21 | pub struct IndexResponse {
[INFO] [stdout]    |            ------------- `IndexResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/document_update.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UpdateResponse`
[INFO] [stdout] 18 | pub struct UpdateResponse {
[INFO] [stdout]    |            -------------- `UpdateResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodesInfoResponse`
[INFO] [stdout] 20 | pub struct NodesInfoResponse {
[INFO] [stdout]    |            ----------------- `NodesInfoResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SniffedNode`
[INFO] [stdout] 26 | struct SniffedNode {
[INFO] [stdout]    |        ----------- `SniffedNode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/nodes_info.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, PartialEq, Deserialize)]
[INFO] [stdout]    |                            ^----------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Deserialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SniffedNodeHttp`
[INFO] [stdout] 31 | struct SniffedNodeHttp {
[INFO] [stdout]    |        --------------- `SniffedNodeHttp` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/client/responses/ping.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Deserialize, Debug)]
[INFO] [stdout]   |          ^----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Deserialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PingResponse`
[INFO] [stdout] 9 | pub struct PingResponse {
[INFO] [stdout]   |            ------------ `PingResponse` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/ping.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClusterVersion`
[INFO] [stdout] 18 | pub struct ClusterVersion {
[INFO] [stdout]    |            -------------- `ClusterVersion` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SearchResponse`
[INFO] [stdout] 68 | pub struct SearchResponse<T> {
[INFO] [stdout]    |            -------------- `SearchResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HitsWrapper`
[INFO] [stdout] 80 | struct HitsWrapper<T> {
[INFO] [stdout]    |        ----------- `HitsWrapper` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/search.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HitsTotal`
[INFO] [stdout] 88 | struct HitsTotal {
[INFO] [stdout]    |        --------- `HitsTotal` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/search.rs:252:10
[INFO] [stdout]     |
[INFO] [stdout] 252 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Hit`
[INFO] [stdout] 253 | pub struct Hit<T> {
[INFO] [stdout]     |            --- `Hit` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/client/responses/search.rs:319:10
[INFO] [stdout]     |
[INFO] [stdout] 319 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^----------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Deserialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_AggsWrapper`
[INFO] [stdout] 320 | struct AggsWrapper(Value);
[INFO] [stdout]     |        ----------- `AggsWrapper` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlQueryResponse`
[INFO] [stdout] 10 | pub struct SqlQueryResponse {
[INFO] [stdout]    |            ---------------- `SqlQueryResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlRow`
[INFO] [stdout] 29 | pub struct SqlRow(Vec<Value>);
[INFO] [stdout]    |            ------ `SqlRow` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/sql.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SqlColumn`
[INFO] [stdout] 40 | pub struct SqlColumn {
[INFO] [stdout]    |            --------- `SqlColumn` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/index_exists.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Deserialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IndicesExistsResponse`
[INFO] [stdout] 19 | pub struct IndicesExistsResponse {
[INFO] [stdout]    |            --------------------- `IndicesExistsResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/client/responses/tests/search/mod.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[derive(Deserialize)]
[INFO] [stdout]    |              ^----------
[INFO] [stdout]    |              |
[INFO] [stdout]    |              `Deserialize` is not local
[INFO] [stdout]    |              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Event` and up 2 bodies
[INFO] [stdout] 38 |     struct Event {
[INFO] [stdout]    |            ----- `Event` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         AsyncBody::from(String::new());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let _ = AsyncBody::from(String::new());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         AsyncBody::from("abc");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let _ = AsyncBody::from("abc");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         AsyncBody::from(Vec::new());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let _ = AsyncBody::from(Vec::new());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         AsyncBody::from(BODY);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let _ = AsyncBody::from(BODY);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |         AsyncBody::from(empty_body());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let _ = AsyncBody::from(empty_body());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/asynchronous.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         AsyncBody::from(json!({}));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let _ = AsyncBody::from(json!({}));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         SyncBody::from(String::new());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let _ = SyncBody::from(String::new());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |         SyncBody::from("abc");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let _ = SyncBody::from("abc");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         SyncBody::from(Vec::new());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let _ = SyncBody::from(Vec::new());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         SyncBody::from(BODY);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 237 |         let _ = SyncBody::from(BODY);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         SyncBody::from(empty_body());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let _ = SyncBody::from(empty_body());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::convert::From::from` that must be used
[INFO] [stdout]    --> src/http/synchronous.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |         SyncBody::from(json!({}));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let _ = SyncBody::from(json!({}));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:18
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                  ^--------
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  `Serialize` is not local
[INFO] [stdout]     |                  move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout] 298 |         #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 299 |         pub struct TypeInFn {
[INFO] [stdout]     |                    -------- `TypeInFn` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFnMapping` is not local
[INFO] [stdout]     |                             `ObjectMapping` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFn` is not local
[INFO] [stdout]     |                             `ObjectFieldType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFn` is not local
[INFO] [stdout]     |                             `DocumentType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFn` is not local
[INFO] [stdout]     |                             `StaticIndex` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFn` is not local
[INFO] [stdout]     |                             `StaticType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:297:29
[INFO] [stdout]     |
[INFO] [stdout] 297 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeInFn` is not local
[INFO] [stdout]     |                             `PropertiesMapping` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeInFn` and up 2 bodies
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:21
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                     ^--------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `Serialize` is not local
[INFO] [stdout]     |                     move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SimpleType`
[INFO] [stdout] 310 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 311 |     pub struct SimpleType {
[INFO] [stdout]     |                ---------- `SimpleType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleTypeMapping` is not local
[INFO] [stdout]     |                                `ObjectMapping` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleType` is not local
[INFO] [stdout]     |                                `ObjectFieldType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleType` is not local
[INFO] [stdout]     |                                `DocumentType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleType` is not local
[INFO] [stdout]     |                                `StaticIndex` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleType` is not local
[INFO] [stdout]     |                                `StaticType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:309:32
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleType` is not local
[INFO] [stdout]     |                                `PropertiesMapping` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:21
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                     ^--------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `Serialize` is not local
[INFO] [stdout]     |                     move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SimpleNestedType`
[INFO] [stdout] 317 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 318 |     pub struct SimpleNestedType {
[INFO] [stdout]     |                ---------------- `SimpleNestedType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedTypeMapping` is not local
[INFO] [stdout]     |                                `ObjectMapping` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedType` is not local
[INFO] [stdout]     |                                `ObjectFieldType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedType` is not local
[INFO] [stdout]     |                                `DocumentType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedType` is not local
[INFO] [stdout]     |                                `StaticIndex` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedType` is not local
[INFO] [stdout]     |                                `StaticType` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:316:32
[INFO] [stdout]     |
[INFO] [stdout] 316 |     #[derive(Clone, Serialize, ElasticType)]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `SimpleNestedType` is not local
[INFO] [stdout]     |                                `PropertiesMapping` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_SimpleNestedType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CustomType`
[INFO] [stdout] ...
[INFO] [stdout] 330 |     pub struct CustomType {
[INFO] [stdout]     |                ---------- `CustomType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:25
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `CustomType` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_CustomType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:25
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `CustomType` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_CustomType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:25
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `CustomType` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_CustomType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:25
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `CustomType` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_CustomType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:322:25
[INFO] [stdout]     |
[INFO] [stdout] 322 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `CustomType` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_CustomType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:14
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Wrapped`
[INFO] [stdout] 351 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 352 |     pub struct Wrapped {
[INFO] [stdout]     |                ------- `Wrapped` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `WrappedMapping` is not local
[INFO] [stdout]     |                         `ObjectMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Wrapped` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Wrapped` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Wrapped` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Wrapped` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:350:25
[INFO] [stdout]     |
[INFO] [stdout] 350 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `Wrapped` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_Wrapped`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |              ^--------
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `Serialize` is not local
[INFO] [stdout]     |              move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NoProps`
[INFO] [stdout] 363 |     #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 364 |     pub struct NoProps {}
[INFO] [stdout]     |                ------- `NoProps` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoPropsMapping` is not local
[INFO] [stdout]     |                         `ObjectMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoProps` is not local
[INFO] [stdout]     |                         `ObjectFieldType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoProps` is not local
[INFO] [stdout]     |                         `DocumentType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoProps` is not local
[INFO] [stdout]     |                         `StaticIndex` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoProps` is not local
[INFO] [stdout]     |                         `StaticType` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `NoProps` is not local
[INFO] [stdout]     |                         `PropertiesMapping` is not local
[INFO] [stdout]     |                         move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_NoProps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:366:23
[INFO] [stdout]     |
[INFO] [stdout] 366 |     #[derive(Default, Serialize)]
[INFO] [stdout]     |                       ^--------
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       `Serialize` is not local
[INFO] [stdout]     |                       move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Index`
[INFO] [stdout] 367 |     pub struct Index {
[INFO] [stdout]     |                ----- `Index` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:371:23
[INFO] [stdout]     |
[INFO] [stdout] 371 |     #[derive(Default, Serialize)]
[INFO] [stdout]     |                       ^--------
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       `Serialize` is not local
[INFO] [stdout]     |                       move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Mappings`
[INFO] [stdout] 372 |     pub struct Mappings {
[INFO] [stdout]     |                -------- `Mappings` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:18
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                  ^--------
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  `Serialize` is not local
[INFO] [stdout]     |                  move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TypeWithNoPath`
[INFO] [stdout] 283 |         #[elastic(crate_root = "crate::types")]
[INFO] [stdout] 284 |         pub struct TypeWithNoPath {
[INFO] [stdout]     |                    -------------- `TypeWithNoPath` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPathMapping` is not local
[INFO] [stdout]     |                             `ObjectMapping` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPath` is not local
[INFO] [stdout]     |                             `ObjectFieldType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPath` is not local
[INFO] [stdout]     |                             `DocumentType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPath` is not local
[INFO] [stdout]     |                             `StaticIndex` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPath` is not local
[INFO] [stdout]     |                             `StaticType` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/types/document/impls.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[derive(Serialize, ElasticType)]
[INFO] [stdout]     |                             ^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `TypeWithNoPath` is not local
[INFO] [stdout]     |                             `PropertiesMapping` is not local
[INFO] [stdout]     |                             move the `impl` block outside of this constant `_IMPL_EASTIC_TYPE_FOR_TypeWithNoPath`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ElasticType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ElasticType` may come from an old version of the `elastic_derive` crate, try updating your dependency with `cargo update -p elastic_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this error originates in the derive macro `ElasticType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/geo/point/formats.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GeoPointObjectType`
[INFO] [stdout] 35 | struct GeoPointObjectType {
[INFO] [stdout]    |        ------------------ `GeoPointObjectType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/geo/point/formats.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GeoPointObjectType`
[INFO] [stdout] 35 | struct GeoPointObjectType {
[INFO] [stdout]    |        ------------------ `GeoPointObjectType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elastic` (lib test) due to 158 previous errors
[INFO] running `Command { std: "docker" "inspect" "2b65b9a5dff6899560a9f6798cbb9b396c2009865b2aaf98eaee650cc3421fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b65b9a5dff6899560a9f6798cbb9b396c2009865b2aaf98eaee650cc3421fbe", kill_on_drop: false }`
[INFO] [stdout] 2b65b9a5dff6899560a9f6798cbb9b396c2009865b2aaf98eaee650cc3421fbe
