[INFO] fetching crate hyperdrive 0.2.0... [INFO] testing hyperdrive-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hyperdrive 0.2.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperdrive 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6468681e230828772c6a19d949d0d5c02faad1b67da8a5410eec80fdeab0709c [INFO] running `Command { std: "docker" "start" "-a" "6468681e230828772c6a19d949d0d5c02faad1b67da8a5410eec80fdeab0709c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6468681e230828772c6a19d949d0d5c02faad1b67da8a5410eec80fdeab0709c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6468681e230828772c6a19d949d0d5c02faad1b67da8a5410eec80fdeab0709c", kill_on_drop: false }` [INFO] [stdout] 6468681e230828772c6a19d949d0d5c02faad1b67da8a5410eec80fdeab0709c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] facc535464a34b85697f79e921e0c839dc5ede28dbe6c7445a0579d50d7778e8 [INFO] running `Command { std: "docker" "start" "-a" "facc535464a34b85697f79e921e0c839dc5ede28dbe6c7445a0579d50d7778e8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyperderive v0.0.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyperdrive v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/readme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = $e] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.68s [INFO] running `Command { std: "docker" "inspect" "facc535464a34b85697f79e921e0c839dc5ede28dbe6c7445a0579d50d7778e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facc535464a34b85697f79e921e0c839dc5ede28dbe6c7445a0579d50d7778e8", kill_on_drop: false }` [INFO] [stdout] facc535464a34b85697f79e921e0c839dc5ede28dbe6c7445a0579d50d7778e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0f4add4aa1909e871f70a5023e00ea692f8087b365baeb5a566b5a5271a073f [INFO] running `Command { std: "docker" "start" "-a" "f0f4add4aa1909e871f70a5023e00ea692f8087b365baeb5a566b5a5271a073f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/readme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = $e] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 10 | doc!(include_str!("../README.md")); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (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] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling hyperdrive v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: 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/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stdout] 12 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stdout] 20 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stdout] 28 | struct Simple { [INFO] [stdout] | ------ `Simple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 38 | struct Refs { [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_u16_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stdout] 52 | struct Refs(#[as_ref] u16); [INFO] [stdout] | ---- `Refs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx` and up 2 bodies [INFO] [stdout] 63 | enum Ctx {} [INFO] [stdout] | --- `Ctx` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/request_context.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(RequestContext)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx2` and up 2 bodies [INFO] [stdout] 67 | #[allow(unused)] [INFO] [stdout] 68 | enum Ctx2 { [INFO] [stdout] | ---- `Ctx2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/forward_pollution.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Outer` [INFO] [stdout] 13 | enum Outer { [INFO] [stdout] | ----- `Outer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/forward_pollution.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` [INFO] [stdout] 24 | #[get("/")] [INFO] [stdout] 25 | struct Inner; [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - #[context(SpecialContext)] [INFO] [stdout] 142 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - #[context(SpecialContext)] [INFO] [stdout] 187 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/from_request.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | #[context(SpecialContext)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - #[context(SpecialContext)] [INFO] [stdout] 410 + #[contextSpecialContext] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strong_count` and `weak_count` are never read [INFO] [stdout] --> src/service.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | struct HandlerRef { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | strong_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 235 | weak_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (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: 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 264 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(FromRequest, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Options` and up 2 bodies [INFO] [stdout] 274 | #[options("*")] [INFO] [stdout] 275 | struct Options; [INFO] [stdout] | ------- `Options` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 285 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 310 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stdout] 390 | enum Routes { [INFO] [stdout] | ------ `Routes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `NoContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | #[derive(RequestContext, Debug)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `RequestContext` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stdout] 406 | struct SpecialContext; [INFO] [stdout] | -------------- `SpecialContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Struct` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 411 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:501:14 [INFO] [stdout] | [INFO] [stdout] 501 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 502 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Req` and up 2 bodies [INFO] [stdout] 514 | #[get("/")] // FIXME: forbid this? [INFO] [stdout] 515 | struct Req { [INFO] [stdout] | --- `Req` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Enum` and up 2 bodies [INFO] [stdout] 521 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 578 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Wrapper` and up 2 bodies [INFO] [stdout] 600 | enum Wrapper { [INFO] [stdout] | ------- `Wrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 687 | enum Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 699 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:717:14 [INFO] [stdout] | [INFO] [stdout] 717 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 718 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:724:14 [INFO] [stdout] | [INFO] [stdout] 724 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 725 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stdout] 758 | struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:764:14 [INFO] [stdout] | [INFO] [stdout] 764 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 765 | enum Inner { [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:807:14 [INFO] [stdout] | [INFO] [stdout] 807 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stdout] 808 | #[get("/")] [INFO] [stdout] 809 | struct Route { [INFO] [stdout] | ----- `Route` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/from_request.rs:816:14 [INFO] [stdout] | [INFO] [stdout] 816 | #[derive(FromRequest)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `FromRequest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stdout] 817 | #[get("/")] [INFO] [stdout] 818 | struct Inner {} [INFO] [stdout] | ----- `Inner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.55s [INFO] running `Command { std: "docker" "inspect" "f0f4add4aa1909e871f70a5023e00ea692f8087b365baeb5a566b5a5271a073f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f4add4aa1909e871f70a5023e00ea692f8087b365baeb5a566b5a5271a073f", kill_on_drop: false }` [INFO] [stdout] f0f4add4aa1909e871f70a5023e00ea692f8087b365baeb5a566b5a5271a073f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ed106970716165e1b71354ae4daba50a0c787081e9a4fff3840d7c6c7359936 [INFO] running `Command { std: "docker" "start" "-a" "4ed106970716165e1b71354ae4daba50a0c787081e9a4fff3840d7c6c7359936", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/readme.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | #[doc = $e] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 6 | extern {} [INFO] [stderr] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stderr] ... [INFO] [stderr] 10 | doc!(include_str!("../README.md")); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/readme.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | extern {} [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 10 | doc!(include_str!("../README.md")); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] = note: this warning originates in the macro `doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `strong_count` and `weak_count` are never read [INFO] [stderr] --> src/service.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 233 | struct HandlerRef { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 234 | strong_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 235 | weak_count: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `strong_count` and `weak_count` are never read [INFO] [stderr] --> src/service.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 432 | struct HandlerRef { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 433 | strong_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 434 | weak_count: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HandlerRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `hyperdrive` (lib) generated 4 warnings (run `cargo fix --lib -p hyperdrive` to apply 1 suggestion) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:142:14 [INFO] [stderr] | [INFO] [stderr] 142 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 142 - #[context(SpecialContext)] [INFO] [stderr] 142 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:187:14 [INFO] [stderr] | [INFO] [stderr] 187 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 187 - #[context(SpecialContext)] [INFO] [stderr] 187 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/from_request.rs:410:14 [INFO] [stderr] | [INFO] [stderr] 410 | #[context(SpecialContext)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 410 - #[context(SpecialContext)] [INFO] [stderr] 410 + #[contextSpecialContext] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `special` and `normal` are never read [INFO] [stderr] --> tests/from_request.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 145 | Variant { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 146 | /// Takes a `SpecialContext`. [INFO] [stderr] 147 | special: SpecialGuard, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 148 | /// Takes a `NoContext`. [INFO] [stderr] 149 | normal: MyGuard, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Routes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `special` and `normal` are never read [INFO] [stderr] --> tests/from_request.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 189 | struct Route { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 190 | /// Takes a `SpecialContext`. [INFO] [stderr] 191 | special: SpecialGuard, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 192 | /// Takes a `NoContext`. [INFO] [stderr] 193 | normal: MyGuard, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Route` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AlwaysErr` is never constructed [INFO] [stderr] --> tests/from_request.rs:614:12 [INFO] [stderr] | [INFO] [stderr] 614 | struct AlwaysErr; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 45 | #[allow(dead_code)] [INFO] [stderr] 46 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:141:14 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 142 | #[context(SpecialContext)] [INFO] [stderr] 143 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:153:14 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 154 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:186:14 [INFO] [stderr] | [INFO] [stderr] 186 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 189 | struct Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 197 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:229:14 [INFO] [stderr] | [INFO] [stderr] 229 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 230 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:263:14 [INFO] [stderr] | [INFO] [stderr] 263 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 264 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:273:14 [INFO] [stderr] | [INFO] [stderr] 273 | #[derive(FromRequest, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Options` and up 2 bodies [INFO] [stderr] 274 | #[options("*")] [INFO] [stderr] 275 | struct Options; [INFO] [stderr] | ------- `Options` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:284:14 [INFO] [stderr] | [INFO] [stderr] 284 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 285 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:309:14 [INFO] [stderr] | [INFO] [stderr] 309 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 310 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:389:14 [INFO] [stderr] | [INFO] [stderr] 389 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Routes` and up 2 bodies [INFO] [stderr] 390 | enum Routes { [INFO] [stderr] | ------ `Routes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:405:14 [INFO] [stderr] | [INFO] [stderr] 405 | #[derive(RequestContext, Debug)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_SpecialContext` and up 2 bodies [INFO] [stderr] 406 | struct SpecialContext; [INFO] [stderr] | -------------- `SpecialContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:408:14 [INFO] [stderr] | [INFO] [stderr] 408 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Struct` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 411 | struct Struct { [INFO] [stderr] | ------ `Struct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:501:14 [INFO] [stderr] | [INFO] [stderr] 501 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 502 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:513:14 [INFO] [stderr] | [INFO] [stderr] 513 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Req` and up 2 bodies [INFO] [stderr] 514 | #[get("/")] // FIXME: forbid this? [INFO] [stderr] 515 | struct Req { [INFO] [stderr] | --- `Req` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:520:14 [INFO] [stderr] | [INFO] [stderr] 520 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Enum` and up 2 bodies [INFO] [stderr] 521 | enum Enum { [INFO] [stderr] | ---- `Enum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:577:14 [INFO] [stderr] | [INFO] [stderr] 577 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 578 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:599:14 [INFO] [stderr] | [INFO] [stderr] 599 | #[derive(FromRequest, PartialEq, Eq, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Wrapper` and up 2 bodies [INFO] [stderr] 600 | enum Wrapper { [INFO] [stderr] | ------- `Wrapper` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:686:14 [INFO] [stderr] | [INFO] [stderr] 686 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 687 | enum Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:698:14 [INFO] [stderr] | [INFO] [stderr] 698 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 699 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:717:14 [INFO] [stderr] | [INFO] [stderr] 717 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 718 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:724:14 [INFO] [stderr] | [INFO] [stderr] 724 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 725 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:757:14 [INFO] [stderr] | [INFO] [stderr] 757 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` and up 2 bodies [INFO] [stderr] 758 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:764:14 [INFO] [stderr] | [INFO] [stderr] 764 | #[derive(FromRequest, Debug, PartialEq, Eq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 765 | enum Inner { [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:807:14 [INFO] [stderr] | [INFO] [stderr] 807 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` and up 2 bodies [INFO] [stderr] 808 | #[get("/")] [INFO] [stderr] 809 | struct Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/from_request.rs:816:14 [INFO] [stderr] | [INFO] [stderr] 816 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` and up 2 bodies [INFO] [stderr] 817 | #[get("/")] [INFO] [stderr] 818 | struct Inner {} [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Unit` and up 2 bodies [INFO] [stderr] 12 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Empty` and up 2 bodies [INFO] [stderr] 20 | struct Empty; [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Simple` and up 2 bodies [INFO] [stderr] 28 | struct Simple { [INFO] [stderr] | ------ `Simple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_u8_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 38 | struct Refs { [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_u16_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Refs` and up 2 bodies [INFO] [stderr] 52 | struct Refs(#[as_ref] u16); [INFO] [stderr] | ---- `Refs` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx` and up 2 bodies [INFO] [stderr] 63 | enum Ctx {} [INFO] [stderr] | --- `Ctx` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `NoContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_NoContext_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_AsRef_Self_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/request_context.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(RequestContext)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `RequestContext` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_RequestContext_FOR_Ctx2` and up 2 bodies [INFO] [stderr] 67 | #[allow(unused)] [INFO] [stderr] 68 | enum Ctx2 { [INFO] [stderr] | ---- `Ctx2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `RequestContext` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `RequestContext` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `RequestContext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/catch_unwind.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Route` [INFO] [stderr] 12 | enum Route { [INFO] [stderr] | ----- `Route` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `MyGuard` is never constructed [INFO] [stderr] --> tests/ice.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct MyGuard; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Generic` is never constructed [INFO] [stderr] --> tests/ice.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | struct Generic { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/ice.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Generic` [INFO] [stderr] 24 | struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/forward_pollution.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Outer` [INFO] [stderr] 13 | enum Outer { [INFO] [stderr] | ----- `Outer` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/forward_pollution.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(FromRequest)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `FromRequest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_FromRequest_FOR_Inner` [INFO] [stderr] 24 | #[get("/")] [INFO] [stderr] 25 | struct Inner; [INFO] [stderr] | ----- `Inner` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromRequest` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromRequest` may come from an old version of the `hyperderive` crate, try updating your dependency with `cargo update -p hyperderive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hyperdrive` (test "from_request") generated 38 warnings (run `cargo fix --test "from_request"` to apply 3 suggestions) [INFO] [stderr] warning: `hyperdrive` (test "request_context") generated 23 warnings [INFO] [stderr] warning: `hyperdrive` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `hyperdrive` (test "catch_unwind") generated 1 warning [INFO] [stderr] warning: `hyperdrive` (test "ice") generated 3 warnings [INFO] [stderr] warning: `hyperdrive` (test "forward_pollution") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyperdrive-680d8061610c43ef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/catch_unwind.rs (/opt/rustwide/target/debug/deps/catch_unwind-366e2996f672022c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Running tests/forward_pollution.rs (/opt/rustwide/target/debug/deps/forward_pollution-48457c14c871661e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/from_request.rs (/opt/rustwide/target/debug/deps/from_request-b3ab5d094d46e174) [INFO] [stdout] running 14 tests [INFO] [stdout] test implicit_head_route ... ok [INFO] [stdout] test generic_guard_struct ... ok [INFO] [stdout] test klepto_arc ... ok [INFO] [stdout] test context ... ok [INFO] [stdout] test forward ... ok [INFO] [stdout] test generic_guard_struct_2 ... ok [INFO] [stdout] test generic_forward ... ok [INFO] [stdout] test query_params ... ok [INFO] [stdout] test struct_context ... ok [INFO] [stdout] test asterisk ... ok [INFO] [stdout] test user_app ... ok [INFO] [stdout] test any_placeholder ... ok [INFO] [stdout] test generic ... ok [INFO] [stdout] test forward_allowed_methods ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/ice.rs (/opt/rustwide/target/debug/deps/ice-41402abcc56aa2db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/request_context.rs (/opt/rustwide/target/debug/deps/request_context-aba05cce057c9726) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test as_ref ... ok [INFO] [stdout] test as_ref_tuple ... ok [INFO] [stdout] test on_enum ... ok [INFO] [stdout] test simple ... ok [INFO] [stdout] test empty ... ok [INFO] [stdout] test unit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests hyperdrive [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/lib.rs - FromRequest (line 243) - compile fail ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 391) ... ok [INFO] [stdout] test src/lib.rs - FromBody (line 724) ... ok [INFO] [stdout] test src/lib.rs - FromBody (line 753) ... ok [INFO] [stdout] test src/lib.rs - Guard (line 612) ... ok [INFO] [stdout] test src/lib.rs - Guard (line 635) ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 475) ... ok [INFO] [stdout] test src/lib.rs - (line 86) ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 444) ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 260) ... ok [INFO] [stdout] test src/error.rs - error::Error::response (line 109) ... ok [INFO] [stdout] test src/lib.rs - RequestContext (line 880) ... ok [INFO] [stdout] test src/lib.rs - RequestContext (line 870) ... ok [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 196) ... ok [INFO] [stdout] test src/service.rs - service::ServiceExt::catch_unwind (line 480) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] test src/lib.rs - FromRequest (line 352) ... ok [INFO] [stdout] test src/body.rs - body::Json (line 126) ... ok [INFO] [stdout] test src/service.rs - service::SyncService (line 273) ... ok [INFO] [stdout] test src/body.rs - body::HtmlForm (line 61) ... ok [INFO] [stdout] test src/service.rs - service::AsyncService (line 53) ... ok [INFO] [stdout] test src/readme.rs - readme (line 40) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.88s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ed106970716165e1b71354ae4daba50a0c787081e9a4fff3840d7c6c7359936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed106970716165e1b71354ae4daba50a0c787081e9a4fff3840d7c6c7359936", kill_on_drop: false }` [INFO] [stdout] 4ed106970716165e1b71354ae4daba50a0c787081e9a4fff3840d7c6c7359936