[INFO] cloning repository https://github.com/optozorax/bd_labs_diesel_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/optozorax/bd_labs_diesel_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptozorax%2Fbd_labs_diesel_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptozorax%2Fbd_labs_diesel_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14a198b835e6d2cd1dd15a47f77592c8e4354e1a [INFO] checking optozorax/bd_labs_diesel_rust against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foptozorax%2Fbd_labs_diesel_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/optozorax/bd_labs_diesel_rust on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/optozorax/bd_labs_diesel_rust [INFO] finished tweaking git repo https://github.com/optozorax/bd_labs_diesel_rust [INFO] tweaked toml for git repo https://github.com/optozorax/bd_labs_diesel_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/optozorax/bd_labs_diesel_rust 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a07616242e03c25d1bb56f922c2791db390a0ae9c0b40da771c8432f6d9ab2e [INFO] running `Command { std: "docker" "start" "-a" "8a07616242e03c25d1bb56f922c2791db390a0ae9c0b40da771c8432f6d9ab2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a07616242e03c25d1bb56f922c2791db390a0ae9c0b40da771c8432f6d9ab2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a07616242e03c25d1bb56f922c2791db390a0ae9c0b40da771c8432f6d9ab2e", kill_on_drop: false }` [INFO] [stdout] 8a07616242e03c25d1bb56f922c2791db390a0ae9c0b40da771c8432f6d9ab2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 606c138cca9e15bdb07602794e5bd44b21a9bedd08dcaf93eac3573f426a0510 [INFO] running `Command { std: "docker" "start" "-a" "606c138cca9e15bdb07602794e5bd44b21a9bedd08dcaf93eac3573f426a0510", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking diesel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `n_det` and `min` are never read [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct Task1 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | n_det: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | min: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task1` 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: fields `n_det`, `cvet`, `ves`, and `sum_weight` are never read [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct Task2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | n_det: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | cvet: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | ves: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | sum_weight: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(QueryableByName, Debug)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_task1` and up 2 bodies [INFO] [stdout] 16 | #[table_name = "task1"] [INFO] [stdout] 17 | struct Task1 { [INFO] [stdout] | ----- `Task1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/main.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(QueryableByName, Debug)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_task2` and up 2 bodies [INFO] [stdout] 49 | #[table_name = "task2"] [INFO] [stdout] 50 | struct Task2 { [INFO] [stdout] | ----- `Task2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] | | ----- `n_det` is not local [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_n_det` [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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] | | --- `min` is not local [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_min` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] | | ----- `n_det` is not local [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_n_det` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] | | ---- `cvet` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cvet` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] 43 | | ves -> Integer, [INFO] [stdout] | | --- `ves` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ves` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] 43 | | ves -> Integer, [INFO] [stdout] 44 | | sum_weight -> BigInt, [INFO] [stdout] | | ---------- `sum_weight` is not local [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sum_weight` [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: fields `n_det` and `min` are never read [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct Task1 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | n_det: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | min: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task1` 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: fields `n_det`, `cvet`, `ves`, and `sum_weight` are never read [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct Task2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 51 | n_det: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | cvet: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | ves: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | sum_weight: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(QueryableByName, Debug)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_task1` and up 2 bodies [INFO] [stdout] 16 | #[table_name = "task1"] [INFO] [stdout] 17 | struct Task1 { [INFO] [stdout] | ----- `Task1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/main.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(QueryableByName, Debug)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_task2` and up 2 bodies [INFO] [stdout] 49 | #[table_name = "task2"] [INFO] [stdout] 50 | struct Task2 { [INFO] [stdout] | ----- `Task2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] | | ----- `n_det` is not local [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_n_det` [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/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | task1 (n_det) { [INFO] [stdout] 10 | | n_det -> Text, [INFO] [stdout] 11 | | min -> Integer, [INFO] [stdout] | | --- `min` is not local [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_min` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] | | ----- `n_det` is not local [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_n_det` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] | | ---- `cvet` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cvet` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] 43 | | ves -> Integer, [INFO] [stdout] | | --- `ves` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ves` [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/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | task2 (n_det) { [INFO] [stdout] 41 | | n_det -> Text, [INFO] [stdout] 42 | | cvet -> Text, [INFO] [stdout] 43 | | ves -> Integer, [INFO] [stdout] 44 | | sum_weight -> BigInt, [INFO] [stdout] | | ---------- `sum_weight` is not local [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sum_weight` [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 23.56s [INFO] running `Command { std: "docker" "inspect" "606c138cca9e15bdb07602794e5bd44b21a9bedd08dcaf93eac3573f426a0510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606c138cca9e15bdb07602794e5bd44b21a9bedd08dcaf93eac3573f426a0510", kill_on_drop: false }` [INFO] [stdout] 606c138cca9e15bdb07602794e5bd44b21a9bedd08dcaf93eac3573f426a0510