[INFO] cloning repository https://github.com/grantmerola/painting_tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grantmerola/painting_tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrantmerola%2Fpainting_tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrantmerola%2Fpainting_tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 743b17382b2fe0d1c934daf6965f4feff47ad5e4 [INFO] checking grantmerola/painting_tracker against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrantmerola%2Fpainting_tracker" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grantmerola/painting_tracker on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grantmerola/painting_tracker [INFO] finished tweaking git repo https://github.com/grantmerola/painting_tracker [INFO] tweaked toml for git repo https://github.com/grantmerola/painting_tracker written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/grantmerola/painting_tracker 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 077b2c949bb9e79db2bb54f70c104f8cf1302f050fc0dbd6f6a04d992e658e8c [INFO] running `Command { std: "docker" "start" "-a" "077b2c949bb9e79db2bb54f70c104f8cf1302f050fc0dbd6f6a04d992e658e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "077b2c949bb9e79db2bb54f70c104f8cf1302f050fc0dbd6f6a04d992e658e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077b2c949bb9e79db2bb54f70c104f8cf1302f050fc0dbd6f6a04d992e658e8c", kill_on_drop: false }` [INFO] [stdout] 077b2c949bb9e79db2bb54f70c104f8cf1302f050fc0dbd6f6a04d992e658e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97d6e65bc1a1457b847dfec7e55b3323f3f02621bfd86bfee044eae47476d1be [INFO] running `Command { std: "docker" "start" "-a" "97d6e65bc1a1457b847dfec7e55b3323f3f02621bfd86bfee044eae47476d1be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking diesel v1.4.2 [INFO] [stderr] Checking painting_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `works` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct works{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Works` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `works` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct works{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Works` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `somevars` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | struct somevars<'a> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Somevars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_work_ids` in this scope [INFO] [stdout] --> src/lib.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | let should_work = get_work_ids(&x.pool); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `struct_location_date`, `struct_location`, `struct_comment`, and `struct_fk_works_id` are never read [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | struct_location_date: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | struct_location: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | struct_comment: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | struct_fk_works_id: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct works{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | work_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | creation_date: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | bequeathment: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `works` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | impl Location { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 131 | fn new( param_location_date: NaiveDate, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Queryable, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_works` [INFO] [stdout] 37 | pub struct works{ [INFO] [stdout] | ----- `works` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authors (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authors (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [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/schema.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | books (BookID) { [INFO] [stdout] 9 | | BookID -> Integer, [INFO] [stdout] 10 | | Title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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/schema.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | books (BookID) { [INFO] [stdout] 9 | | BookID -> Integer, [INFO] [stdout] | | ------ `BookID` is not local [INFO] [stdout] 10 | | Title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_bookid` [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/schema.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | books (BookID) { [INFO] [stdout] 9 | | BookID -> Integer, [INFO] [stdout] 10 | | Title -> Varchar, [INFO] [stdout] | | ----- `Title` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [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/schema.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | books (BookID) { [INFO] [stdout] 9 | | BookID -> Integer, [INFO] [stdout] 10 | | Title -> Varchar, [INFO] [stdout] 11 | | SeriesID -> Nullable, [INFO] [stdout] | | -------- `SeriesID` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seriesid` [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/schema.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | books (BookID) { [INFO] [stdout] 9 | | BookID -> Integer, [INFO] [stdout] 10 | | Title -> Varchar, [INFO] [stdout] 11 | | SeriesID -> Nullable, [INFO] [stdout] 12 | | AuthorID -> Nullable, [INFO] [stdout] | | -------- `AuthorID` is not local [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_authorid` [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] | | ----------- `purchase_id` is not local [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_purchase_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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] | | --------- `item_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_item_name` [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] 20 | | secondary_name -> Nullable, [INFO] [stdout] | | -------------- `secondary_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_secondary_name` [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] 20 | | secondary_name -> Nullable, [INFO] [stdout] 21 | | cost -> Nullable, [INFO] [stdout] | | ---- `cost` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cost` [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 22 | | purchase_date -> Nullable, [INFO] [stdout] | | ------------- `purchase_date` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_purchase_date` [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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 23 | | fk_payment_type_id -> Nullable, [INFO] [stdout] | | ------------------ `fk_payment_type_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fk_payment_type_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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 24 | | fk_categories_id -> Nullable, [INFO] [stdout] | | ---------------- `fk_categories_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fk_categories_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/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | expenses (purchase_id) { [INFO] [stdout] 18 | | purchase_id -> Unsigned, [INFO] [stdout] 19 | | item_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 25 | | fk_person_id -> Nullable, [INFO] [stdout] | | ------------ `fk_person_id` is not local [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fk_person_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/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | pics (pic_id) { [INFO] [stdout] 31 | | pic_id -> Unsigned, [INFO] [stdout] 32 | | pic_path -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [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/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | pics (pic_id) { [INFO] [stdout] 31 | | pic_id -> Unsigned, [INFO] [stdout] | | ------ `pic_id` is not local [INFO] [stdout] 32 | | pic_path -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_pic_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/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | pics (pic_id) { [INFO] [stdout] 31 | | pic_id -> Unsigned, [INFO] [stdout] 32 | | pic_path -> Nullable, [INFO] [stdout] | | -------- `pic_path` is not local [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_pic_path` [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/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | pics (pic_id) { [INFO] [stdout] 31 | | pic_id -> Unsigned, [INFO] [stdout] 32 | | pic_path -> Nullable, [INFO] [stdout] 33 | | quality -> Nullable, [INFO] [stdout] | | ------- `quality` is not local [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_quality` [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/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | pics (pic_id) { [INFO] [stdout] 31 | | pic_id -> Unsigned, [INFO] [stdout] 32 | | pic_path -> Nullable, [INFO] [stdout] 33 | | quality -> Nullable, [INFO] [stdout] 34 | | fk_works_id -> Nullable, [INFO] [stdout] | | ----------- `fk_works_id` is not local [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fk_works_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/schema.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / table! { [INFO] [stdout] 39 | | primary_key_dat (id) { [INFO] [stdout] 40 | | id -> Integer, [INFO] [stdout] 41 | | name -> Nullable, [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [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/schema.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / table! { [INFO] [stdout] 39 | | primary_key_dat (id) { [INFO] [stdout] 40 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 41 | | name -> Nullable, [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [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: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | let should_work = Location::new(x.adate,x.location,x.comment,x.fk_works_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | let wont_work = Location::new(x.adate,x.location,x.comment,x.bad_fk_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let wont_work = Location::new(x.adate,x.str499,x.comment,x.fk_works_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | let wont_work = Location::new(x.adate,x.str500,x.comment,x.fk_works_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:273:7 [INFO] [stdout] | [INFO] [stdout] 273 | let should_work = Pic::new(x.pic_path, x.quality, x.fk_works_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:280:7 [INFO] [stdout] | [INFO] [stdout] 280 | let wont_work = Pic::new(x.bad_pic_path, x.quality, x.fk_works_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:287:7 [INFO] [stdout] | [INFO] [stdout] 287 | let wont_work = Pic::new(x.pic_path, x.quality,x.bad_fk_id, &x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | let should_work = Work::new(x.work_name,x.adate,x.bequeathment,x.source,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | let should_work = Work::new(x.str499,x.adate,x.bequeathment,x.source,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | let wont_work = Work::new(x.str500,x.adate,x.bequeathment,x.source,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:313:7 [INFO] [stdout] | [INFO] [stdout] 313 | let should_work = Work::new(x.work_name,x.adate,x.str499,x.source,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:320:7 [INFO] [stdout] | [INFO] [stdout] 320 | let wont_work = Work::new(x.work_name,x.adate,x.str500,x.source,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | let should_work = Work::new(x.work_name,x.adate,x.bequeathment,x.str499,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | let wont_work = Work::new(x.work_name,x.adate,x.bequeathment,x.str500,x.medium,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_work` [INFO] [stdout] --> src/lib.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | let should_work = Work::new(x.work_name,x.adate,x.bequeathment,x.source,x.str99,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `painting_tracker` (lib test) due to 1 previous error; 18 warnings emitted [INFO] [stdout] warning: unused variable: `wont_work` [INFO] [stdout] --> src/lib.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 346 | let wont_work = Work::new(x.work_name,x.adate,x.bequeathment,x.source,x.str100,x.comment,&x.pool); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wont_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / table! { [INFO] [stdout] 39 | | primary_key_dat (id) { [INFO] [stdout] 40 | | id -> Integer, [INFO] [stdout] 41 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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/schema.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / table! { [INFO] [stdout] 46 | | series (id) { [INFO] [stdout] 47 | | id -> Integer, [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [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/schema.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / table! { [INFO] [stdout] 46 | | series (id) { [INFO] [stdout] 47 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] | | --------- `work_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_work_name` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] 55 | | creation_date -> Nullable, [INFO] [stdout] | | ------------- `creation_date` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_creation_date` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] 55 | | creation_date -> Nullable, [INFO] [stdout] 56 | | location -> Nullable, [INFO] [stdout] | | -------- `location` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_location` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 57 | | bequeathment -> Nullable, [INFO] [stdout] | | ------------ `bequeathment` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_bequeathment` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 58 | | source -> Nullable, [INFO] [stdout] | | ------ `source` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_source` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 59 | | medium -> Nullable, [INFO] [stdout] | | ------ `medium` is not local [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_medium` [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/schema.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / table! { [INFO] [stdout] 52 | | works (id) { [INFO] [stdout] 53 | | id -> Unsigned, [INFO] [stdout] 54 | | work_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 60 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] | | ----------- `location_id` is not local [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_location_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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] | | ------------- `location_date` is not local [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_location_date` [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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] 67 | | location -> Nullable, [INFO] [stdout] | | -------- `location` is not local [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_location` [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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] 67 | | location -> Nullable, [INFO] [stdout] 68 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [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/schema.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / table!{ [INFO] [stdout] 64 | | locations (location_id){ [INFO] [stdout] 65 | | location_id -> Unsigned, [INFO] [stdout] 66 | | location_date -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 69 | | fk_works_id -> Nullable, [INFO] [stdout] | | ----------- `fk_works_id` is not local [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fk_works_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] running `Command { std: "docker" "inspect" "97d6e65bc1a1457b847dfec7e55b3323f3f02621bfd86bfee044eae47476d1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d6e65bc1a1457b847dfec7e55b3323f3f02621bfd86bfee044eae47476d1be", kill_on_drop: false }` [INFO] [stdout] 97d6e65bc1a1457b847dfec7e55b3323f3f02621bfd86bfee044eae47476d1be