[INFO] cloning repository https://github.com/CovidJournal/backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CovidJournal/backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCovidJournal%2Fbackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCovidJournal%2Fbackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d8f3ccfc2bd6f8c536589e9a25392b79101936 [INFO] checking CovidJournal/backend against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCovidJournal%2Fbackend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CovidJournal/backend [INFO] finished tweaking git repo https://github.com/CovidJournal/backend [INFO] tweaked toml for git repo https://github.com/CovidJournal/backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CovidJournal/backend on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CovidJournal/backend 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.6.0 [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded postgis_diesel v0.2.0 [INFO] [stderr] Downloaded custom_error v1.9.2 [INFO] [stderr] Downloaded diesel-derive-enum v1.1.1 [INFO] [stderr] Downloaded sha2 v0.10.0 [INFO] [stderr] Downloaded block-buffer v0.10.0 [INFO] [stderr] Downloaded clap_derive v3.0.0-rc.4 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded headers v0.3.5 [INFO] [stderr] Downloaded serde v1.0.131 [INFO] [stderr] Downloaded lettre v0.10.0-rc.4 [INFO] [stderr] Downloaded serde_json v1.0.72 [INFO] [stderr] Downloaded futures-util v0.3.18 [INFO] [stderr] Downloaded tracing-subscriber v0.3.3 [INFO] [stderr] Downloaded clap v3.0.0-rc.4 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded webpki-roots v0.22.1 [INFO] [stderr] Downloaded rustls v0.20.2 [INFO] [stderr] Downloaded h2 v0.3.9 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded serde_derive v1.0.131 [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded fastrand v1.5.0 [INFO] [stderr] Downloaded libc v0.2.111 [INFO] [stderr] Downloaded quoted_printable v0.4.5 [INFO] [stderr] Downloaded sha3 v0.10.0 [INFO] [stderr] Downloaded tokio-rustls v0.23.1 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded rust-embed-impl v6.2.0 [INFO] [stderr] Downloaded rust-embed-utils v7.1.0 [INFO] [stderr] Downloaded crypto-common v0.1.0 [INFO] [stderr] Downloaded digest v0.10.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded futures-io v0.3.18 [INFO] [stderr] Downloaded proc-macro2 v1.0.33 [INFO] [stderr] Downloaded tracing-attributes v0.1.18 [INFO] [stderr] Downloaded rust-embed v6.3.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3acebadda117e09d5fe98a9c04f7f1786f0192c6376b7ddf07b3c49e97bb5358 [INFO] running `Command { std: "docker" "start" "-a" "3acebadda117e09d5fe98a9c04f7f1786f0192c6376b7ddf07b3c49e97bb5358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3acebadda117e09d5fe98a9c04f7f1786f0192c6376b7ddf07b3c49e97bb5358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3acebadda117e09d5fe98a9c04f7f1786f0192c6376b7ddf07b3c49e97bb5358", kill_on_drop: false }` [INFO] [stdout] 3acebadda117e09d5fe98a9c04f7f1786f0192c6376b7ddf07b3c49e97bb5358 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ac1cd81d71d5d6becc2b1601d037f5d57b408db3d836218daf758cf8a64b39 [INFO] running `Command { std: "docker" "start" "-a" "07ac1cd81d71d5d6becc2b1601d037f5d57b408db3d836218daf758cf8a64b39", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking digest v0.10.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking hmac v0.12.0 [INFO] [stderr] Checking md-5 v0.10.0 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking postgres-protocol v0.6.3 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling rust-embed-utils v7.1.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking postgis v0.9.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking custom_error v1.9.2 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking sha3 v0.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.3 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking validator_types v0.14.0 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.1 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling clap_derive v3.0.0-rc.4 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling diesel-derive-enum v1.1.1 [INFO] [stderr] Checking rust-embed v6.3.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.0.0-rc.4 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.1 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking lettre v0.10.0-rc.4 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking validator v0.14.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking postgis_diesel v0.2.0 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking backend v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unix` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(target_os = "unix", target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unix` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(target_os = "unix", target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/connector/email/template/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Embed { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 51 | pub body: Vec, [INFO] [stdout] 52 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Embed` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model/checkin/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Checkin { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub place_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub session_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub confirmed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub number: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `organization_id`, `updated_at`, and `created_at` are never read [INFO] [stdout] --> src/model/infection/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Infection { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub organization_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `confirmed`, `disabled`, `updated_at`, and `created_at` are never read [INFO] [stdout] --> src/model/organization/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Organization { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] 10 | pub confirmed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `organization_id`, `disabled`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/model/place/common.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Place { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub id: uuid::Uuid, [INFO] [stdout] 15 | pub organization_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `hashed_token`, `hashed_confirmation_token`, `disabled`, `updated_at`, and `created_at` are never read [INFO] [stdout] --> src/model/session/common.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub hashed_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub hashed_confirmation_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub confirmed: bool, [INFO] [stdout] 13 | pub disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login`, `disabled`, `updated_at`, and `created_at` are never read [INFO] [stdout] --> src/model/user/common.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub id: Uuid, [INFO] [stdout] 21 | pub login: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `session` are never read [INFO] [stdout] --> src/serve/types/user.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ProfessionalUser { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 20 | pub user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub session: Session, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileForm` is never constructed [INFO] [stdout] --> src/serve/types/user.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ProfileForm { [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [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: `#[warn(non_local_definitions)]` on by default [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 9 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 10 | | place_id -> Uuid, [INFO] [stdout] | | -------- `place_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_place_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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 11 | | session_id -> Uuid, [INFO] [stdout] | | ---------- `session_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_session_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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 12 | | user_id -> Uuid, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 13 | | start_timestamp -> Timestamptz, [INFO] [stdout] | | --------------- `start_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_start_timestamp` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 14 | | end_timestamp -> Timestamptz, [INFO] [stdout] | | ------------- `end_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_end_timestamp` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 15 | | duration -> Int8, [INFO] [stdout] | | -------- `duration` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_duration` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 16 | | potential_infection -> Bool, [INFO] [stdout] | | ------------------- `potential_infection` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_potential_infection` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 17 | | confirmed -> Bool, [INFO] [stdout] | | --------- `confirmed` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_confirmed` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 18 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 19 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/model/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / table! { [INFO] [stdout] 4 | | use diesel::sql_types::*; [INFO] [stdout] 5 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 6 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 20 | | number -> Int8, [INFO] [stdout] | | ------ `number` is not local [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_number` [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 30 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 31 | | organization_id -> Uuid, [INFO] [stdout] | | --------------- `organization_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_organization_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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 32 | | places_ids -> Array, [INFO] [stdout] | | ---------- `places_ids` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_places_ids` [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 33 | | start_timestamp -> Timestamptz, [INFO] [stdout] | | --------------- `start_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_start_timestamp` [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 34 | | end_timestamp -> Timestamptz, [INFO] [stdout] | | ------------- `end_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_end_timestamp` [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 35 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/model/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | use diesel::sql_types::*; [INFO] [stdout] 26 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 27 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 36 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 46 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 47 | | place_id -> Uuid, [INFO] [stdout] | | -------- `place_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_place_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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 48 | | opening_timestamp -> Timestamptz, [INFO] [stdout] | | ----------------- `opening_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_opening_timestamp` [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 49 | | closing_timestamp -> Timestamptz, [INFO] [stdout] | | ----------------- `closing_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_closing_timestamp` [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 50 | | evacuation_timestamp -> Timestamptz, [INFO] [stdout] | | -------------------- `evacuation_timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_evacuation_timestamp` [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 51 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/model/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | use diesel::sql_types::*; [INFO] [stdout] 42 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 43 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 52 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/model/schema.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | use diesel::sql_types::*; [INFO] [stdout] 58 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 59 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [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/model/schema.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | use diesel::sql_types::*; [INFO] [stdout] 58 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 59 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 62 | | id -> Uuid, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [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/model/schema.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | use diesel::sql_types::*; [INFO] [stdout] 58 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 59 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 63 | | place_id -> Uuid, [INFO] [stdout] | | -------- `place_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_place_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/model/schema.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | use diesel::sql_types::*; [INFO] [stdout] 58 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 59 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 64 | | date -> Date, [INFO] [stdout] | | ---- `date` is not local [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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/model/schema.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | use diesel::sql_types::*; [INFO] [stdout] 58 | | use postgis_diesel::sql_types::*; [INFO] [stdout] 59 | | use crate::model::types::*; [INFO] [stdout] ... | [INFO] [stdout] 65 | | opening_time -> Nullable