[INFO] cloning repository https://github.com/davidpdrsn/eager-loading-without-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidpdrsn/eager-loading-without-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Feager-loading-without-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Feager-loading-without-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 901addb26c729b7cf2ec9f545d7cdc23c94529ef [INFO] checking davidpdrsn/eager-loading-without-macros against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Feager-loading-without-macros" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidpdrsn/eager-loading-without-macros [INFO] finished tweaking git repo https://github.com/davidpdrsn/eager-loading-without-macros [INFO] tweaked toml for git repo https://github.com/davidpdrsn/eager-loading-without-macros written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidpdrsn/eager-loading-without-macros on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidpdrsn/eager-loading-without-macros already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking davidpdrsn/eager-loading-without-macros against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidpdrsn%2Feager-loading-without-macros" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidpdrsn/eager-loading-without-macros [INFO] finished tweaking git repo https://github.com/davidpdrsn/eager-loading-without-macros [INFO] tweaked toml for git repo https://github.com/davidpdrsn/eager-loading-without-macros written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidpdrsn/eager-loading-without-macros on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidpdrsn/eager-loading-without-macros already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded synstructure v0.12.1 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded backtrace v0.3.38 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded indexmap v1.2.0 [INFO] [stderr] Downloaded diesel v1.4.3 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded libc v0.2.64 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded smallvec v0.6.10 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded vcpkg v0.2.7 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded juniper-from-schema-code-gen v0.4.1 [INFO] [stderr] Downloaded juniper-from-schema v0.4.1 [INFO] [stderr] Downloaded juniper-eager-loading-code-gen v0.3.1 [INFO] [stderr] Downloaded juniper-eager-loading v0.3.1 [INFO] [stderr] Downloaded juniper_codegen v0.14.0 [INFO] [stderr] Downloaded juniper v0.14.0 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a268b227664aff6b685ac8e1d786d3117e8dc2f5677934944134cf88f11f1f3a [INFO] running `Command { std: "docker" "start" "-a" "a268b227664aff6b685ac8e1d786d3117e8dc2f5677934944134cf88f11f1f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a268b227664aff6b685ac8e1d786d3117e8dc2f5677934944134cf88f11f1f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a268b227664aff6b685ac8e1d786d3117e8dc2f5677934944134cf88f11f1f3a", kill_on_drop: false }` [INFO] [stdout] a268b227664aff6b685ac8e1d786d3117e8dc2f5677934944134cf88f11f1f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 422eb65d06c5a17f244e092cd749be7fd345788c6a15228ed4c375949e3196fa [INFO] running `Command { std: "docker" "start" "-a" "422eb65d06c5a17f244e092cd749be7fd345788c6a15228ed4c375949e3196fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling juniper_codegen v0.14.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling juniper-eager-loading-code-gen v0.3.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking juniper v0.14.0 [INFO] [stderr] Compiling juniper-from-schema-code-gen v0.4.1 [INFO] [stderr] Checking juniper-from-schema v0.4.1 [INFO] [stderr] Checking juniper-eager-loading v0.3.1 [INFO] [stderr] Checking manual-eager-loading-test v0.1.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] --> src/models.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 18 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_country` [INFO] [stdout] 24 | pub struct Country { [INFO] [stdout] | ------- `Country` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] | | ---------- `country_id` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_country_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | countries { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 18 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | countries { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Queryable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_country` [INFO] [stdout] 24 | pub struct Country { [INFO] [stdout] | ------- `Country` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / table! { [INFO] [stdout] 5 | | users { [INFO] [stdout] 6 | | id -> Integer, [INFO] [stdout] 7 | | country_id -> Integer, [INFO] [stdout] | | ---------- `country_id` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_country_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | countries { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | countries { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.76s [INFO] running `Command { std: "docker" "inspect" "422eb65d06c5a17f244e092cd749be7fd345788c6a15228ed4c375949e3196fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422eb65d06c5a17f244e092cd749be7fd345788c6a15228ed4c375949e3196fa", kill_on_drop: false }` [INFO] [stdout] 422eb65d06c5a17f244e092cd749be7fd345788c6a15228ed4c375949e3196fa