[INFO] fetching crate hyperdrive 0.2.0... [INFO] checking hyperdrive-0.2.0 against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042 [INFO] extracting crate hyperdrive 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate hyperdrive 0.2.0 on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 180 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.6.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.15) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.44.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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85e55bf9458d21923b3ae9e5f95a7c396688576e50f7eb04602c64aa16bbbce9 [INFO] running `Command { std: "docker" "start" "-a" "85e55bf9458d21923b3ae9e5f95a7c396688576e50f7eb04602c64aa16bbbce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e55bf9458d21923b3ae9e5f95a7c396688576e50f7eb04602c64aa16bbbce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e55bf9458d21923b3ae9e5f95a7c396688576e50f7eb04602c64aa16bbbce9", kill_on_drop: false }` [INFO] [stdout] 85e55bf9458d21923b3ae9e5f95a7c396688576e50f7eb04602c64aa16bbbce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7296d0d825ac692234bfdbd59b828163f7b3be9ad4a293054635cb68276ecf49 [INFO] running `Command { std: "docker" "start" "-a" "7296d0d825ac692234bfdbd59b828163f7b3be9ad4a293054635cb68276ecf49", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling hyperderive v0.0.3 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking hyperdrive v0.2.0 (/opt/rustwide/workdir) [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 `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: 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 46.59s [INFO] running `Command { std: "docker" "inspect" "7296d0d825ac692234bfdbd59b828163f7b3be9ad4a293054635cb68276ecf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7296d0d825ac692234bfdbd59b828163f7b3be9ad4a293054635cb68276ecf49", kill_on_drop: false }` [INFO] [stdout] 7296d0d825ac692234bfdbd59b828163f7b3be9ad4a293054635cb68276ecf49