[INFO] fetching crate hyperdrive 0.2.0... [INFO] testing hyperdrive-0.2.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate hyperdrive 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hyperdrive 0.2.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.2.0) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.5.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.9) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.42.0) [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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a495c5cb68b8ffa3f2802250275fde67bba5563dadadc318401373dca447e07 [INFO] running `Command { std: "docker" "start" "-a" "2a495c5cb68b8ffa3f2802250275fde67bba5563dadadc318401373dca447e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a495c5cb68b8ffa3f2802250275fde67bba5563dadadc318401373dca447e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a495c5cb68b8ffa3f2802250275fde67bba5563dadadc318401373dca447e07", kill_on_drop: false }` [INFO] [stdout] 2a495c5cb68b8ffa3f2802250275fde67bba5563dadadc318401373dca447e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9831bb602cf45ad28d54b68f2088ccfb056200ef5f6c5529e430555e6ae9724 [INFO] running `Command { std: "docker" "start" "-a" "e9831bb602cf45ad28d54b68f2088ccfb056200ef5f6c5529e430555e6ae9724", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.13.1 [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.216 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyperderive v0.0.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyperdrive v0.2.0 (/opt/rustwide/workdir) [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.37s [INFO] running `Command { std: "docker" "inspect" "e9831bb602cf45ad28d54b68f2088ccfb056200ef5f6c5529e430555e6ae9724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9831bb602cf45ad28d54b68f2088ccfb056200ef5f6c5529e430555e6ae9724", kill_on_drop: false }` [INFO] [stdout] e9831bb602cf45ad28d54b68f2088ccfb056200ef5f6c5529e430555e6ae9724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48eea479df780770067c3a3ddf1e6c7c586dfb84e5c514b30bf7989caec8645a [INFO] running `Command { std: "docker" "start" "-a" "48eea479df780770067c3a3ddf1e6c7c586dfb84e5c514b30bf7989caec8645a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling base64 v0.10.1 [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] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling hyperdrive v0.2.0 (/opt/rustwide/workdir) [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:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u16_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/ice.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` [INFO] [stdout] 24 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/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: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - #[context(SpecialContext)] [INFO] [stdout] 142 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - #[context(SpecialContext)] [INFO] [stdout] 187 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - #[context(SpecialContext)] [INFO] [stdout] 410 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/catch_unwind.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` [INFO] [stdout] 12 | enum Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 432 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 433 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 434 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `special` and `normal` are never read [INFO] [stdout] --> tests/from_request.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 145 | Variant { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 146 | /// Takes a `SpecialContext`. [INFO] [stdout] 147 | special: SpecialGuard, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 148 | /// Takes a `NoContext`. [INFO] [stdout] 149 | normal: MyGuard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Routes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `special` and `normal` are never read [INFO] [stdout] --> tests/from_request.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | struct Route { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 190 | /// Takes a `SpecialContext`. [INFO] [stdout] 191 | special: SpecialGuard, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 192 | /// Takes a `NoContext`. [INFO] [stdout] 193 | normal: MyGuard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 `test` profile [unoptimized + debuginfo] target(s) in 34.65s [INFO] running `Command { std: "docker" "inspect" "48eea479df780770067c3a3ddf1e6c7c586dfb84e5c514b30bf7989caec8645a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48eea479df780770067c3a3ddf1e6c7c586dfb84e5c514b30bf7989caec8645a", kill_on_drop: false }` [INFO] [stdout] 48eea479df780770067c3a3ddf1e6c7c586dfb84e5c514b30bf7989caec8645a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d05b3b0fc2a865d1002f6ec578685d1ec949e79f55753545203f560564f3e991 [INFO] running `Command { std: "docker" "start" "-a" "d05b3b0fc2a865d1002f6ec578685d1ec949e79f55753545203f560564f3e991", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/readme.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | #[doc = $e] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 6 | extern {} [INFO] [stderr] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stderr] ... [INFO] [stderr] 10 | doc!(include_str!("../README.md")); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `strong_count` and `weak_count` are never read [INFO] [stderr] --> src/service.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 233 | struct HandlerRef { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 234 | strong_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 235 | weak_count: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `strong_count` and `weak_count` are never read [INFO] [stderr] --> src/service.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 432 | struct HandlerRef { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 433 | strong_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 434 | weak_count: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `hyperdrive` (lib) generated 3 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/ice.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` [INFO] [stderr] 24 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/forward_pollution.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Outer` [INFO] [stderr] 13 | enum Outer { [INFO] [stderr] | ----- `Outer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/forward_pollution.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` [INFO] [stderr] 24 | #[get("/")] [INFO] [stderr] 25 | struct Inner; [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:142:14 [INFO] [stderr] | [INFO] [stderr] 142 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 142 - #[context(SpecialContext)] [INFO] [stderr] 142 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:187:14 [INFO] [stderr] | [INFO] [stderr] 187 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 187 - #[context(SpecialContext)] [INFO] [stderr] 187 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:410:14 [INFO] [stderr] | [INFO] [stderr] 410 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 410 - #[context(SpecialContext)] [INFO] [stderr] 410 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `special` and `normal` are never read [INFO] [stderr] --> tests/from_request.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 145 | Variant { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 146 | /// Takes a `SpecialContext`. [INFO] [stderr] 147 | special: SpecialGuard, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 148 | /// Takes a `NoContext`. [INFO] [stderr] 149 | normal: MyGuard, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Routes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `special` and `normal` are never read [INFO] [stderr] --> tests/from_request.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 189 | struct Route { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 190 | /// Takes a `SpecialContext`. [INFO] [stderr] 191 | special: SpecialGuard, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 192 | /// Takes a `NoContext`. [INFO] [stderr] 193 | normal: MyGuard, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 45 | #[allow(dead_code)] [INFO] [stderr] 46 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:141:14 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 142 | #[context(SpecialContext)] [INFO] [stderr] 143 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:186:14 [INFO] [stderr] | [INFO] [stderr] 186 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 189 | struct Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:229:14 [INFO] [stderr] | [INFO] [stderr] 229 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 230 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:263:14 [INFO] [stderr] | [INFO] [stderr] 263 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 264 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:273:14 [INFO] [stderr] | [INFO] [stderr] 273 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Options` and up 2 bodies [INFO] [stderr] 274 | #[options("*")] [INFO] [stderr] 275 | struct Options; [INFO] [stderr] | ------- `Options` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:284:14 [INFO] [stderr] | [INFO] [stderr] 284 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 285 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:309:14 [INFO] [stderr] | [INFO] [stderr] 309 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 310 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:389:14 [INFO] [stderr] | [INFO] [stderr] 389 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 390 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:408:14 [INFO] [stderr] | [INFO] [stderr] 408 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Struct` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 411 | struct Struct { [INFO] [stderr] | ------ `Struct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:501:14 [INFO] [stderr] | [INFO] [stderr] 501 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 502 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:513:14 [INFO] [stderr] | [INFO] [stderr] 513 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Req` and up 2 bodies [INFO] [stderr] 514 | #[get("/")] // FIXME: forbid this? [INFO] [stderr] 515 | struct Req { [INFO] [stderr] | --- `Req` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:520:14 [INFO] [stderr] | [INFO] [stderr] 520 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Enum` and up 2 bodies [INFO] [stderr] 521 | enum Enum { [INFO] [stderr] | ---- `Enum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:577:14 [INFO] [stderr] | [INFO] [stderr] 577 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 578 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:599:14 [INFO] [stderr] | [INFO] [stderr] 599 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Wrapper` and up 2 bodies [INFO] [stderr] 600 | enum Wrapper { [INFO] [stderr] | ------- `Wrapper` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:686:14 [INFO] [stderr] | [INFO] [stderr] 686 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 687 | enum Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:698:14 [INFO] [stderr] | [INFO] [stderr] 698 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 699 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:717:14 [INFO] [stderr] | [INFO] [stderr] 717 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 718 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:724:14 [INFO] [stderr] | [INFO] [stderr] 724 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 725 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:757:14 [INFO] [stderr] | [INFO] [stderr] 757 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 758 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:764:14 [INFO] [stderr] | [INFO] [stderr] 764 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 765 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:807:14 [INFO] [stderr] | [INFO] [stderr] 807 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stderr] 808 | #[get("/")] [INFO] [stderr] 809 | struct Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:816:14 [INFO] [stderr] | [INFO] [stderr] 816 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 817 | #[get("/")] [INFO] [stderr] 818 | struct Inner {} [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/catch_unwind.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` [INFO] [stderr] 12 | enum Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_u16_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hyperdrive` (test "ice") generated 1 warning [INFO] [stderr] warning: `hyperdrive` (test "forward_pollution") generated 2 warnings [INFO] [stderr] warning: `hyperdrive` (test "from_request") generated 37 warnings (run `cargo fix --test "from_request"` to apply 3 suggestions) [INFO] [stderr] warning: `hyperdrive` (test "catch_unwind") generated 1 warning [INFO] [stderr] warning: `hyperdrive` (test "request_context") generated 23 warnings [INFO] [stderr] warning: `hyperdrive` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyperdrive-ebda10310021f8fd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/catch_unwind.rs (/opt/rustwide/target/debug/deps/catch_unwind-e7efa073f59de6af) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Running tests/forward_pollution.rs (/opt/rustwide/target/debug/deps/forward_pollution-2a7058601a08f6d0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/from_request.rs (/opt/rustwide/target/debug/deps/from_request-75b7e8bfb9b63938) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test asterisk ... ok [INFO] [stdout] test context ... ok [INFO] [stdout] test generic_forward ... ok [INFO] [stdout] test klepto_arc ... ok [INFO] [stdout] test query_params ... ok [INFO] [stdout] test generic_guard_struct ... ok [INFO] [stdout] test implicit_head_route ... ok [INFO] [stdout] test generic_guard_struct_2 ... ok [INFO] [stdout] test forward ... ok [INFO] [stdout] test any_placeholder ... ok [INFO] [stdout] test struct_context ... ok [INFO] [stdout] test user_app ... ok [INFO] [stdout] test forward_allowed_methods ... ok [INFO] [stdout] test generic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/ice.rs (/opt/rustwide/target/debug/deps/ice-83fbdd2d16c14d11) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/request_context.rs (/opt/rustwide/target/debug/deps/request_context-9618c8983fccedc3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test empty ... ok [INFO] [stdout] test on_enum ... ok [INFO] [stdout] test unit ... ok [INFO] [stdout] test simple ... ok [INFO] [stderr] Doc-tests hyperdrive [INFO] [stdout] test as_ref_tuple ... ok [INFO] [stdout] test as_ref ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: DefId(0:238 ~ hyperdrive[7462]::FromRequest) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name hyperdrive --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern futures=/opt/rustwide/target/debug/deps/libfutures-913a08ae22c1a7f6.rlib --extern http=/opt/rustwide/target/debug/deps/libhttp-10cdf34bb9da92a3.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-03f932e09e0f7db0.rlib --extern hyperderive=/opt/rustwide/target/debug/deps/libhyperderive-48b71ab67484a1ec.so --extern hyperdrive=/opt/rustwide/target/debug/deps/libhyperdrive-e4f71e16dcc5ab03.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b3603208c0de2608.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-ed00a127b8e728c6.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-a5838319b4d2f996.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-d3a0e559ab19a064.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-41848c27241053db.rlib --extern serde_urlencoded=/opt/rustwide/target/debug/deps/libserde_urlencoded-516549a1eff7e941.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-e2c3dff5860e6a69.rlib --extern tokio_threadpool=/opt/rustwide/target/debug/deps/libtokio_threadpool-ada65bf8b9eef4dd.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "d05b3b0fc2a865d1002f6ec578685d1ec949e79f55753545203f560564f3e991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05b3b0fc2a865d1002f6ec578685d1ec949e79f55753545203f560564f3e991", kill_on_drop: false }` [INFO] [stdout] d05b3b0fc2a865d1002f6ec578685d1ec949e79f55753545203f560564f3e991