[INFO] fetching crate app_route 0.3.0... [INFO] checking app_route-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate app_route 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate app_route 0.3.0 [INFO] finished tweaking crates.io crate app_route 0.3.0 [INFO] tweaked toml for crates.io crate app_route 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate app_route 0.3.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] [stderr] Adding serde_qs v0.4.6 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 383d12ee22227aa3010aec97d010caf05f2e957f3e0182b2515b7276acd9dbcf [INFO] running `Command { std: "docker" "start" "-a" "383d12ee22227aa3010aec97d010caf05f2e957f3e0182b2515b7276acd9dbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "383d12ee22227aa3010aec97d010caf05f2e957f3e0182b2515b7276acd9dbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383d12ee22227aa3010aec97d010caf05f2e957f3e0182b2515b7276acd9dbcf", kill_on_drop: false }` [INFO] [stdout] 383d12ee22227aa3010aec97d010caf05f2e957f3e0182b2515b7276acd9dbcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeaf9cee4a9fd3951a39047864256fd7bc31c6c28f17ad2b374e36e5f5d95213 [INFO] running `Command { std: "docker" "start" "-a" "eeaf9cee4a9fd3951a39047864256fd7bc31c6c28f17ad2b374e36e5f5d95213", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Compiling app_route_derive v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking app_route v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 10 | #[route("/users")] [INFO] [stdout] 11 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const 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 `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 10 | #[route("/users")] [INFO] [stdout] 11 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 10 | #[route("/users")] [INFO] [stdout] 11 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 23 | #[route("/users/:user_id")] [INFO] [stdout] 24 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 23 | #[route("/users/:user_id")] [INFO] [stdout] 24 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 23 | #[route("/users/:user_id")] [INFO] [stdout] 24 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 65 | #[route("/users/:user_id")] [INFO] [stdout] 66 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 65 | #[route("/users/:user_id")] [INFO] [stdout] 66 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 65 | #[route("/users/:user_id")] [INFO] [stdout] 66 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 86 | #[route("/users/:user_id")] [INFO] [stdout] 87 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 86 | #[route("/users/:user_id")] [INFO] [stdout] 87 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/benchmark.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 86 | #[route("/users/:user_id")] [INFO] [stdout] 87 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 5 | #[route("/users")] [INFO] [stdout] 6 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const 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 `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 5 | #[route("/users")] [INFO] [stdout] 6 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListPath` [INFO] [stdout] 5 | #[route("/users")] [INFO] [stdout] 6 | struct UsersListPath {} [INFO] [stdout] | ------------- `UsersListPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 33 | #[route("/users/:user_id")] [INFO] [stdout] 34 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 33 | #[route("/users/:user_id")] [INFO] [stdout] 34 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailPath` [INFO] [stdout] 33 | #[route("/users/:user_id")] [INFO] [stdout] 34 | struct UserDetailPath { [INFO] [stdout] | -------------- `UserDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserFriendDetailPath` [INFO] [stdout] 63 | #[route("/users/:user_id/friends/:friend_name")] [INFO] [stdout] 64 | struct UserFriendDetailPath { [INFO] [stdout] | -------------------- `UserFriendDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserFriendDetailPath` [INFO] [stdout] 63 | #[route("/users/:user_id/friends/:friend_name")] [INFO] [stdout] 64 | struct UserFriendDetailPath { [INFO] [stdout] | -------------------- `UserFriendDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserFriendDetailPath` [INFO] [stdout] 63 | #[route("/users/:user_id/friends/:friend_name")] [INFO] [stdout] 64 | struct UserFriendDetailPath { [INFO] [stdout] | -------------------- `UserFriendDetailPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/derive_test.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListWithQuery` [INFO] [stdout] 116 | #[route("/users")] [INFO] [stdout] 117 | struct UsersListWithQuery { [INFO] [stdout] | ------------------ `UsersListWithQuery` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListWithQuery` [INFO] [stdout] 116 | #[route("/users")] [INFO] [stdout] 117 | struct UsersListWithQuery { [INFO] [stdout] | ------------------ `UsersListWithQuery` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersListWithQuery` [INFO] [stdout] 116 | #[route("/users")] [INFO] [stdout] 117 | struct UsersListWithQuery { [INFO] [stdout] | ------------------ `UsersListWithQuery` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailExtraPath` [INFO] [stdout] 231 | #[route("/users/:user_id")] [INFO] [stdout] 232 | struct UserDetailExtraPath { [INFO] [stdout] | ------------------- `UserDetailExtraPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailExtraPath` [INFO] [stdout] 231 | #[route("/users/:user_id")] [INFO] [stdout] 232 | struct UserDetailExtraPath { [INFO] [stdout] | ------------------- `UserDetailExtraPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailExtraPath` [INFO] [stdout] 231 | #[route("/users/:user_id")] [INFO] [stdout] 232 | struct UserDetailExtraPath { [INFO] [stdout] | ------------------- `UserDetailExtraPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 307 | #[route("/users/:user_id")] [INFO] [stdout] 308 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 307 | #[route("/users/:user_id")] [INFO] [stdout] 308 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailNestedQueryPath` [INFO] [stdout] 307 | #[route("/users/:user_id")] [INFO] [stdout] 308 | struct UserDetailNestedQueryPath { [INFO] [stdout] | ------------------------- `UserDetailNestedQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 418 | #[route("/users/:user_id")] [INFO] [stdout] 419 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 418 | #[route("/users/:user_id")] [INFO] [stdout] 419 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UserDetailVecQueryPath` [INFO] [stdout] 418 | #[route("/users/:user_id")] [INFO] [stdout] 419 | struct UserDetailVecQueryPath { [INFO] [stdout] | ---------------------- `UserDetailVecQueryPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 548 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_ExpiredSubmissionsPath` [INFO] [stdout] 549 | #[route("/p/:project_id/exams/:exam_id/submissions_expired")] [INFO] [stdout] 550 | struct ExpiredSubmissionsPath { [INFO] [stdout] | ---------------------- `ExpiredSubmissionsPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 548 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_ExpiredSubmissionsPath` [INFO] [stdout] 549 | #[route("/p/:project_id/exams/:exam_id/submissions_expired")] [INFO] [stdout] 550 | struct ExpiredSubmissionsPath { [INFO] [stdout] | ---------------------- `ExpiredSubmissionsPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 548 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_ExpiredSubmissionsPath` [INFO] [stdout] 549 | #[route("/p/:project_id/exams/:exam_id/submissions_expired")] [INFO] [stdout] 550 | struct ExpiredSubmissionsPath { [INFO] [stdout] | ---------------------- `ExpiredSubmissionsPath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/derive_test.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 548 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardRoute` [INFO] [stdout] 597 | #[route("/users:tail*")] [INFO] [stdout] 598 | struct UsersWildcardRoute { [INFO] [stdout] | ------------------ `UsersWildcardRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardRoute` [INFO] [stdout] 597 | #[route("/users:tail*")] [INFO] [stdout] 598 | struct UsersWildcardRoute { [INFO] [stdout] | ------------------ `UsersWildcardRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardRoute` [INFO] [stdout] 597 | #[route("/users:tail*")] [INFO] [stdout] 598 | struct UsersWildcardRoute { [INFO] [stdout] | ------------------ `UsersWildcardRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/derive_test.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardTrailingSlashRoute` [INFO] [stdout] 639 | #[route("/users/:tail*")] [INFO] [stdout] 640 | struct UsersWildcardTrailingSlashRoute { [INFO] [stdout] | ------------------------------- `UsersWildcardTrailingSlashRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardTrailingSlashRoute` [INFO] [stdout] 639 | #[route("/users/:tail*")] [INFO] [stdout] 640 | struct UsersWildcardTrailingSlashRoute { [INFO] [stdout] | ------------------------------- `UsersWildcardTrailingSlashRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_UsersWildcardTrailingSlashRoute` [INFO] [stdout] 639 | #[route("/users/:tail*")] [INFO] [stdout] 640 | struct UsersWildcardTrailingSlashRoute { [INFO] [stdout] | ------------------------------- `UsersWildcardTrailingSlashRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/derive_test.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 638 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_FriendSocialRoute` [INFO] [stdout] 670 | #[route("/:friend_name/social_accounts/:social_name")] [INFO] [stdout] 671 | struct FriendSocialRoute { [INFO] [stdout] | ----------------- `FriendSocialRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_FriendSocialRoute` [INFO] [stdout] 670 | #[route("/:friend_name/social_accounts/:social_name")] [INFO] [stdout] 671 | struct FriendSocialRoute { [INFO] [stdout] | ----------------- `FriendSocialRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_FriendSocialRoute` [INFO] [stdout] 670 | #[route("/:friend_name/social_accounts/:social_name")] [INFO] [stdout] 671 | struct FriendSocialRoute { [INFO] [stdout] | ----------------- `FriendSocialRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/derive_test.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:677:10 [INFO] [stdout] | [INFO] [stdout] 677 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AppRoute` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_NestedFancyRoute` [INFO] [stdout] 678 | #[route("/users:tail*")] [INFO] [stdout] 679 | struct NestedFancyRoute { [INFO] [stdout] | ---------------- `NestedFancyRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:677:10 [INFO] [stdout] | [INFO] [stdout] 677 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_NestedFancyRoute` [INFO] [stdout] 678 | #[route("/users:tail*")] [INFO] [stdout] 679 | struct NestedFancyRoute { [INFO] [stdout] | ---------------- `NestedFancyRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive_test.rs:677:10 [INFO] [stdout] | [INFO] [stdout] 677 | #[derive(AppRoute, Debug, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_APPROUTE_FOR_NestedFancyRoute` [INFO] [stdout] 678 | #[route("/users:tail*")] [INFO] [stdout] 679 | struct NestedFancyRoute { [INFO] [stdout] | ---------------- `NestedFancyRoute` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AppRoute` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AppRoute` may come from an old version of the `app_route_derive` crate, try updating your dependency with `cargo update -p app_route_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `AppRoute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app_route` (test "derive_test") due to 5 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eeaf9cee4a9fd3951a39047864256fd7bc31c6c28f17ad2b374e36e5f5d95213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeaf9cee4a9fd3951a39047864256fd7bc31c6c28f17ad2b374e36e5f5d95213", kill_on_drop: false }` [INFO] [stdout] eeaf9cee4a9fd3951a39047864256fd7bc31c6c28f17ad2b374e36e5f5d95213