[INFO] cloning repository https://github.com/JorgeMartinezG/acled_collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JorgeMartinezG/acled_collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Facled_collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Facled_collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5c56f05a01cb474a11470cc81277a61735ef752 [INFO] building JorgeMartinezG/acled_collector against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Facled_collector" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JorgeMartinezG/acled_collector [INFO] finished tweaking git repo https://github.com/JorgeMartinezG/acled_collector [INFO] tweaked toml for git repo https://github.com/JorgeMartinezG/acled_collector written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JorgeMartinezG/acled_collector on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JorgeMartinezG/acled_collector 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded heck v0.3.3 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded block-buffer v0.10.0 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded js-sys v0.3.56 [INFO] [stderr] Downloaded bumpalo v3.9.1 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded futures-util v0.3.19 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded security-framework v2.6.0 [INFO] [stderr] Downloaded futures-sink v0.3.19 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded hyper v0.14.16 [INFO] [stderr] Downloaded wasm-bindgen v0.2.79 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded digest v0.10.1 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded futures-io v0.3.19 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded web-sys v0.3.56 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.29 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.79 [INFO] [stderr] Downloaded crypto-common v0.1.1 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded sha2 v0.10.1 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded base64 v0.13.0 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded instant v0.1.12 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.79 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.79 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded postgis v0.9.0 [INFO] [stderr] Downloaded futures-channel v0.3.19 [INFO] [stderr] Downloaded futures-core v0.3.19 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded security-framework-sys v2.6.0 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded num_cpus v1.13.1 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded core-foundation-sys v0.8.3 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded futures-task v0.3.19 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a064cd88926ab8a08570fd045892b900540f6f0aaddc5814421100ed91d071 [INFO] running `Command { std: "docker" "start" "-a" "e9a064cd88926ab8a08570fd045892b900540f6f0aaddc5814421100ed91d071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a064cd88926ab8a08570fd045892b900540f6f0aaddc5814421100ed91d071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a064cd88926ab8a08570fd045892b900540f6f0aaddc5814421100ed91d071", kill_on_drop: false }` [INFO] [stdout] e9a064cd88926ab8a08570fd045892b900540f6f0aaddc5814421100ed91d071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c66f7801f2110da0e7a36b7a58b94e2f78702d0c74ac4a2f61d9608a5f34751c [INFO] running `Command { std: "docker" "start" "-a" "c66f7801f2110da0e7a36b7a58b94e2f78702d0c74ac4a2f61d9608a5f34751c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling postgis v0.9.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling acled_collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/acled/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `success`, `last_update`, and `filename` are never read [INFO] [stdout] --> src/acled/response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub last_update: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/acled/incident.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NotNull` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `SingleValue` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pg` is not local [INFO] [stdout] | `HasSqlType` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [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` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `FromSqlRow` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/db.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [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/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 7 | | data_id -> Int8, [INFO] [stdout] | | ------- `data_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_data_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 8 | | iso -> Int8, [INFO] [stdout] | | --- `iso` 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_iso` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 9 | | event_id_cnty -> Varchar, [INFO] [stdout] | | ------------- `event_id_cnty` 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_event_id_cnty` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 10 | | event_id_no_cnty -> Int8, [INFO] [stdout] | | ---------------- `event_id_no_cnty` 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_event_id_no_cnty` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 11 | | event_date -> Date, [INFO] [stdout] | | ---------- `event_date` 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_event_date` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 12 | | year -> Int8, [INFO] [stdout] | | ---- `year` 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_year` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 13 | | time_precision -> Int8, [INFO] [stdout] | | -------------- `time_precision` 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_time_precision` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 14 | | event_type -> Varchar, [INFO] [stdout] | | ---------- `event_type` 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_event_type` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 15 | | sub_event_type -> Varchar, [INFO] [stdout] | | -------------- `sub_event_type` 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_sub_event_type` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 16 | | actor1 -> Varchar, [INFO] [stdout] | | ------ `actor1` 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_actor1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 17 | | assoc_actor_1 -> Varchar, [INFO] [stdout] | | ------------- `assoc_actor_1` 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_assoc_actor_1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 18 | | inter1 -> Int8, [INFO] [stdout] | | ------ `inter1` 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_inter1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 19 | | actor2 -> Varchar, [INFO] [stdout] | | ------ `actor2` 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_actor2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 20 | | assoc_actor_2 -> Varchar, [INFO] [stdout] | | ------------- `assoc_actor_2` 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_assoc_actor_2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 21 | | inter2 -> Int8, [INFO] [stdout] | | ------ `inter2` 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_inter2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 22 | | interaction -> Varchar, [INFO] [stdout] | | ----------- `interaction` 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_interaction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 23 | | region -> Varchar, [INFO] [stdout] | | ------ `region` 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_region` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 24 | | country -> Varchar, [INFO] [stdout] | | ------- `country` 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_country` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 25 | | admin1 -> Varchar, [INFO] [stdout] | | ------ `admin1` 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_admin1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 26 | | admin2 -> Varchar, [INFO] [stdout] | | ------ `admin2` 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_admin2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 27 | | admin3 -> Varchar, [INFO] [stdout] | | ------ `admin3` 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_admin3` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 28 | | location -> Varchar, [INFO] [stdout] | | -------- `location` 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_location` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 29 | | geo_precision -> Int8, [INFO] [stdout] | | ------------- `geo_precision` 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_geo_precision` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 30 | | source -> Varchar, [INFO] [stdout] | | ------ `source` 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_source` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 31 | | source_scale -> Varchar, [INFO] [stdout] | | ------------ `source_scale` 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_source_scale` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 32 | | notes -> Varchar, [INFO] [stdout] | | ----- `notes` 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_notes` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fatalities -> Int8, [INFO] [stdout] | | ---------- `fatalities` 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_fatalities` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 34 | | timestamp -> Int8, [INFO] [stdout] | | --------- `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_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/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 35 | | iso3 -> Varchar, [INFO] [stdout] | | ---- `iso3` 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_iso3` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 36 | | geom -> Geometry, [INFO] [stdout] | | ---- `geom` 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_geom` [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 1m 04s [INFO] running `Command { std: "docker" "inspect" "c66f7801f2110da0e7a36b7a58b94e2f78702d0c74ac4a2f61d9608a5f34751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66f7801f2110da0e7a36b7a58b94e2f78702d0c74ac4a2f61d9608a5f34751c", kill_on_drop: false }` [INFO] [stdout] c66f7801f2110da0e7a36b7a58b94e2f78702d0c74ac4a2f61d9608a5f34751c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97f3cff7090b6ed7e8f0debb8e8f21306f59e33e6d5d054e5aa5481b46f7e27 [INFO] running `Command { std: "docker" "start" "-a" "d97f3cff7090b6ed7e8f0debb8e8f21306f59e33e6d5d054e5aa5481b46f7e27", kill_on_drop: false }` [INFO] [stderr] Compiling acled_collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/acled/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `success`, `last_update`, and `filename` are never read [INFO] [stdout] --> src/acled/response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub last_update: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/acled/incident.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/acled/incident.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Queryable, Debug, Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_incident` [INFO] [stdout] 9 | #[table_name = "incidents"] [INFO] [stdout] 10 | pub struct Incident { [INFO] [stdout] | -------- `Incident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` 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 `Insertable` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NotNull` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `SingleValue` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pg` is not local [INFO] [stdout] | `HasSqlType` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` 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 `SqlType` (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/db.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(SqlType, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_geometry` [INFO] [stdout] 30 | #[postgres(type_name = "geometry")] [INFO] [stdout] 31 | pub struct Geometry; [INFO] [stdout] | -------- `Geometry` is not local [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` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] | ---------- `Geometry` is not local [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` 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 `AsExpression` (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/db.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `FromSqlRow` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (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/db.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, AsExpression, FromSqlRow)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_pointtype` [INFO] [stdout] 34 | #[sql_type = "Geometry"] [INFO] [stdout] 35 | pub struct PointType(pub Point); [INFO] [stdout] | --------- `PointType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` 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 `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [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/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 7 | | data_id -> Int8, [INFO] [stdout] | | ------- `data_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_data_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 8 | | iso -> Int8, [INFO] [stdout] | | --- `iso` 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_iso` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 9 | | event_id_cnty -> Varchar, [INFO] [stdout] | | ------------- `event_id_cnty` 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_event_id_cnty` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 10 | | event_id_no_cnty -> Int8, [INFO] [stdout] | | ---------------- `event_id_no_cnty` 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_event_id_no_cnty` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 11 | | event_date -> Date, [INFO] [stdout] | | ---------- `event_date` 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_event_date` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 12 | | year -> Int8, [INFO] [stdout] | | ---- `year` 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_year` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 13 | | time_precision -> Int8, [INFO] [stdout] | | -------------- `time_precision` 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_time_precision` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 14 | | event_type -> Varchar, [INFO] [stdout] | | ---------- `event_type` 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_event_type` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 15 | | sub_event_type -> Varchar, [INFO] [stdout] | | -------------- `sub_event_type` 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_sub_event_type` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 16 | | actor1 -> Varchar, [INFO] [stdout] | | ------ `actor1` 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_actor1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 17 | | assoc_actor_1 -> Varchar, [INFO] [stdout] | | ------------- `assoc_actor_1` 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_assoc_actor_1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 18 | | inter1 -> Int8, [INFO] [stdout] | | ------ `inter1` 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_inter1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 19 | | actor2 -> Varchar, [INFO] [stdout] | | ------ `actor2` 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_actor2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 20 | | assoc_actor_2 -> Varchar, [INFO] [stdout] | | ------------- `assoc_actor_2` 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_assoc_actor_2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 21 | | inter2 -> Int8, [INFO] [stdout] | | ------ `inter2` 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_inter2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 22 | | interaction -> Varchar, [INFO] [stdout] | | ----------- `interaction` 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_interaction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 23 | | region -> Varchar, [INFO] [stdout] | | ------ `region` 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_region` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 24 | | country -> Varchar, [INFO] [stdout] | | ------- `country` 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_country` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 25 | | admin1 -> Varchar, [INFO] [stdout] | | ------ `admin1` 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_admin1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 26 | | admin2 -> Varchar, [INFO] [stdout] | | ------ `admin2` 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_admin2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 27 | | admin3 -> Varchar, [INFO] [stdout] | | ------ `admin3` 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_admin3` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 28 | | location -> Varchar, [INFO] [stdout] | | -------- `location` 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_location` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 29 | | geo_precision -> Int8, [INFO] [stdout] | | ------------- `geo_precision` 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_geo_precision` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 30 | | source -> Varchar, [INFO] [stdout] | | ------ `source` 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_source` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 31 | | source_scale -> Varchar, [INFO] [stdout] | | ------------ `source_scale` 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_source_scale` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 32 | | notes -> Varchar, [INFO] [stdout] | | ----- `notes` 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_notes` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fatalities -> Int8, [INFO] [stdout] | | ---------- `fatalities` 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_fatalities` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 34 | | timestamp -> Int8, [INFO] [stdout] | | --------- `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_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/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 35 | | iso3 -> Varchar, [INFO] [stdout] | | ---- `iso3` 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_iso3` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | use diesel::sql_types::*; [INFO] [stdout] 4 | | use crate::db::Geometry; [INFO] [stdout] ... | [INFO] [stdout] 36 | | geom -> Geometry, [INFO] [stdout] | | ---- `geom` 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_geom` [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 `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "d97f3cff7090b6ed7e8f0debb8e8f21306f59e33e6d5d054e5aa5481b46f7e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97f3cff7090b6ed7e8f0debb8e8f21306f59e33e6d5d054e5aa5481b46f7e27", kill_on_drop: false }` [INFO] [stdout] d97f3cff7090b6ed7e8f0debb8e8f21306f59e33e6d5d054e5aa5481b46f7e27