[INFO] fetching crate aptos-openapi-link 0.1.0... [INFO] testing aptos-openapi-link-0.1.0 against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] extracting crate aptos-openapi-link 0.1.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aptos-openapi-link 0.1.0 on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 200 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding poem v1.3.59 (available: v3.1.12) [INFO] [stderr] Adding poem-openapi v2.0.27 (available: v5.1.16) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wildmatch v2.6.1 [INFO] [stderr] Downloaded rfc7239 v0.1.3 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded quick-xml v0.26.0 [INFO] [stderr] Downloaded proc-macro-crate v2.0.2 [INFO] [stderr] Downloaded poem-derive v1.3.59 [INFO] [stderr] Downloaded poem-openapi-derive v2.0.27 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded poem v1.3.59 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded quick-xml v0.30.0 [INFO] [stderr] Downloaded poem-openapi v2.0.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d30fa56fba7e9ad345ca1dd9a76b2149db16d683357fa2a7e5df0e1146ceb9 [INFO] running `Command { std: "docker" "start" "-a" "e3d30fa56fba7e9ad345ca1dd9a76b2149db16d683357fa2a7e5df0e1146ceb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d30fa56fba7e9ad345ca1dd9a76b2149db16d683357fa2a7e5df0e1146ceb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d30fa56fba7e9ad345ca1dd9a76b2149db16d683357fa2a7e5df0e1146ceb9", kill_on_drop: false }` [INFO] [stdout] e3d30fa56fba7e9ad345ca1dd9a76b2149db16d683357fa2a7e5df0e1146ceb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f7a0d0b4d91a6e3d7566f0a80ad204b813c28edfe487fbca84693844cabb89 [INFO] running `Command { std: "docker" "start" "-a" "00f7a0d0b4d91a6e3d7566f0a80ad204b813c28edfe487fbca84693844cabb89", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tokio v1.52.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling wildmatch v2.6.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling poem-derive v1.3.59 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling poem-openapi-derive v2.0.27 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling poem v1.3.59 [INFO] [stderr] Compiling poem-openapi v2.0.27 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `This` is never constructed [INFO] [stdout] --> src/helpers.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct This { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `That` is never constructed [INFO] [stdout] --> src/helpers.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | struct That(pub String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "00f7a0d0b4d91a6e3d7566f0a80ad204b813c28edfe487fbca84693844cabb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f7a0d0b4d91a6e3d7566f0a80ad204b813c28edfe487fbca84693844cabb89", kill_on_drop: false }` [INFO] [stdout] 00f7a0d0b4d91a6e3d7566f0a80ad204b813c28edfe487fbca84693844cabb89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b9cdbefc397086f9ac02bacc3e79f55927675f06f305dffd857bee4df90bc11 [INFO] running `Command { std: "docker" "start" "-a" "4b9cdbefc397086f9ac02bacc3e79f55927675f06f305dffd857bee4df90bc11", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aptos-openapi-link v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `This` is never constructed [INFO] [stdout] --> src/helpers.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct This { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `That` is never constructed [INFO] [stdout] --> src/helpers.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | struct That(pub String); [INFO] [stdout] | ^^^^ [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `This` is never constructed [INFO] [stdout] --> src/helpers.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct This { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ^^^^^---------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Type` is not local [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] 197 | impl_poem_type!(This, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `This` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 120 | | impl ::poem_openapi::types::ParseFromJSON for $ty { [INFO] [stdout] | | ^ ------------------------------------ `ParseFromJSON` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] 197 | impl_poem_type!(This, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `This` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 127 | | impl ::poem_openapi::types::ToJSON for $ty { [INFO] [stdout] | | ^ ----------------------------- `ToJSON` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] 197 | impl_poem_type!(This, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `This` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 133 | | impl ::poem_openapi::types::ToHeader for $ty { [INFO] [stdout] | | ^ ------------------------------- `ToHeader` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] 197 | impl_poem_type!(This, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `This` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ^^^^^---------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Type` is not local [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 199 | impl_poem_type!(That, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 120 | | impl ::poem_openapi::types::ParseFromJSON for $ty { [INFO] [stdout] | | ^ ------------------------------------ `ParseFromJSON` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 199 | impl_poem_type!(That, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 127 | | impl ::poem_openapi::types::ToJSON for $ty { [INFO] [stdout] | | ^ ----------------------------- `ToJSON` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 199 | impl_poem_type!(That, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 65 | | const IS_REQUIRED: bool = true; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | type RawValueType = Self; [INFO] [stdout] ... | [INFO] [stdout] 133 | | impl ::poem_openapi::types::ToHeader for $ty { [INFO] [stdout] | | ^ ------------------------------- `ToHeader` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 199 | impl_poem_type!(That, "string", ()); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | impl ::poem_openapi::types::ParseFromParameter for $ty { [INFO] [stdout] | ^^^^^-----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ParseFromParameter` is not local [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 200 | impl_poem_parameter!(That); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_parameter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/helpers.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | impl ::poem_openapi::types::ParseFromParameter for $ty { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 150 | | fn parse_from_parameter(value: &str) -> ::poem_openapi::types::ParseResult { [INFO] [stdout] 151 | | $crate::percent_encoding::percent_decode_str(value) [INFO] [stdout] 152 | | .decode_utf8() [INFO] [stdout] ... | [INFO] [stdout] 159 | | #[async_trait::async_trait] [INFO] [stdout] 160 | | impl ::poem_openapi::types::ParseFromMultipartField for $ty { [INFO] [stdout] | | ^ ---------------------------------------------- `ParseFromMultipartField` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 196 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 200 | impl_poem_parameter!(That); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `That` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_poem_parameter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "4b9cdbefc397086f9ac02bacc3e79f55927675f06f305dffd857bee4df90bc11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9cdbefc397086f9ac02bacc3e79f55927675f06f305dffd857bee4df90bc11", kill_on_drop: false }` [INFO] [stdout] 4b9cdbefc397086f9ac02bacc3e79f55927675f06f305dffd857bee4df90bc11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80034a87034380e2d1127a95ca8a785f0fdd2beca0dd871136ba4add95862ca2 [INFO] running `Command { std: "docker" "start" "-a" "80034a87034380e2d1127a95ca8a785f0fdd2beca0dd871136ba4add95862ca2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `helpers::*` [INFO] [stderr] --> src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use helpers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `This` is never constructed [INFO] [stderr] --> src/helpers.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | struct This { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `That` is never constructed [INFO] [stderr] --> src/helpers.rs:185:12 [INFO] [stderr] | [INFO] [stderr] 185 | struct That(pub String); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ^^^^^---------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Type` is not local [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] 197 | impl_poem_type!(This, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `This` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 120 | | impl ::poem_openapi::types::ParseFromJSON for $ty { [INFO] [stderr] | | ^ ------------------------------------ `ParseFromJSON` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] 197 | impl_poem_type!(This, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `This` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 127 | | impl ::poem_openapi::types::ToJSON for $ty { [INFO] [stderr] | | ^ ----------------------------- `ToJSON` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] 197 | impl_poem_type!(This, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `This` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 133 | | impl ::poem_openapi::types::ToHeader for $ty { [INFO] [stderr] | | ^ ------------------------------- `ToHeader` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] 197 | impl_poem_type!(This, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `This` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ^^^^^---------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Type` is not local [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 199 | impl_poem_type!(That, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 120 | | impl ::poem_openapi::types::ParseFromJSON for $ty { [INFO] [stderr] | | ^ ------------------------------------ `ParseFromJSON` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 199 | impl_poem_type!(That, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 127 | | impl ::poem_openapi::types::ToJSON for $ty { [INFO] [stderr] | | ^ ----------------------------- `ToJSON` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 199 | impl_poem_type!(That, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | impl ::poem_openapi::types::Type for $ty { [INFO] [stderr] | ______________________________________________^ [INFO] [stderr] 65 | | const IS_REQUIRED: bool = true; [INFO] [stderr] 66 | | [INFO] [stderr] 67 | | type RawValueType = Self; [INFO] [stderr] ... | [INFO] [stderr] 133 | | impl ::poem_openapi::types::ToHeader for $ty { [INFO] [stderr] | | ^ ------------------------------- `ToHeader` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 199 | impl_poem_type!(That, "string", ()); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_type` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | impl ::poem_openapi::types::ParseFromParameter for $ty { [INFO] [stderr] | ^^^^^-----------------------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ParseFromParameter` is not local [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 200 | impl_poem_parameter!(That); [INFO] [stderr] | -------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_parameter` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_parameter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/helpers.rs:149:60 [INFO] [stderr] | [INFO] [stderr] 149 | impl ::poem_openapi::types::ParseFromParameter for $ty { [INFO] [stderr] | ____________________________________________________________^ [INFO] [stderr] 150 | | fn parse_from_parameter(value: &str) -> ::poem_openapi::types::ParseResult { [INFO] [stderr] 151 | | $crate::percent_encoding::percent_decode_str(value) [INFO] [stderr] 152 | | .decode_utf8() [INFO] [stderr] ... | [INFO] [stderr] 159 | | #[async_trait::async_trait] [INFO] [stderr] 160 | | impl ::poem_openapi::types::ParseFromMultipartField for $ty { [INFO] [stderr] | | ^ ---------------------------------------------- `ParseFromMultipartField` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 196 | fn test() { [INFO] [stderr] | --------- move the `impl` block outside of this function `test` [INFO] [stderr] ... [INFO] [stderr] 200 | impl_poem_parameter!(That); [INFO] [stderr] | -------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `That` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_poem_parameter` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `impl_poem_parameter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aptos-openapi-link` (lib) generated 3 warnings (run `cargo fix --lib -p aptos-openapi-link` to apply 1 suggestion) [INFO] [stderr] warning: `aptos-openapi-link` (lib test) generated 12 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aptos_openapi_link-be163f2b2c866e30) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test helpers::test::test ... ok [INFO] [stderr] Doc-tests aptos_openapi_link [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80034a87034380e2d1127a95ca8a785f0fdd2beca0dd871136ba4add95862ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80034a87034380e2d1127a95ca8a785f0fdd2beca0dd871136ba4add95862ca2", kill_on_drop: false }` [INFO] [stdout] 80034a87034380e2d1127a95ca8a785f0fdd2beca0dd871136ba4add95862ca2