[INFO] fetching crate hyperdrive 0.2.0... [INFO] checking hyperdrive-0.2.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate hyperdrive 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate hyperdrive 0.2.0 [INFO] finished tweaking crates.io crate hyperdrive 0.2.0 [INFO] tweaked toml for crates.io crate hyperdrive 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperdrive 0.2.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.11.0 [INFO] [stderr] Downloaded hyperderive v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 429e96114b58acec2d02eda34ab62c1a170d2af7bd75cfe89452c9cd7df5907f [INFO] running `Command { std: "docker" "start" "-a" "429e96114b58acec2d02eda34ab62c1a170d2af7bd75cfe89452c9cd7df5907f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "429e96114b58acec2d02eda34ab62c1a170d2af7bd75cfe89452c9cd7df5907f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429e96114b58acec2d02eda34ab62c1a170d2af7bd75cfe89452c9cd7df5907f", kill_on_drop: false }` [INFO] [stdout] 429e96114b58acec2d02eda34ab62c1a170d2af7bd75cfe89452c9cd7df5907f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2287727fd59de7c215851233ddcfeedbe0b36da5946a00189e4f516ad35d95 [INFO] running `Command { std: "docker" "start" "-a" "ba2287727fd59de7c215851233ddcfeedbe0b36da5946a00189e4f516ad35d95", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling hyperderive v0.0.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyperdrive v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/readme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = $e] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/readme.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 432 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 433 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 434 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/readme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = $e] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/readme.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (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] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u16_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - #[context(SpecialContext)] [INFO] [stdout] 142 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - #[context(SpecialContext)] [INFO] [stdout] 187 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - #[context(SpecialContext)] [INFO] [stdout] 410 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/forward_pollution.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Outer` [INFO] [stdout] 13 | enum Outer { [INFO] [stdout] | ----- `Outer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (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] --> tests/forward_pollution.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` [INFO] [stdout] 24 | #[get("/")] [INFO] [stdout] 25 | struct Inner; [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyGuard` is never constructed [INFO] [stdout] --> tests/ice.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyGuard; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generic` is never constructed [INFO] [stdout] --> tests/ice.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Generic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/ice.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` [INFO] [stdout] 24 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (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] --> tests/catch_unwind.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` [INFO] [stdout] 12 | enum Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 432 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 433 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 434 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `special` and `normal` are never read [INFO] [stdout] --> tests/from_request.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 145 | Variant { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 146 | /// Takes a `SpecialContext`. [INFO] [stdout] 147 | special: SpecialGuard, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 148 | /// Takes a `NoContext`. [INFO] [stdout] 149 | normal: MyGuard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Routes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `special` and `normal` are never read [INFO] [stdout] --> tests/from_request.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | struct Route { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 190 | /// Takes a `SpecialContext`. [INFO] [stdout] 191 | special: SpecialGuard, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 192 | /// Takes a `NoContext`. [INFO] [stdout] 193 | normal: MyGuard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlwaysErr` is never constructed [INFO] [stdout] --> tests/from_request.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | struct AlwaysErr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 45 | #[allow(dead_code)] [INFO] [stdout] 46 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 142 | #[context(SpecialContext)] [INFO] [stdout] 143 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 189 | struct Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 230 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 264 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Options` and up 2 bodies [INFO] [stdout] 274 | #[options("*")] [INFO] [stdout] 275 | struct Options; [INFO] [stdout] | ------- `Options` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 285 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 310 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 390 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `RequestContext` (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] --> tests/from_request.rs:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Struct` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 411 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:501:14 [INFO] [stdout] | [INFO] [stdout] 501 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 502 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Req` and up 2 bodies [INFO] [stdout] 514 | #[get("/")] // FIXME: forbid this? [INFO] [stdout] 515 | struct Req { [INFO] [stdout] | --- `Req` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Enum` and up 2 bodies [INFO] [stdout] 521 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 578 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Wrapper` and up 2 bodies [INFO] [stdout] 600 | enum Wrapper { [INFO] [stdout] | ------- `Wrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 687 | enum Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 699 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:717:14 [INFO] [stdout] | [INFO] [stdout] 717 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 718 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:724:14 [INFO] [stdout] | [INFO] [stdout] 724 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 725 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 758 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:764:14 [INFO] [stdout] | [INFO] [stdout] 764 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 765 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:807:14 [INFO] [stdout] | [INFO] [stdout] 807 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stdout] 808 | #[get("/")] [INFO] [stdout] 809 | struct Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (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] --> tests/from_request.rs:816:14 [INFO] [stdout] | [INFO] [stdout] 816 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 817 | #[get("/")] [INFO] [stdout] 818 | struct Inner {} [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous 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 warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.48s [INFO] running `Command { std: "docker" "inspect" "ba2287727fd59de7c215851233ddcfeedbe0b36da5946a00189e4f516ad35d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2287727fd59de7c215851233ddcfeedbe0b36da5946a00189e4f516ad35d95", kill_on_drop: false }` [INFO] [stdout] ba2287727fd59de7c215851233ddcfeedbe0b36da5946a00189e4f516ad35d95