[INFO] fetching crate aptos-openapi-link 0.1.0...
[INFO] checking aptos-openapi-link-0.1.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate aptos-openapi-link 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate aptos-openapi-link 0.1.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aptos-openapi-link 0.1.0
[INFO] finished tweaking crates.io crate aptos-openapi-link 0.1.0
[INFO] tweaked toml for crates.io crate aptos-openapi-link 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha1 v0.10.6
[INFO] [stderr]   Downloaded poem-openapi-derive v2.0.27
[INFO] [stderr]   Downloaded poem-derive v1.3.59
[INFO] [stderr]   Downloaded toml_edit v0.20.2
[INFO] [stderr]   Downloaded universal-hash v0.5.1
[INFO] [stderr]   Downloaded uncased v0.9.10
[INFO] [stderr]   Downloaded multer v2.1.0
[INFO] [stderr]   Downloaded polyval v0.6.2
[INFO] [stderr]   Downloaded aes v0.8.4
[INFO] [stderr]   Downloaded nix v0.27.1
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded poem v1.3.59
[INFO] [stderr]   Downloaded quick-xml v0.30.0
[INFO] [stderr]   Downloaded poem-openapi v2.0.27
[INFO] [stderr]   Downloaded cipher v0.4.4
[INFO] [stderr]   Downloaded proc-macro-crate v2.0.2
[INFO] [stderr]   Downloaded wildmatch v2.3.1
[INFO] [stderr]   Downloaded toml_datetime v0.6.3
[INFO] [stderr]   Downloaded aead v0.5.2
[INFO] [stderr]   Downloaded headers-core v0.2.0
[INFO] [stderr]   Downloaded rfc7239 v0.1.0
[INFO] [stderr]   Downloaded headers v0.3.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d51746ce7aa47caa9a7b55bad0aa5dc70b2286a11bd8cd2411fb2a4bfe5dfd4a
[INFO] running `Command { std: "docker" "start" "-a" "d51746ce7aa47caa9a7b55bad0aa5dc70b2286a11bd8cd2411fb2a4bfe5dfd4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d51746ce7aa47caa9a7b55bad0aa5dc70b2286a11bd8cd2411fb2a4bfe5dfd4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d51746ce7aa47caa9a7b55bad0aa5dc70b2286a11bd8cd2411fb2a4bfe5dfd4a", kill_on_drop: false }`
[INFO] [stdout] d51746ce7aa47caa9a7b55bad0aa5dc70b2286a11bd8cd2411fb2a4bfe5dfd4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6694cf7b2fd4a5b27b6c0d6830861db7ef48918924507de516a18a4160988a41
[INFO] running `Command { std: "docker" "start" "-a" "6694cf7b2fd4a5b27b6c0d6830861db7ef48918924507de516a18a4160988a41", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking unsafe-libyaml v0.2.10
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]     Checking chrono v0.4.35
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling poem-derive v1.3.59
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking thiserror v1.0.57
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking rfc7239 v0.1.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking wildmatch v2.3.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling poem-openapi-derive v2.0.27
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking serde_yaml v0.9.32
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]     Checking quick-xml v0.26.0
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking poem v1.3.59
[INFO] [stderr]     Checking poem-openapi v2.0.27
[INFO] [stderr]     Checking aptos-openapi-link v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `helpers::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use helpers::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `helpers::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use helpers::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout] 64  | /         impl ::poem_openapi::types::Type for $ty {
[INFO] [stdout] 65  | |             const IS_REQUIRED: bool = true;
[INFO] [stdout] 66  | |
[INFO] [stdout] 67  | |             type RawValueType = Self;
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             }
[INFO] [stdout] 118 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |           impl_poem_type!(This, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         impl ::poem_openapi::types::ParseFromJSON for $ty {
[INFO] [stdout] 121 | |             fn parse_from_json(value: Option<serde_json::Value>) -> ::poem_openapi::types::ParseResult<Self> {
[INFO] [stdout] 122 | |                 let value = value.unwrap_or_default();
[INFO] [stdout] 123 | |                 Ok(::serde_json::from_value(value)?)
[INFO] [stdout] 124 | |             }
[INFO] [stdout] 125 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |           impl_poem_type!(This, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | /         impl ::poem_openapi::types::ToJSON for $ty {
[INFO] [stdout] 128 | |             fn to_json(&self) -> Option<serde_json::Value> {
[INFO] [stdout] 129 | |                 serde_json::to_value(self).ok()
[INFO] [stdout] 130 | |             }
[INFO] [stdout] 131 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |           impl_poem_type!(This, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 | /         impl ::poem_openapi::types::ToHeader for $ty {
[INFO] [stdout] 134 | |             fn to_header(&self) -> Option<::poem::http::HeaderValue> {
[INFO] [stdout] 135 | |                 let string = serde_json::to_value(self).ok()?.to_string();
[INFO] [stdout] 136 | |                 ::poem::http::HeaderValue::from_str(&string).ok()
[INFO] [stdout] 137 | |             }
[INFO] [stdout] 138 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |           impl_poem_type!(This, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout] 64  | /         impl ::poem_openapi::types::Type for $ty {
[INFO] [stdout] 65  | |             const IS_REQUIRED: bool = true;
[INFO] [stdout] 66  | |
[INFO] [stdout] 67  | |             type RawValueType = Self;
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             }
[INFO] [stdout] 118 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 199 |           impl_poem_type!(That, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         impl ::poem_openapi::types::ParseFromJSON for $ty {
[INFO] [stdout] 121 | |             fn parse_from_json(value: Option<serde_json::Value>) -> ::poem_openapi::types::ParseResult<Self> {
[INFO] [stdout] 122 | |                 let value = value.unwrap_or_default();
[INFO] [stdout] 123 | |                 Ok(::serde_json::from_value(value)?)
[INFO] [stdout] 124 | |             }
[INFO] [stdout] 125 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 199 |           impl_poem_type!(That, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | /         impl ::poem_openapi::types::ToJSON for $ty {
[INFO] [stdout] 128 | |             fn to_json(&self) -> Option<serde_json::Value> {
[INFO] [stdout] 129 | |                 serde_json::to_value(self).ok()
[INFO] [stdout] 130 | |             }
[INFO] [stdout] 131 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 199 |           impl_poem_type!(That, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 | /         impl ::poem_openapi::types::ToHeader for $ty {
[INFO] [stdout] 134 | |             fn to_header(&self) -> Option<::poem::http::HeaderValue> {
[INFO] [stdout] 135 | |                 let string = serde_json::to_value(self).ok()?.to_string();
[INFO] [stdout] 136 | |                 ::poem::http::HeaderValue::from_str(&string).ok()
[INFO] [stdout] 137 | |             }
[INFO] [stdout] 138 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 199 |           impl_poem_type!(That, "string", ());
[INFO] [stdout]     |           ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | /         impl ::poem_openapi::types::ParseFromParameter for $ty {
[INFO] [stdout] 150 | |             fn parse_from_parameter(value: &str) -> ::poem_openapi::types::ParseResult<Self> {
[INFO] [stdout] 151 | |                 $crate::percent_encoding::percent_decode_str(value)
[INFO] [stdout] 152 | |                     .decode_utf8()
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             }
[INFO] [stdout] 157 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 200 |           impl_poem_parameter!(That);
[INFO] [stdout]     |           -------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_parameter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/helpers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 | /         impl ::poem_openapi::types::ParseFromMultipartField for $ty {
[INFO] [stdout] 161 | |             async fn parse_from_multipart(field: Option<::poem::web::Field>) -> ::poem_openapi::types::ParseResult<Self> {
[INFO] [stdout] 162 | |                 match field {
[INFO] [stdout] 163 | |                     Some(field) => Ok(field.text().await?.parse()?),
[INFO] [stdout] ...   |
[INFO] [stdout] 166 | |             }
[INFO] [stdout] 167 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 200 |           impl_poem_parameter!(That);
[INFO] [stdout]     |           -------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this warning originates in the macro `impl_poem_parameter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.72s
[INFO] running `Command { std: "docker" "inspect" "6694cf7b2fd4a5b27b6c0d6830861db7ef48918924507de516a18a4160988a41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6694cf7b2fd4a5b27b6c0d6830861db7ef48918924507de516a18a4160988a41", kill_on_drop: false }`
[INFO] [stdout] 6694cf7b2fd4a5b27b6c0d6830861db7ef48918924507de516a18a4160988a41
