[INFO] fetching crate hyperdrive 0.2.0... [INFO] checking hyperdrive-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate hyperdrive 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate hyperdrive 0.2.0 [INFO] finished tweaking crates.io crate hyperdrive 0.2.0 [INFO] tweaked toml for crates.io crate hyperdrive 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperdrive 0.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.8.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.24) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.48.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4dff9ca2c42f62b784c1cff96993309d9e726f0fbdce1e55cb71916e089ead [INFO] running `Command { std: "docker" "start" "-a" "7d4dff9ca2c42f62b784c1cff96993309d9e726f0fbdce1e55cb71916e089ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4dff9ca2c42f62b784c1cff96993309d9e726f0fbdce1e55cb71916e089ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4dff9ca2c42f62b784c1cff96993309d9e726f0fbdce1e55cb71916e089ead", kill_on_drop: false }` [INFO] [stdout] 7d4dff9ca2c42f62b784c1cff96993309d9e726f0fbdce1e55cb71916e089ead [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 881c2c5690b26697a2831d71303e33a007acfaebf7eb54d7d3a1c98efe97e8b9 [INFO] running `Command { std: "docker" "start" "-a" "881c2c5690b26697a2831d71303e33a007acfaebf7eb54d7d3a1c98efe97e8b9", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hyperderive v0.0.3 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyperdrive v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/readme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = $e] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/readme.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 432 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 433 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 434 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/readme.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/forward_pollution.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Outer` [INFO] [stdout] 13 | enum Outer { [INFO] [stdout] | ----- `Outer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/forward_pollution.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` [INFO] [stdout] 24 | #[get("/")] [INFO] [stdout] 25 | struct Inner; [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyGuard` is never constructed [INFO] [stdout] --> tests/ice.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyGuard; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generic` is never constructed [INFO] [stdout] --> tests/ice.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Generic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/ice.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` [INFO] [stdout] 24 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/catch_unwind.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` [INFO] [stdout] 12 | enum Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - #[context(SpecialContext)] [INFO] [stdout] 142 + #[context SpecialContext ] [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 + #[context SpecialContext ] [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 + #[context SpecialContext ] [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `special` and `normal` are never read [INFO] [stdout] --> tests/from_request.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | struct Route { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 190 | /// Takes a `SpecialContext`. [INFO] [stdout] 191 | special: SpecialGuard, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 192 | /// Takes a `NoContext`. [INFO] [stdout] 193 | normal: MyGuard, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlwaysErr` is never constructed [INFO] [stdout] --> tests/from_request.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | struct AlwaysErr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 45 | #[allow(dead_code)] [INFO] [stdout] 46 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 142 | #[context(SpecialContext)] [INFO] [stdout] 143 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 154 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 189 | struct Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 197 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 230 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/from_request.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error 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] error: could not compile `hyperdrive` (test "from_request") due to 1 previous error; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "881c2c5690b26697a2831d71303e33a007acfaebf7eb54d7d3a1c98efe97e8b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881c2c5690b26697a2831d71303e33a007acfaebf7eb54d7d3a1c98efe97e8b9", kill_on_drop: false }` [INFO] [stdout] 881c2c5690b26697a2831d71303e33a007acfaebf7eb54d7d3a1c98efe97e8b9