[INFO] cloning repository https://github.com/Mcat12/pihole-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mcat12/pihole-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcat12%2Fpihole-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcat12%2Fpihole-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 229e92e31a26fbcb22bc25ffbcaeda257eb41c9d [INFO] testing Mcat12/pihole-api against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcat12%2Fpihole-api" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mcat12/pihole-api [INFO] finished tweaking git repo https://github.com/Mcat12/pihole-api [INFO] tweaked toml for git repo https://github.com/Mcat12/pihole-api written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mcat12/pihole-api on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mcat12/pihole-api 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/lawliet89/rocket_cors.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shaku v0.6.1 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded rust-embed-impl v6.2.0 [INFO] [stderr] Downloaded socket2 v0.4.6 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded fragile v1.2.1 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded aes-gcm v0.9.4 [INFO] [stderr] Downloaded hkdf v0.12.3 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded tracing-subscriber v0.3.15 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded rocket_http v0.5.0-rc.2 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded time v0.3.14 [INFO] [stderr] Downloaded tracing v0.1.36 [INFO] [stderr] Downloaded rocket v0.5.0-rc.2 [INFO] [stderr] Downloaded gimli v0.26.2 [INFO] [stderr] Downloaded futures v0.3.23 [INFO] [stderr] Downloaded tracing-core v0.1.29 [INFO] [stderr] Downloaded mockall_derive v0.11.2 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded lock_api v0.4.8 [INFO] [stderr] Downloaded devise_core v0.3.1 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded rust-embed v6.4.0 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded rmp v0.8.11 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0-rc.2 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0-rc.2 [INFO] [stderr] Downloaded rust-embed-utils v7.2.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded async-trait v0.1.57 [INFO] [stderr] Downloaded multer v2.0.3 [INFO] [stderr] Downloaded devise v0.3.1 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded ref-cast v1.0.9 [INFO] [stderr] Downloaded state v0.5.3 [INFO] [stderr] Downloaded ref-cast-impl v1.0.9 [INFO] [stderr] Downloaded tracing-attributes v0.1.22 [INFO] [stderr] Downloaded ubyte v0.10.2 [INFO] [stderr] Downloaded yansi v0.5.1 [INFO] [stderr] Downloaded shaku_derive v0.6.1 [INFO] [stderr] Downloaded atomic v0.5.1 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded ghash v0.4.4 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded mockall v0.11.2 [INFO] [stderr] Downloaded devise_codegen v0.3.1 [INFO] [stderr] Downloaded pear_codegen v0.2.3 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded generator v0.7.1 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded windows v0.32.0 [INFO] [stderr] Downloaded shaku_rocket v0.7.0-rc.1 [INFO] [stderr] Downloaded shmem v0.2.0 [INFO] [stderr] Downloaded task_scheduler v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3176a2173b97f845d3afe2da4ad9fe2fb4d5641e83a5bdf92b93fbbbad783818 [INFO] running `Command { std: "docker" "start" "-a" "3176a2173b97f845d3afe2da4ad9fe2fb4d5641e83a5bdf92b93fbbbad783818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3176a2173b97f845d3afe2da4ad9fe2fb4d5641e83a5bdf92b93fbbbad783818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3176a2173b97f845d3afe2da4ad9fe2fb4d5641e83a5bdf92b93fbbbad783818", kill_on_drop: false }` [INFO] [stdout] 3176a2173b97f845d3afe2da4ad9fe2fb4d5641e83a5bdf92b93fbbbad783818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d000d4e002cea5e3721699a6f22906c1903038d6e4ff6064a3e79269227fe9db [INFO] running `Command { std: "docker" "start" "-a" "d000d4e002cea5e3721699a6f22906c1903038d6e4ff6064a3e79269227fe9db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling cpufeatures v0.2.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.6 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures v0.3.23 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pihole_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling task_scheduler v0.2.0 [INFO] [stderr] Compiling shmem v0.2.0 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling shaku_derive v0.6.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.2 [INFO] [stderr] Compiling rust-embed v6.4.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling shaku v0.6.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.2 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling shaku_rocket v0.7.0-rc.1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.2 [INFO] [stderr] Compiling rocket_cors v0.6.0-alpha1 (https://github.com/lawliet89/rocket_cors.git#54fae070) [INFO] [stdout] warning: unused import: `FtlRegexMatch` [INFO] [stdout] --> src/ftl/memory_model/mod.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | domain::{FtlDomain, FtlRegexMatch}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FtlConnection` [INFO] [stdout] --> src/ftl/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | socket::{FtlConnection, FtlConnectionType}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check` [INFO] [stdout] --> src/routes/auth.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn check(_user: User) -> Reply { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/routes/auth.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn logout(user: User, cookies: &CookieJar) -> Reply { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_whitelist` [INFO] [stdout] --> src/routes/dns/add_list.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn add_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_blacklist` [INFO] [stdout] --> src/routes/dns/add_list.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn add_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_regexlist` [INFO] [stdout] --> src/routes/dns/add_list.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn add_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_whitelist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delete_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_blacklist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn delete_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_regexlist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn delete_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_whitelist` [INFO] [stdout] --> src/routes/dns/get_list.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_whitelist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_blacklist` [INFO] [stdout] --> src/routes/dns/get_list.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_blacklist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_regexlist` [INFO] [stdout] --> src/routes/dns/get_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_regexlist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_status` [INFO] [stdout] --> src/routes/dns/status.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_status(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change_status` [INFO] [stdout] --> src/routes/dns/status.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn change_status( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_dhcp(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put_dhcp(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_dns(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn put_dns(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftl` [INFO] [stdout] --> src/routes/settings/ftl.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_ftl(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftldb` [INFO] [stdout] --> src/routes/settings/ftldb.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ftldb(ftl: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_network` [INFO] [stdout] --> src/routes/settings/network.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_network(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_web` [INFO] [stdout] --> src/routes/settings/web.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_web(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_web` [INFO] [stdout] --> src/routes/settings/web.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn put_web(_auth: User, env: Inject, settings: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clients` [INFO] [stdout] --> src/routes/stats/clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn clients( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The possible GET parameters for `/stats/clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct ClientParams { [INFO] [stdout] 41 | | inactive: Option, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients_db` [INFO] [stdout] --> src/routes/stats/database/over_time_clients_db.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn over_time_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history_db` [INFO] [stdout] --> src/routes/stats/database/over_time_history_db.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn over_time_history_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types_db` [INFO] [stdout] --> src/routes/stats/database/query_types_db.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn query_types_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary_db` [INFO] [stdout] --> src/routes/stats/database/summary_db.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_summary_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients_db` [INFO] [stdout] --> src/routes/stats/database/top_clients_db.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn top_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains_db` [INFO] [stdout] --> src/routes/stats/database/top_domains_db.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn top_domains_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams_db` [INFO] [stdout] --> src/routes/stats/database/upstreams_db.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn upstreams_db( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Represents the possible GET parameters on `/stats/history` [INFO] [stdout] 63 | | #[derive(FromForm)] [INFO] [stdout] 64 | | pub struct HistoryParams { [INFO] [stdout] 65 | | pub cursor: Option, [INFO] [stdout] ... | [INFO] [stdout] 76 | | pub limit: Option, [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients` [INFO] [stdout] --> src/routes/stats/over_time_clients.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn over_time_clients( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history` [INFO] [stdout] --> src/routes/stats/over_time_history.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn over_time_history(ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types` [INFO] [stdout] --> src/routes/stats/query_types.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query_types(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recent_blocked` [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn recent_blocked( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Represents the possible GET parameters on `/stats/recent_blocked` [INFO] [stdout] 36 | | #[derive(FromForm)] [INFO] [stdout] 37 | | pub struct RecentBlockedParams { [INFO] [stdout] 38 | | num: Option, [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary` [INFO] [stdout] --> src/routes/stats/summary.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_summary(ftl_memory: &State, env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients` [INFO] [stdout] --> src/routes/stats/top_clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn top_clients( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Represents the possible GET parameters on `/stats/top_clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct TopClientParams { [INFO] [stdout] 41 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub blocked: Option, [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains` [INFO] [stdout] --> src/routes/stats/top_domains.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn top_domains( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_domains.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Represents the possible GET parameters for top (blocked) domains requests [INFO] [stdout] 41 | | #[derive(FromForm, Default)] [INFO] [stdout] 42 | | pub struct TopDomainParams { [INFO] [stdout] 43 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub blocked: Option, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams` [INFO] [stdout] --> src/routes/stats/upstreams.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn upstreams(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `version` [INFO] [stdout] --> src/routes/version.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn version( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_redirect` [INFO] [stdout] --> src/routes/web.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn web_interface_redirect(env: Inject) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_index` [INFO] [stdout] --> src/routes/web.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn web_interface_index(env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface` [INFO] [stdout] --> src/routes/web.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn web_interface(path: PathBuf, env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/client.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | last_query_time: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/over_time.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/query.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upstream` is never read [INFO] [stdout] --> src/databases/ftl/model.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct FtlDbQuery { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub upstream: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/settings/entries.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait ConfigEntry { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 176 | fn delete(&self, env: &Env) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/model.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_ftldbquery` [INFO] [stdout] 92 | pub struct FtlDbQuery { [INFO] [stdout] | ---------- `FtlDbQuery` 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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] | | -- `ip` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] | | ------ `hwaddr` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hwaddr` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] 30 | | interface -> Text, [INFO] [stdout] | | --------- `interface` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interface` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 31 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 32 | | firstSeen -> Integer, [INFO] [stdout] | | --------- `firstSeen` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_firstseen` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 33 | | lastQuery -> Integer, [INFO] [stdout] | | --------- `lastQuery` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_lastquery` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | numQueries -> Integer, [INFO] [stdout] | | ---------- `numQueries` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_numqueries` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | macVendor -> Nullable, [INFO] [stdout] | | --------- `macVendor` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_macvendor` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] | | --------- `timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] 43 | | #[sql_name = "type"] [INFO] [stdout] 44 | | query_type -> Integer, [INFO] [stdout] | | ---------- `query_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_query_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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 45 | | status -> Integer, [INFO] [stdout] | | ------ `status` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_status` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 46 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 47 | | client -> Text, [INFO] [stdout] | | ------ `client` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_client` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 49 | | upstream -> Nullable, [INFO] [stdout] | | -------- `upstream` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_upstream` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] | | ------- `address` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_address` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] 16 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 17 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 18 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] | | --------- `adlist_id` is not local [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_adlist_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/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] | | ------ `domain` 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_domain` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` 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_enabled` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] 34 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` 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_date_added` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` 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_date_modified` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 36 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` 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_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] | | ------------ `blacklist_id` is not local [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_blacklist_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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] 51 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] 66 | | description -> Nullable, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] | | -------- `property` is not local [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_property` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] 82 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 83 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 84 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] | | -------- `regex_id` is not local [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_regex_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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] 100 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 101 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 102 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] | | ------------ `whitelist_id` is not local [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_whitelist_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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_lock.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_memory.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/socket.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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 49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d000d4e002cea5e3721699a6f22906c1903038d6e4ff6064a3e79269227fe9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d000d4e002cea5e3721699a6f22906c1903038d6e4ff6064a3e79269227fe9db", kill_on_drop: false }` [INFO] [stdout] d000d4e002cea5e3721699a6f22906c1903038d6e4ff6064a3e79269227fe9db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f7a60ffd7c66ee631689b4a01af35373eec101a6268f254f90d77ae5a226a8bb [INFO] running `Command { std: "docker" "start" "-a" "f7a60ffd7c66ee631689b4a01af35373eec101a6268f254f90d77ae5a226a8bb", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling mockall_derive v0.11.2 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stdout] warning: unused import: `FtlRegexMatch` [INFO] [stdout] --> src/ftl/memory_model/mod.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | domain::{FtlDomain, FtlRegexMatch}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FtlConnection` [INFO] [stdout] --> src/ftl/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | socket::{FtlConnection, FtlConnectionType}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check` [INFO] [stdout] --> src/routes/auth.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn check(_user: User) -> Reply { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/routes/auth.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn logout(user: User, cookies: &CookieJar) -> Reply { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_whitelist` [INFO] [stdout] --> src/routes/dns/add_list.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn add_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_blacklist` [INFO] [stdout] --> src/routes/dns/add_list.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn add_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_regexlist` [INFO] [stdout] --> src/routes/dns/add_list.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn add_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_whitelist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delete_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_blacklist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn delete_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_regexlist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn delete_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_whitelist` [INFO] [stdout] --> src/routes/dns/get_list.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_whitelist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_blacklist` [INFO] [stdout] --> src/routes/dns/get_list.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_blacklist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_regexlist` [INFO] [stdout] --> src/routes/dns/get_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_regexlist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_status` [INFO] [stdout] --> src/routes/dns/status.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_status(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change_status` [INFO] [stdout] --> src/routes/dns/status.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn change_status( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_dhcp(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put_dhcp(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_dns(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn put_dns(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftl` [INFO] [stdout] --> src/routes/settings/ftl.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_ftl(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftldb` [INFO] [stdout] --> src/routes/settings/ftldb.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ftldb(ftl: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_network` [INFO] [stdout] --> src/routes/settings/network.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_network(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_web` [INFO] [stdout] --> src/routes/settings/web.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_web(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_web` [INFO] [stdout] --> src/routes/settings/web.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn put_web(_auth: User, env: Inject, settings: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clients` [INFO] [stdout] --> src/routes/stats/clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn clients( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The possible GET parameters for `/stats/clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct ClientParams { [INFO] [stdout] 41 | | inactive: Option, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients_db` [INFO] [stdout] --> src/routes/stats/database/over_time_clients_db.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn over_time_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history_db` [INFO] [stdout] --> src/routes/stats/database/over_time_history_db.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn over_time_history_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types_db` [INFO] [stdout] --> src/routes/stats/database/query_types_db.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn query_types_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary_db` [INFO] [stdout] --> src/routes/stats/database/summary_db.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_summary_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients_db` [INFO] [stdout] --> src/routes/stats/database/top_clients_db.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn top_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains_db` [INFO] [stdout] --> src/routes/stats/database/top_domains_db.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn top_domains_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams_db` [INFO] [stdout] --> src/routes/stats/database/upstreams_db.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn upstreams_db( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Represents the possible GET parameters on `/stats/history` [INFO] [stdout] 63 | | #[derive(FromForm)] [INFO] [stdout] 64 | | pub struct HistoryParams { [INFO] [stdout] 65 | | pub cursor: Option, [INFO] [stdout] ... | [INFO] [stdout] 76 | | pub limit: Option, [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients` [INFO] [stdout] --> src/routes/stats/over_time_clients.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn over_time_clients( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history` [INFO] [stdout] --> src/routes/stats/over_time_history.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn over_time_history(ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types` [INFO] [stdout] --> src/routes/stats/query_types.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query_types(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recent_blocked` [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn recent_blocked( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Represents the possible GET parameters on `/stats/recent_blocked` [INFO] [stdout] 36 | | #[derive(FromForm)] [INFO] [stdout] 37 | | pub struct RecentBlockedParams { [INFO] [stdout] 38 | | num: Option, [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary` [INFO] [stdout] --> src/routes/stats/summary.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_summary(ftl_memory: &State, env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients` [INFO] [stdout] --> src/routes/stats/top_clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn top_clients( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Represents the possible GET parameters on `/stats/top_clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct TopClientParams { [INFO] [stdout] 41 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub blocked: Option, [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains` [INFO] [stdout] --> src/routes/stats/top_domains.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn top_domains( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_domains.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Represents the possible GET parameters for top (blocked) domains requests [INFO] [stdout] 41 | | #[derive(FromForm, Default)] [INFO] [stdout] 42 | | pub struct TopDomainParams { [INFO] [stdout] 43 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub blocked: Option, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams` [INFO] [stdout] --> src/routes/stats/upstreams.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn upstreams(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `version` [INFO] [stdout] --> src/routes/version.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn version( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_redirect` [INFO] [stdout] --> src/routes/web.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn web_interface_redirect(env: Inject) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_index` [INFO] [stdout] --> src/routes/web.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn web_interface_index(env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface` [INFO] [stdout] --> src/routes/web.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn web_interface(path: PathBuf, env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/client.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | last_query_time: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/over_time.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/query.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upstream` is never read [INFO] [stdout] --> src/databases/ftl/model.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct FtlDbQuery { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub upstream: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/settings/entries.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait ConfigEntry { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 176 | fn delete(&self, env: &Env) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/model.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_ftldbquery` [INFO] [stdout] 92 | pub struct FtlDbQuery { [INFO] [stdout] | ---------- `FtlDbQuery` 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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] | | -- `ip` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] | | ------ `hwaddr` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hwaddr` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] 30 | | interface -> Text, [INFO] [stdout] | | --------- `interface` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interface` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 31 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 32 | | firstSeen -> Integer, [INFO] [stdout] | | --------- `firstSeen` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_firstseen` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 33 | | lastQuery -> Integer, [INFO] [stdout] | | --------- `lastQuery` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_lastquery` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | numQueries -> Integer, [INFO] [stdout] | | ---------- `numQueries` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_numqueries` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | macVendor -> Nullable, [INFO] [stdout] | | --------- `macVendor` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_macvendor` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] | | --------- `timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] 43 | | #[sql_name = "type"] [INFO] [stdout] 44 | | query_type -> Integer, [INFO] [stdout] | | ---------- `query_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_query_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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 45 | | status -> Integer, [INFO] [stdout] | | ------ `status` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_status` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 46 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 47 | | client -> Text, [INFO] [stdout] | | ------ `client` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_client` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 49 | | upstream -> Nullable, [INFO] [stdout] | | -------- `upstream` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_upstream` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] | | ------- `address` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_address` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] 16 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 17 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 18 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] | | --------- `adlist_id` is not local [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_adlist_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/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] | | ------ `domain` 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_domain` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` 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_enabled` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] 34 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` 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_date_added` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` 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_date_modified` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 36 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` 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_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] | | ------------ `blacklist_id` is not local [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_blacklist_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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] 51 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] 66 | | description -> Nullable, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] | | -------- `property` is not local [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_property` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] 82 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 83 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 84 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] | | -------- `regex_id` is not local [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_regex_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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] 100 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 101 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 102 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] | | ------------ `whitelist_id` is not local [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_whitelist_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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_lock.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_memory.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/socket.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling mockall v0.11.2 [INFO] [stderr] Compiling pihole_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FtlConnection` [INFO] [stdout] --> src/ftl/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | socket::{FtlConnection, FtlConnectionType}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `check` [INFO] [stdout] --> src/routes/auth.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn check(_user: User) -> Reply { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/routes/auth.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn logout(user: User, cookies: &CookieJar) -> Reply { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_whitelist` [INFO] [stdout] --> src/routes/dns/add_list.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn add_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_blacklist` [INFO] [stdout] --> src/routes/dns/add_list.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn add_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_regexlist` [INFO] [stdout] --> src/routes/dns/add_list.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn add_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_whitelist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delete_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_blacklist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn delete_blacklist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_regexlist` [INFO] [stdout] --> src/routes/dns/delete_list.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn delete_regexlist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_whitelist` [INFO] [stdout] --> src/routes/dns/get_list.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_whitelist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_blacklist` [INFO] [stdout] --> src/routes/dns/get_list.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_blacklist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_regexlist` [INFO] [stdout] --> src/routes/dns/get_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_regexlist(service: InjectProvided) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_status` [INFO] [stdout] --> src/routes/dns/status.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_status(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change_status` [INFO] [stdout] --> src/routes/dns/status.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn change_status( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_dhcp(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dhcp` [INFO] [stdout] --> src/routes/settings/dhcp.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put_dhcp(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_dns(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_dns` [INFO] [stdout] --> src/routes/settings/dns.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn put_dns(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftl` [INFO] [stdout] --> src/routes/settings/ftl.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_ftl(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ftldb` [INFO] [stdout] --> src/routes/settings/ftldb.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ftldb(ftl: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_network` [INFO] [stdout] --> src/routes/settings/network.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_network(env: Inject, _auth: User) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_web` [INFO] [stdout] --> src/routes/settings/web.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_web(env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_web` [INFO] [stdout] --> src/routes/settings/web.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn put_web(_auth: User, env: Inject, settings: Json) -> Reply { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clients` [INFO] [stdout] --> src/routes/stats/clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn clients( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The possible GET parameters for `/stats/clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct ClientParams { [INFO] [stdout] 41 | | inactive: Option, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients_db` [INFO] [stdout] --> src/routes/stats/database/over_time_clients_db.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn over_time_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history_db` [INFO] [stdout] --> src/routes/stats/database/over_time_history_db.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn over_time_history_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types_db` [INFO] [stdout] --> src/routes/stats/database/query_types_db.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn query_types_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary_db` [INFO] [stdout] --> src/routes/stats/database/summary_db.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_summary_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients_db` [INFO] [stdout] --> src/routes/stats/database/top_clients_db.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn top_clients_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains_db` [INFO] [stdout] --> src/routes/stats/database/top_domains_db.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn top_domains_db( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams_db` [INFO] [stdout] --> src/routes/stats/database/upstreams_db.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn upstreams_db( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn history( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/history/endpoints.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Represents the possible GET parameters on `/stats/history` [INFO] [stdout] 63 | | #[derive(FromForm)] [INFO] [stdout] 64 | | pub struct HistoryParams { [INFO] [stdout] 65 | | pub cursor: Option, [INFO] [stdout] ... | [INFO] [stdout] 76 | | pub limit: Option, [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_clients` [INFO] [stdout] --> src/routes/stats/over_time_clients.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn over_time_clients( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `over_time_history` [INFO] [stdout] --> src/routes/stats/over_time_history.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn over_time_history(ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_types` [INFO] [stdout] --> src/routes/stats/query_types.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query_types(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recent_blocked` [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn recent_blocked( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/recent_blocked.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Represents the possible GET parameters on `/stats/recent_blocked` [INFO] [stdout] 36 | | #[derive(FromForm)] [INFO] [stdout] 37 | | pub struct RecentBlockedParams { [INFO] [stdout] 38 | | num: Option, [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_summary` [INFO] [stdout] --> src/routes/stats/summary.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_summary(ftl_memory: &State, env: Inject) -> Reply { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_clients` [INFO] [stdout] --> src/routes/stats/top_clients.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn top_clients( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_clients.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Represents the possible GET parameters on `/stats/top_clients` [INFO] [stdout] 39 | | #[derive(FromForm, Default)] [INFO] [stdout] 40 | | pub struct TopClientParams { [INFO] [stdout] 41 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub blocked: Option, [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `top_domains` [INFO] [stdout] --> src/routes/stats/top_domains.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn top_domains( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/routes/stats/top_domains.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Represents the possible GET parameters for top (blocked) domains requests [INFO] [stdout] 41 | | #[derive(FromForm, Default)] [INFO] [stdout] 42 | | pub struct TopDomainParams { [INFO] [stdout] 43 | | pub limit: Option, [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub blocked: Option, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upstreams` [INFO] [stdout] --> src/routes/stats/upstreams.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn upstreams(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `version` [INFO] [stdout] --> src/routes/version.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn version( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_redirect` [INFO] [stdout] --> src/routes/web.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn web_interface_redirect(env: Inject) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface_index` [INFO] [stdout] --> src/routes/web.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn web_interface_index(env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_interface` [INFO] [stdout] --> src/routes/web.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn web_interface(path: PathBuf, env: Inject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/client.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | last_query_time: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/over_time.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/over_time.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | timestamp: timestamp as libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/ftl/memory_model/query.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub timestamp: libc::time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> src/settings/entries.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait ConfigEntry { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 176 | fn delete(&self, env: &Env) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/databases/ftl/model.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_ftldbquery` [INFO] [stdout] 92 | pub struct FtlDbQuery { [INFO] [stdout] | ---------- `FtlDbQuery` 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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [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/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | counters (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | value -> Integer, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [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/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / table! { [INFO] [stdout] 19 | | ftl (id) { [INFO] [stdout] 20 | | id -> Integer, [INFO] [stdout] 21 | | value -> Binary, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] | | -- `ip` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] | | ------ `hwaddr` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hwaddr` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] 29 | | hwaddr -> Text, [INFO] [stdout] 30 | | interface -> Text, [INFO] [stdout] | | --------- `interface` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interface` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 31 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 32 | | firstSeen -> Integer, [INFO] [stdout] | | --------- `firstSeen` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_firstseen` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 33 | | lastQuery -> Integer, [INFO] [stdout] | | --------- `lastQuery` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_lastquery` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | numQueries -> Integer, [INFO] [stdout] | | ---------- `numQueries` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_numqueries` [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/databases/ftl/schema.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / table! { [INFO] [stdout] 26 | | network (id) { [INFO] [stdout] 27 | | id -> Integer, [INFO] [stdout] 28 | | ip -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | macVendor -> Nullable, [INFO] [stdout] | | --------- `macVendor` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_macvendor` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] | | --------- `timestamp` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] 43 | | #[sql_name = "type"] [INFO] [stdout] 44 | | query_type -> Integer, [INFO] [stdout] | | ---------- `query_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_query_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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 45 | | status -> Integer, [INFO] [stdout] | | ------ `status` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_status` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 46 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 47 | | client -> Text, [INFO] [stdout] | | ------ `client` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_client` [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/databases/ftl/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | queries (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | timestamp -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 49 | | upstream -> Nullable, [INFO] [stdout] | | -------- `upstream` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_upstream` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] | | ------- `address` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_address` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] 15 | | enabled -> Bool, [INFO] [stdout] 16 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 17 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | adlist (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | address -> Text, [INFO] [stdout] ... | [INFO] [stdout] 18 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] | | --------- `adlist_id` is not local [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_adlist_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/databases/gravity/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / table! { [INFO] [stdout] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stdout] 24 | | adlist_id -> Integer, [INFO] [stdout] 25 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] | | ------ `domain` 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_domain` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` 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_enabled` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] 33 | | enabled -> Bool, [INFO] [stdout] 34 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` 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_date_added` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 35 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` 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_date_modified` [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/databases/gravity/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / table! { [INFO] [stdout] 30 | | blacklist (id) { [INFO] [stdout] 31 | | id -> Integer, [INFO] [stdout] 32 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 36 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` 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_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] | | ------------ `blacklist_id` is not local [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_blacklist_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/databases/gravity/schema.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / table! { [INFO] [stdout] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stdout] 42 | | blacklist_id -> Integer, [INFO] [stdout] 43 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / table! { [INFO] [stdout] 48 | | domain_audit (id) { [INFO] [stdout] 49 | | id -> Integer, [INFO] [stdout] 50 | | domain -> Text, [INFO] [stdout] 51 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [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/databases/gravity/schema.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / table! { [INFO] [stdout] 56 | | gravity (domain) { [INFO] [stdout] 57 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / table! { [INFO] [stdout] 62 | | group (id) { [INFO] [stdout] 63 | | id -> Integer, [INFO] [stdout] 64 | | enabled -> Bool, [INFO] [stdout] 65 | | name -> Text, [INFO] [stdout] 66 | | description -> Nullable, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] | | -------- `property` is not local [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_property` [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/databases/gravity/schema.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / table! { [INFO] [stdout] 71 | | info (property) { [INFO] [stdout] 72 | | property -> Text, [INFO] [stdout] 73 | | value -> Text, [INFO] [stdout] | | ----- `value` is not local [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_value` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] 81 | | enabled -> Bool, [INFO] [stdout] 82 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 83 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / table! { [INFO] [stdout] 78 | | regex (id) { [INFO] [stdout] 79 | | id -> Integer, [INFO] [stdout] 80 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 84 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] | | -------- `regex_id` is not local [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_regex_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/databases/gravity/schema.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / table! { [INFO] [stdout] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stdout] 90 | | regex_id -> Integer, [INFO] [stdout] 91 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] | | ------ `domain` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_domain` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] 99 | | enabled -> Bool, [INFO] [stdout] 100 | | date_added -> Integer, [INFO] [stdout] | | ---------- `date_added` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 101 | | date_modified -> Integer, [INFO] [stdout] | | ------------- `date_modified` is not local [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [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/databases/gravity/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | whitelist (id) { [INFO] [stdout] 97 | | id -> Integer, [INFO] [stdout] 98 | | domain -> Text, [INFO] [stdout] ... | [INFO] [stdout] 102 | | comment -> Nullable, [INFO] [stdout] | | ------- `comment` is not local [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] | | ------------ `whitelist_id` is not local [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_whitelist_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/databases/gravity/schema.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / table! { [INFO] [stdout] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stdout] 108 | | whitelist_id -> Integer, [INFO] [stdout] 109 | | group_id -> Integer, [INFO] [stdout] | | -------- `group_id` is not local [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_group_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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_lock.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn read(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/shared_memory.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn lock(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ftl/socket.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn connect(&self, command: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn key(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/settings/entries.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 396 | fn key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/util.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 101 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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 24.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f7a60ffd7c66ee631689b4a01af35373eec101a6268f254f90d77ae5a226a8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a60ffd7c66ee631689b4a01af35373eec101a6268f254f90d77ae5a226a8bb", kill_on_drop: false }` [INFO] [stdout] f7a60ffd7c66ee631689b4a01af35373eec101a6268f254f90d77ae5a226a8bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ae907a17779ce1ad65528f14fea769c8df2f6ed57f83ed46f6c0a74d75313d12 [INFO] running `Command { std: "docker" "start" "-a" "ae907a17779ce1ad65528f14fea769c8df2f6ed57f83ed46f6c0a74d75313d12", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FtlRegexMatch` [INFO] [stderr] --> src/ftl/memory_model/mod.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | domain::{FtlDomain, FtlRegexMatch}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FtlConnection` [INFO] [stderr] --> src/ftl/mod.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | socket::{FtlConnection, FtlConnectionType}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `check` [INFO] [stderr] --> src/routes/auth.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn check(_user: User) -> Reply { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `logout` [INFO] [stderr] --> src/routes/auth.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn logout(user: User, cookies: &CookieJar) -> Reply { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `add_whitelist` [INFO] [stderr] --> src/routes/dns/add_list.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn add_whitelist( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `add_blacklist` [INFO] [stderr] --> src/routes/dns/add_list.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn add_blacklist( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `add_regexlist` [INFO] [stderr] --> src/routes/dns/add_list.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn add_regexlist( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_whitelist` [INFO] [stderr] --> src/routes/dns/delete_list.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn delete_whitelist( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_blacklist` [INFO] [stderr] --> src/routes/dns/delete_list.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn delete_blacklist( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_regexlist` [INFO] [stderr] --> src/routes/dns/delete_list.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn delete_regexlist( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_whitelist` [INFO] [stderr] --> src/routes/dns/get_list.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get_whitelist(service: InjectProvided) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_blacklist` [INFO] [stderr] --> src/routes/dns/get_list.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn get_blacklist(service: InjectProvided) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_regexlist` [INFO] [stderr] --> src/routes/dns/get_list.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_regexlist(service: InjectProvided) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_status` [INFO] [stderr] --> src/routes/dns/status.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_status(env: Inject) -> Reply { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `change_status` [INFO] [stderr] --> src/routes/dns/status.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn change_status( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_dhcp` [INFO] [stderr] --> src/routes/settings/dhcp.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_dhcp(env: Inject, _auth: User) -> Reply { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_dhcp` [INFO] [stderr] --> src/routes/settings/dhcp.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn put_dhcp(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_dns` [INFO] [stderr] --> src/routes/settings/dns.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn get_dns(env: Inject, _auth: User) -> Reply { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_dns` [INFO] [stderr] --> src/routes/settings/dns.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn put_dns(env: Inject, _auth: User, data: Json) -> Reply { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_ftl` [INFO] [stderr] --> src/routes/settings/ftl.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get_ftl(env: Inject, _auth: User) -> Reply { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_ftldb` [INFO] [stderr] --> src/routes/settings/ftldb.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn get_ftldb(ftl: Inject, _auth: User) -> Reply { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_network` [INFO] [stderr] --> src/routes/settings/network.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_network(env: Inject, _auth: User) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_web` [INFO] [stderr] --> src/routes/settings/web.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_web(env: Inject) -> Reply { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_web` [INFO] [stderr] --> src/routes/settings/web.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn put_web(_auth: User, env: Inject, settings: Json) -> Reply { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clients` [INFO] [stderr] --> src/routes/stats/clients.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn clients( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/clients.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / /// The possible GET parameters for `/stats/clients` [INFO] [stderr] 39 | | #[derive(FromForm, Default)] [INFO] [stderr] 40 | | pub struct ClientParams { [INFO] [stderr] 41 | | inactive: Option, [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `over_time_clients_db` [INFO] [stderr] --> src/routes/stats/database/over_time_clients_db.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn over_time_clients_db( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `over_time_history_db` [INFO] [stderr] --> src/routes/stats/database/over_time_history_db.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn over_time_history_db( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `query_types_db` [INFO] [stderr] --> src/routes/stats/database/query_types_db.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn query_types_db( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_summary_db` [INFO] [stderr] --> src/routes/stats/database/summary_db.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn get_summary_db( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `top_clients_db` [INFO] [stderr] --> src/routes/stats/database/top_clients_db.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn top_clients_db( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `top_domains_db` [INFO] [stderr] --> src/routes/stats/database/top_domains_db.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn top_domains_db( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `upstreams_db` [INFO] [stderr] --> src/routes/stats/database/upstreams_db.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn upstreams_db( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `history` [INFO] [stderr] --> src/routes/stats/history/endpoints.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn history( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/history/endpoints.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / /// Represents the possible GET parameters on `/stats/history` [INFO] [stderr] 63 | | #[derive(FromForm)] [INFO] [stderr] 64 | | pub struct HistoryParams { [INFO] [stderr] 65 | | pub cursor: Option, [INFO] [stderr] ... | [INFO] [stderr] 76 | | pub limit: Option, [INFO] [stderr] 77 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `over_time_clients` [INFO] [stderr] --> src/routes/stats/over_time_clients.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn over_time_clients( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `over_time_history` [INFO] [stderr] --> src/routes/stats/over_time_history.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn over_time_history(ftl_memory: &State) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `query_types` [INFO] [stderr] --> src/routes/stats/query_types.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn query_types(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `recent_blocked` [INFO] [stderr] --> src/routes/stats/recent_blocked.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn recent_blocked( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/recent_blocked.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / /// Represents the possible GET parameters on `/stats/recent_blocked` [INFO] [stderr] 36 | | #[derive(FromForm)] [INFO] [stderr] 37 | | pub struct RecentBlockedParams { [INFO] [stderr] 38 | | num: Option, [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_summary` [INFO] [stderr] --> src/routes/stats/summary.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_summary(ftl_memory: &State, env: Inject) -> Reply { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `top_clients` [INFO] [stderr] --> src/routes/stats/top_clients.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn top_clients( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/top_clients.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / /// Represents the possible GET parameters on `/stats/top_clients` [INFO] [stderr] 39 | | #[derive(FromForm, Default)] [INFO] [stderr] 40 | | pub struct TopClientParams { [INFO] [stderr] 41 | | pub limit: Option, [INFO] [stderr] ... | [INFO] [stderr] 44 | | pub blocked: Option, [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `top_domains` [INFO] [stderr] --> src/routes/stats/top_domains.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn top_domains( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/top_domains.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / /// Represents the possible GET parameters for top (blocked) domains requests [INFO] [stderr] 41 | | #[derive(FromForm, Default)] [INFO] [stderr] 42 | | pub struct TopDomainParams { [INFO] [stderr] 43 | | pub limit: Option, [INFO] [stderr] ... | [INFO] [stderr] 46 | | pub blocked: Option, [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `upstreams` [INFO] [stderr] --> src/routes/stats/upstreams.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn upstreams(_auth: User, ftl_memory: &State) -> Reply { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `version` [INFO] [stderr] --> src/routes/version.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn version( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_interface_redirect` [INFO] [stderr] --> src/routes/web.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn web_interface_redirect(env: Inject) -> Redirect { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_interface_index` [INFO] [stderr] --> src/routes/web.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn web_interface_index(env: Inject) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_interface` [INFO] [stderr] --> src/routes/web.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn web_interface(path: PathBuf, env: Inject) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stderr] --> src/ftl/memory_model/client.rs:43:28 [INFO] [stderr] | [INFO] [stderr] 43 | last_query_time: libc::time_t, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stderr] --> src/ftl/memory_model/over_time.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | pub timestamp: libc::time_t, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stderr] --> src/ftl/memory_model/query.rs:38:26 [INFO] [stderr] | [INFO] [stderr] 38 | pub timestamp: libc::time_t, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `upstream` is never read [INFO] [stderr] --> src/databases/ftl/model.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct FtlDbQuery { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 99 | pub upstream: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `delete` is never used [INFO] [stderr] --> src/settings/entries.rs:176:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub trait ConfigEntry { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 176 | fn delete(&self, env: &Env) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/model.rs:91:10 [INFO] [stderr] | [INFO] [stderr] 91 | #[derive(Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_ftldbquery` [INFO] [stderr] 92 | pub struct FtlDbQuery { [INFO] [stderr] | ---------- `FtlDbQuery` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | counters (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | value -> Integer, [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | counters (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 14 | | value -> Integer, [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | counters (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | value -> Integer, [INFO] [stderr] | | ----- `value` is not local [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_value` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / table! { [INFO] [stderr] 19 | | ftl (id) { [INFO] [stderr] 20 | | id -> Integer, [INFO] [stderr] 21 | | value -> Binary, [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / table! { [INFO] [stderr] 19 | | ftl (id) { [INFO] [stderr] 20 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 21 | | value -> Binary, [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / table! { [INFO] [stderr] 19 | | ftl (id) { [INFO] [stderr] 20 | | id -> Integer, [INFO] [stderr] 21 | | value -> Binary, [INFO] [stderr] | | ----- `value` is not local [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_value` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] | | -- `ip` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_ip` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] 29 | | hwaddr -> Text, [INFO] [stderr] | | ------ `hwaddr` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_hwaddr` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] 29 | | hwaddr -> Text, [INFO] [stderr] 30 | | interface -> Text, [INFO] [stderr] | | --------- `interface` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_interface` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 31 | | name -> Nullable, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 32 | | firstSeen -> Integer, [INFO] [stderr] | | --------- `firstSeen` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_firstseen` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 33 | | lastQuery -> Integer, [INFO] [stderr] | | --------- `lastQuery` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_lastquery` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 34 | | numQueries -> Integer, [INFO] [stderr] | | ---------- `numQueries` is not local [INFO] [stderr] ... | [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_numqueries` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / table! { [INFO] [stderr] 26 | | network (id) { [INFO] [stderr] 27 | | id -> Integer, [INFO] [stderr] 28 | | ip -> Text, [INFO] [stderr] ... | [INFO] [stderr] 35 | | macVendor -> Nullable, [INFO] [stderr] | | --------- `macVendor` is not local [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_macvendor` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] | | --------- `timestamp` is not local [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_timestamp` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] 43 | | #[sql_name = "type"] [INFO] [stderr] 44 | | query_type -> Integer, [INFO] [stderr] | | ---------- `query_type` is not local [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_query_type` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 45 | | status -> Integer, [INFO] [stderr] | | ------ `status` is not local [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_status` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 46 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 47 | | client -> Text, [INFO] [stderr] | | ------ `client` is not local [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_client` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/ftl/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / table! { [INFO] [stderr] 40 | | queries (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | timestamp -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 49 | | upstream -> Nullable, [INFO] [stderr] | | -------- `upstream` is not local [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_upstream` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] | | ------- `address` is not local [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_address` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] 15 | | enabled -> Bool, [INFO] [stderr] | | ------- `enabled` is not local [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] 15 | | enabled -> Bool, [INFO] [stderr] 16 | | date_added -> Integer, [INFO] [stderr] | | ---------- `date_added` is not local [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] ... | [INFO] [stderr] 17 | | date_modified -> Integer, [INFO] [stderr] | | ------------- `date_modified` is not local [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | adlist (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | address -> Text, [INFO] [stderr] ... | [INFO] [stderr] 18 | | comment -> Nullable, [INFO] [stderr] | | ------- `comment` is not local [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / table! { [INFO] [stderr] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stderr] 24 | | adlist_id -> Integer, [INFO] [stderr] 25 | | group_id -> Integer, [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / table! { [INFO] [stderr] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stderr] 24 | | adlist_id -> Integer, [INFO] [stderr] | | --------- `adlist_id` is not local [INFO] [stderr] 25 | | group_id -> Integer, [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_adlist_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / table! { [INFO] [stderr] 23 | | adlist_by_group (adlist_id, group_id) { [INFO] [stderr] 24 | | adlist_id -> Integer, [INFO] [stderr] 25 | | group_id -> Integer, [INFO] [stderr] | | -------- `group_id` is not local [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_group_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] 33 | | enabled -> Bool, [INFO] [stderr] | | ------- `enabled` is not local [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] 33 | | enabled -> Bool, [INFO] [stderr] 34 | | date_added -> Integer, [INFO] [stderr] | | ---------- `date_added` is not local [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 35 | | date_modified -> Integer, [INFO] [stderr] | | ------------- `date_modified` is not local [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / table! { [INFO] [stderr] 30 | | blacklist (id) { [INFO] [stderr] 31 | | id -> Integer, [INFO] [stderr] 32 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 36 | | comment -> Nullable, [INFO] [stderr] | | ------- `comment` is not local [INFO] [stderr] 37 | | } [INFO] [stderr] 38 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / table! { [INFO] [stderr] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stderr] 42 | | blacklist_id -> Integer, [INFO] [stderr] 43 | | group_id -> Integer, [INFO] [stderr] 44 | | } [INFO] [stderr] 45 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / table! { [INFO] [stderr] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stderr] 42 | | blacklist_id -> Integer, [INFO] [stderr] | | ------------ `blacklist_id` is not local [INFO] [stderr] 43 | | group_id -> Integer, [INFO] [stderr] 44 | | } [INFO] [stderr] 45 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_blacklist_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / table! { [INFO] [stderr] 41 | | blacklist_by_group (blacklist_id, group_id) { [INFO] [stderr] 42 | | blacklist_id -> Integer, [INFO] [stderr] 43 | | group_id -> Integer, [INFO] [stderr] | | -------- `group_id` is not local [INFO] [stderr] 44 | | } [INFO] [stderr] 45 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_group_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / table! { [INFO] [stderr] 48 | | domain_audit (id) { [INFO] [stderr] 49 | | id -> Integer, [INFO] [stderr] 50 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / table! { [INFO] [stderr] 48 | | domain_audit (id) { [INFO] [stderr] 49 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 50 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / table! { [INFO] [stderr] 48 | | domain_audit (id) { [INFO] [stderr] 49 | | id -> Integer, [INFO] [stderr] 50 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / table! { [INFO] [stderr] 48 | | domain_audit (id) { [INFO] [stderr] 49 | | id -> Integer, [INFO] [stderr] 50 | | domain -> Text, [INFO] [stderr] 51 | | date_added -> Integer, [INFO] [stderr] | | ---------- `date_added` is not local [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | / table! { [INFO] [stderr] 56 | | gravity (domain) { [INFO] [stderr] 57 | | domain -> Text, [INFO] [stderr] 58 | | } [INFO] [stderr] 59 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | / table! { [INFO] [stderr] 56 | | gravity (domain) { [INFO] [stderr] 57 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] 58 | | } [INFO] [stderr] 59 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / table! { [INFO] [stderr] 62 | | group (id) { [INFO] [stderr] 63 | | id -> Integer, [INFO] [stderr] 64 | | enabled -> Bool, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / table! { [INFO] [stderr] 62 | | group (id) { [INFO] [stderr] 63 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 64 | | enabled -> Bool, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / table! { [INFO] [stderr] 62 | | group (id) { [INFO] [stderr] 63 | | id -> Integer, [INFO] [stderr] 64 | | enabled -> Bool, [INFO] [stderr] | | ------- `enabled` is not local [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / table! { [INFO] [stderr] 62 | | group (id) { [INFO] [stderr] 63 | | id -> Integer, [INFO] [stderr] 64 | | enabled -> Bool, [INFO] [stderr] 65 | | name -> Text, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / table! { [INFO] [stderr] 62 | | group (id) { [INFO] [stderr] 63 | | id -> Integer, [INFO] [stderr] 64 | | enabled -> Bool, [INFO] [stderr] 65 | | name -> Text, [INFO] [stderr] 66 | | description -> Nullable, [INFO] [stderr] | | ----------- `description` is not local [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / table! { [INFO] [stderr] 71 | | info (property) { [INFO] [stderr] 72 | | property -> Text, [INFO] [stderr] 73 | | value -> Text, [INFO] [stderr] 74 | | } [INFO] [stderr] 75 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / table! { [INFO] [stderr] 71 | | info (property) { [INFO] [stderr] 72 | | property -> Text, [INFO] [stderr] | | -------- `property` is not local [INFO] [stderr] 73 | | value -> Text, [INFO] [stderr] 74 | | } [INFO] [stderr] 75 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_property` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / table! { [INFO] [stderr] 71 | | info (property) { [INFO] [stderr] 72 | | property -> Text, [INFO] [stderr] 73 | | value -> Text, [INFO] [stderr] | | ----- `value` is not local [INFO] [stderr] 74 | | } [INFO] [stderr] 75 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_value` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] 81 | | enabled -> Bool, [INFO] [stderr] | | ------- `enabled` is not local [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] 81 | | enabled -> Bool, [INFO] [stderr] 82 | | date_added -> Integer, [INFO] [stderr] | | ---------- `date_added` is not local [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 83 | | date_modified -> Integer, [INFO] [stderr] | | ------------- `date_modified` is not local [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / table! { [INFO] [stderr] 78 | | regex (id) { [INFO] [stderr] 79 | | id -> Integer, [INFO] [stderr] 80 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 84 | | comment -> Nullable, [INFO] [stderr] | | ------- `comment` is not local [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | / table! { [INFO] [stderr] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stderr] 90 | | regex_id -> Integer, [INFO] [stderr] 91 | | group_id -> Integer, [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | / table! { [INFO] [stderr] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stderr] 90 | | regex_id -> Integer, [INFO] [stderr] | | -------- `regex_id` is not local [INFO] [stderr] 91 | | group_id -> Integer, [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_regex_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | / table! { [INFO] [stderr] 89 | | regex_by_group (regex_id, group_id) { [INFO] [stderr] 90 | | regex_id -> Integer, [INFO] [stderr] 91 | | group_id -> Integer, [INFO] [stderr] | | -------- `group_id` is not local [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_group_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] | | ------ `domain` is not local [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_domain` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] 99 | | enabled -> Bool, [INFO] [stderr] | | ------- `enabled` is not local [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] 99 | | enabled -> Bool, [INFO] [stderr] 100 | | date_added -> Integer, [INFO] [stderr] | | ---------- `date_added` is not local [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_added` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 101 | | date_modified -> Integer, [INFO] [stderr] | | ------------- `date_modified` is not local [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_modified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / table! { [INFO] [stderr] 96 | | whitelist (id) { [INFO] [stderr] 97 | | id -> Integer, [INFO] [stderr] 98 | | domain -> Text, [INFO] [stderr] ... | [INFO] [stderr] 102 | | comment -> Nullable, [INFO] [stderr] | | ------- `comment` is not local [INFO] [stderr] 103 | | } [INFO] [stderr] 104 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_comment` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / table! { [INFO] [stderr] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stderr] 108 | | whitelist_id -> Integer, [INFO] [stderr] 109 | | group_id -> Integer, [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / table! { [INFO] [stderr] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stderr] 108 | | whitelist_id -> Integer, [INFO] [stderr] | | ------------ `whitelist_id` is not local [INFO] [stderr] 109 | | group_id -> Integer, [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_whitelist_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/databases/gravity/schema.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / table! { [INFO] [stderr] 107 | | whitelist_by_group (whitelist_id, group_id) { [INFO] [stderr] 108 | | whitelist_id -> Integer, [INFO] [stderr] 109 | | group_id -> Integer, [INFO] [stderr] | | -------- `group_id` is not local [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_group_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ftl/shared_lock.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn read(&self) -> Result { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn read(&self) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ftl/shared_memory.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn lock(&self) -> Result { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn lock(&self) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ftl/socket.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn connect(&self, command: &str) -> Result { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn connect(&self, command: &str) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/settings/entries.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | fn key(&self) -> Cow; [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | fn key(&self) -> Cow<'_, str>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/settings/entries.rs:220:12 [INFO] [stderr] | [INFO] [stderr] 220 | fn key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 220 | fn key(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/settings/entries.rs:396:12 [INFO] [stderr] | [INFO] [stderr] 396 | fn key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 396 | fn key(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/util.rs:100:39 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stderr] 101 | pub enum ErrorKind { [INFO] [stderr] | --------- `ErrorKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/util.rs:100:39 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stderr] 101 | pub enum ErrorKind { [INFO] [stderr] | --------- `ErrorKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pihole_api` (lib) generated 142 warnings (run `cargo fix --lib -p pihole_api` to apply 51 suggestions) [INFO] [stderr] warning: unused import: `FtlConnection` [INFO] [stderr] --> src/ftl/mod.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | socket::{FtlConnection, FtlConnectionType}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stderr] --> src/ftl/memory_model/over_time.rs:43:43 [INFO] [stderr] | [INFO] [stderr] 43 | timestamp: timestamp as libc::time_t, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `delete` is never used [INFO] [stderr] --> src/settings/entries.rs:176:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub trait ConfigEntry { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 176 | fn delete(&self, env: &Env) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pihole_api` (lib test) generated 141 warnings (138 duplicates) (run `cargo fix --lib -p pihole_api --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pihole_api-2263202d7a06c5dc) [INFO] [stdout] [INFO] [stdout] running 216 tests [INFO] [stdout] test env::config::general::test::invalid_general_port ... ok [INFO] [stdout] test env::config::root_config::test::valid_config ... ok [INFO] [stdout] test env::config::general::test::valid_general ... ok [INFO] [stdout] test env::config::file_locations::test::valid_files ... ok [INFO] [stdout] test env::config::general::test::invalid_general_address ... ok [INFO] [stdout] test env::config::web::test::invalid_web_path ... ok [INFO] [stdout] test ftl::lock_thread::test::first_lock ... ok [INFO] [stdout] test env::config::file_locations::test::invalid_file ... ok [INFO] [stdout] test ftl::lock_thread::test::ftl_waiting_lock_not_held ... ok [INFO] [stdout] test ftl::lock_thread::test::ftl_waiting_while_lock_held ... ok [INFO] [stdout] test ftl::lock_thread::test::unlock_with_multiple_locks ... ok [INFO] [stdout] test ftl::lock_thread::test::unlock_with_queued_requests ... ok [INFO] [stdout] test ftl::memory_model::strings::tests::get_str_prod ... ok [INFO] [stdout] test env::config::web::test::valid_web ... ok [INFO] [stdout] test ftl::memory_model::strings::tests::get_str_valid ... ok [INFO] [stdout] test ftl::lock_thread::test::last_unlock ... ok [INFO] [stdout] test ftl::lock_thread::test::second_lock ... ok [INFO] [stdout] test ftl::lock_thread::test::unlock_with_ftl_waiting ... ok [INFO] [stdout] test ftl::shared_lock::test::return_pthread_unlock_errors ... ok [INFO] [stdout] test ftl::shared_lock::test::send_correct_requests ... ok [INFO] [stdout] test ftl::shared_lock::test::return_pthread_lock_errors ... ok [INFO] [stdout] test routes::dns::status::test::action_disable_error ... ok [INFO] [stdout] test routes::dns::status::test::action_enable_error ... ok [INFO] [stdout] test routes::auth::test::no_password_required ... ok [INFO] [stdout] test routes::dns::add_list::test::add_whitelist ... ok [INFO] [stdout] test routes::dns::add_list::test::add_blacklist ... ok [INFO] [stdout] test routes::dns::add_list::test::test_add_regexlist ... ok [INFO] [stdout] test routes::dns::get_list::test::test_get_regexlist ... ok [INFO] [stdout] test routes::settings::dhcp::test::invalid_if_active_and_empty ... ok [INFO] [stdout] test routes::settings::dhcp::test::invalid_if_setting_invalid ... ok [INFO] [stdout] test routes::dns::delete_list::test::test_delete_regexlist ... ok [INFO] [stdout] test routes::settings::dhcp::test::valid_if_active_and_not_empty ... ok [INFO] [stdout] test routes::settings::dhcp::test::valid_if_inactive_and_empty ... ok [INFO] [stdout] test routes::dns::get_list::test::test_get_blacklist ... ok [INFO] [stdout] test routes::dns::status::test::read_default ... ok [INFO] [stdout] test routes::settings::dhcp::test::get_minimal_setup ... ok [INFO] [stdout] test routes::dns::status::test::read_enabled ... ok [INFO] [stdout] test routes::dns::delete_list::test::test_delete_blacklist ... ok [INFO] [stdout] test routes::dns::status::test::action_enable ... ok [INFO] [stdout] test routes::dns::status::test::read_disabled ... ok [INFO] [stdout] test routes::dns::get_list::test::test_get_whitelist ... ok [INFO] [stdout] test routes::dns::delete_list::test::test_delete_whitelist ... ok [INFO] [stdout] test routes::settings::dhcp::test::get_full_setup ... ok [INFO] [stdout] test routes::auth::test::authenticated ... ok [INFO] [stdout] test routes::settings::dns::test::minimal_setup ... ok [INFO] [stdout] test routes::dns::status::test::action_disable ... ok [INFO] [stdout] test routes::stats::common::tests::excluded_clients ... ok [INFO] [stdout] test routes::stats::common::tests::excluded_domains ... ok [INFO] [stdout] test routes::stats::common::tests::hidden_clients ... ok [INFO] [stdout] test routes::stats::common::tests::hidden_domains ... ok [INFO] [stdout] test routes::settings::ftldb::test::test_get_ftldb ... ok [INFO] [stdout] test routes::settings::ftl::test::test_get_ftl_populated ... ok [INFO] [stdout] test routes::settings::network::test::test_get_network ... ok [INFO] [stdout] test routes::stats::clients::test::excluded_clients ... ok [INFO] [stdout] test routes::settings::dhcp::test::put_dhcp ... ok [INFO] [stdout] test routes::stats::clients::test::default_params ... ok [INFO] [stdout] test routes::settings::network::test::test_get_network_ipv4only ... ok [INFO] [stdout] test routes::stats::clients::test::privacy_hides_clients ... ok [INFO] [stdout] test routes::settings::dns::test::put_dns ... ok [INFO] [stdout] test routes::settings::dns::test::multiple_upstreams ... ok [INFO] [stdout] test routes::stats::clients::test::inactive_clients ... ok [INFO] [stdout] test routes::settings::ftl::test::test_get_ftl_default ... ok [INFO] [stdout] test routes::stats::database::over_time_clients_db::test::client_over_time ... ok [INFO] [stdout] test routes::stats::database::summary_db::test::query_status_count ... ok [INFO] [stdout] test routes::stats::database::over_time_clients_db::test::client_identifiers ... ok [INFO] [stdout] test routes::stats::database::query_types_db::test::query_type_counts ... ok [INFO] [stdout] test routes::stats::database::over_time_clients_db::test::over_time_clients_impl ... ok [INFO] [stdout] test routes::stats::database::over_time_history_db::test::total_intervals ... ok [INFO] [stdout] test routes::stats::database::summary_db::test::unique_domain_count ... ok [INFO] [stdout] test routes::stats::database::over_time_history_db::test::blocked_intervals ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::ascending ... ok [INFO] [stdout] test routes::stats::database::over_time_history_db::test::over_time_history_impl ... ok [INFO] [stdout] test routes::stats::database::summary_db::test::blocked_query_count ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::privacy_blocked ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::privacy ... ok [INFO] [stdout] test routes::stats::database::over_time_clients_db::test::client_identifiers_excluded ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::blocked_clients ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::default_params ... ok [INFO] [stdout] test routes::stats::database::summary_db::test::summary_impl ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::blocked ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::excluded_clients ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::limit ... ok [INFO] [stdout] test routes::stats::database::top_clients_db::test::limit ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::ascending ... ok [INFO] [stdout] test routes::stats::history::filters::blocked::test::test_filter_blocked ... ok [INFO] [stdout] test routes::stats::history::database::test::order_by_id ... ok [INFO] [stdout] test routes::stats::database::upstreams_db::test::upstream_counts ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::audit ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::default_params ... ok [INFO] [stdout] test routes::stats::history::filters::blocked::test::database ... ok [INFO] [stdout] test routes::stats::database::top_domains_db::test::excluded ... ok [INFO] [stdout] test routes::stats::history::filters::client::test::ip ... ok [INFO] [stdout] test routes::stats::database::upstreams_db::test::upstreams_impl ... ok [INFO] [stdout] test routes::stats::history::filters::client::test::database ... ok [INFO] [stdout] test routes::stats::history::database::test::limit ... ok [INFO] [stdout] test routes::stats::history::filters::client::test::ip_substring ... ok [INFO] [stdout] test routes::stats::history::filters::client::test::name ... ok [INFO] [stdout] test routes::stats::history::filters::dnssec::test::test_filter_dnssec ... ok [INFO] [stdout] test routes::stats::history::filters::domain::test::simple ... ok [INFO] [stdout] test routes::stats::history::filters::client::test::name_substring ... ok [INFO] [stdout] test routes::stats::history::filters::domain::test::substring ... ok [INFO] [stdout] test routes::stats::history::filters::domain::test::database ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_clients::tests::clients ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_clients::tests::clients_empty ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_clients::tests::clients_db ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_domains::tests::domains_empty ... ok [INFO] [stdout] test routes::stats::history::filters::private::test::test_filter_private_queries ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_permitted ... ok [INFO] [stdout] test routes::stats::history::filters::query_type::test::database ... ok [INFO] [stdout] test routes::stats::history::filters::reply::test::test_filter_reply ... ok [INFO] [stdout] test routes::stats::history::filters::status::test::database ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_blocked_db ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_nothing ... ok [INFO] [stdout] test routes::stats::history::filters::upstream::test::ip ... ok [INFO] [stdout] test routes::stats::history::filters::time::test::until_db ... ok [INFO] [stdout] test routes::stats::history::filters::time::test::from ... ok [INFO] [stdout] test routes::stats::history::filters::time::test::until ... ok [INFO] [stdout] test routes::stats::history::filters::query_type::test::query_type ... ok [INFO] [stdout] test routes::stats::history::filters::upstream::test::database ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_domains::tests::domains_db ... ok [INFO] [stdout] test routes::stats::history::filters::status::test::test_filter_status ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_nothing_db ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_permitted_db ... ok [INFO] [stdout] test routes::stats::history::filters::exclude_domains::tests::domains ... ok [INFO] [stdout] test routes::stats::history::filters::time::test::from_db ... ok [INFO] [stdout] test routes::stats::history::filters::upstream::test::ip_substring ... ok [INFO] [stdout] test routes::stats::history::filters::upstream::test::name_substring ... ok [INFO] [stdout] test routes::stats::history::map_query_to_json::test::private_clients ... ok [INFO] [stdout] test routes::stats::history::skip_to_cursor::test::database_cursor ... ok [INFO] [stdout] test routes::stats::history::skip_to_cursor::test::dnsmasq_cursor ... ok [INFO] [stdout] test routes::stats::history::map_query_to_json::test::private_domains ... ok [INFO] [stdout] test routes::stats::history::get_history::test::limit ... ok [INFO] [stdout] test routes::stats::history::map_query_to_json::test::test_map_query_to_json ... ok [INFO] [stdout] test routes::stats::query_types::test::query_types ... ok [INFO] [stdout] test routes::stats::history::filters::upstream::test::name ... ok [INFO] [stdout] test routes::stats::history::get_history::test::privacy_max ... ok [INFO] [stdout] test routes::stats::history::filters::setup_vars::test::setting_is_blocked ... ok [INFO] [stdout] test routes::stats::history::skip_to_cursor::test::database ... ok [INFO] [stdout] test routes::stats::history::get_history::test::default_params ... ok [INFO] [stdout] test routes::stats::history::get_history::test::database ... ok [INFO] [stdout] test routes::stats::recent_blocked::test::multiple ... ok [INFO] [stdout] test routes::stats::recent_blocked::test::default_params ... ok [INFO] [stdout] test routes::stats::summary::test::enabled_and_no_privacy ... ok [INFO] [stdout] test routes::stats::summary::test::disabled_and_privacy ... ok [INFO] [stdout] test routes::stats::top_clients::test::privacy ... ok [INFO] [stdout] test routes::stats::top_clients::test::limit ... ok [INFO] [stdout] test routes::stats::top_clients::test::excluded_clients ... ok [INFO] [stdout] test routes::stats::top_clients::test::ascending ... ok [INFO] [stdout] test routes::stats::top_clients::test::inactive_clients ... ok [INFO] [stdout] test routes::stats::over_time_clients::test::default_params ... ok [INFO] [stdout] test routes::stats::top_clients::test::default_params ... ok [INFO] [stdout] test routes::stats::over_time_history::test::default_params ... ok [INFO] [stdout] test routes::stats::top_clients::test::blocked_clients ... ok [INFO] [stdout] test routes::stats::recent_blocked::test::less_than_requested ... ok [INFO] [stdout] test routes::version::tests::test_parse_git_version_dev ... ok [INFO] [stdout] test routes::version::tests::test_parse_web_version_dev ... ok [INFO] [stdout] test routes::version::tests::test_parse_git_version_dirty ... ok [INFO] [stdout] test routes::version::tests::test_parse_git_version_release ... ok [INFO] [stdout] test routes::version::tests::test_parse_web_version_newline ... ok [INFO] [stdout] test routes::version::tests::test_parse_web_version_release ... ok [INFO] [stdout] test routes::version::tests::test_read_core_version_valid ... ok [INFO] [stdout] test routes::stats::top_domains::test::ascending ... ok [INFO] [stdout] test routes::version::tests::test_read_ftl_version_dev ... ok [INFO] [stdout] test routes::version::tests::test_read_ftl_version_release ... ok [INFO] [stdout] test routes::stats::top_domains::test::limit ... ok [INFO] [stdout] test routes::stats::top_clients::test::privacy_blocked ... ok [INFO] [stdout] test routes::stats::upstreams::test::with_blocked_and_cached ... ok [INFO] [stdout] test routes::stats::top_domains::test::excluded ... ok [INFO] [stdout] test routes::stats::top_domains::test::audit ... ok [INFO] [stdout] test routes::stats::top_domains::test::blocked ... ok [INFO] [stdout] test routes::stats::upstreams::test::no_blocked_or_cached ... ok [INFO] [stdout] test routes::stats::top_domains::test::default_params ... ok [INFO] [stdout] test services::lists::service::test::add_regexlist ... ok [INFO] [stdout] test services::lists::service::test::delete_blacklist ... ok [INFO] [stdout] test services::domain_audit::repository::tests::contains_true ... ok [INFO] [stdout] test services::domain_audit::repository::tests::add_success ... ok [INFO] [stdout] test services::domain_audit::repository::tests::contains_false ... ok [INFO] [stdout] test services::lists::service::test::get ... ok [INFO] [stdout] test services::lists::service::test::delete_whitelist ... ok [INFO] [stdout] test settings::dnsmasq::tests::dhcp_active ... ok [INFO] [stdout] test services::domain_audit::repository::tests::get_all ... ok [INFO] [stdout] test settings::dnsmasq::tests::dhcp_inactive ... ok [INFO] [stdout] test settings::dnsmasq::tests::dns_server_ipv6_no_port ... ok [INFO] [stdout] test settings::dnsmasq::tests::dhcp_infinite_lease ... ok [INFO] [stdout] test settings::dnsmasq::tests::block_lists_written ... ok [INFO] [stdout] test settings::dnsmasq::tests::dhcp_ipv6 ... ok [INFO] [stdout] test settings::dnsmasq::tests::dns_server_ipv6_with_port ... ok [INFO] [stdout] test services::lists::service::test::delete_regexlist ... ok [INFO] [stdout] test settings::dnsmasq::tests::header_written ... ok [INFO] [stdout] test settings::dnsmasq::tests::dns_server_with_port ... ok [INFO] [stdout] test settings::entries::tests::delete_value ... ok [INFO] [stdout] test settings::dnsmasq::tests::maximal_dns_options ... ok [INFO] [stdout] test settings::dnsmasq::tests::dns_servers_all_written ... ok [INFO] [stdout] test settings::entries::tests::write_over_duplicate_keys ... ok [INFO] [stdout] test settings::dnsmasq::tests::minimal_dns_options ... ok [INFO] [stdout] test settings::entries::tests::write_over_null_value ... ok [INFO] [stdout] test settings::value_type::tests::get_ipv6_info_no_port ... ok [INFO] [stdout] test settings::entries::tests::write_similar_keys ... ok [INFO] [stdout] test settings::dnsmasq::tests::ignore_non_sequential_dns_servers ... ok [INFO] [stdout] test settings::value_type::tests::test_ipv4_ranges ... ok [INFO] [stdout] test settings::entries::tests::write_to_empty_file ... ok [INFO] [stdout] test services::lists::repository::tests::delete_existing ... ok [INFO] [stdout] test settings::value_type::tests::test_value_type_valid ... ok [INFO] [stdout] test settings::value_type::tests::test_value_type_invalid ... ok [INFO] [stdout] test settings::value_type::tests::get_ipv6_info_with_port ... ok [INFO] [stdout] test services::lists::repository::tests::contains_existing ... ok [INFO] [stdout] test services::lists::repository::tests::get ... ok [INFO] [stdout] test services::lists::repository::tests::add_new ... ok [INFO] [stdout] test settings::entries::tests::read_from_missing_file ... ok [INFO] [stdout] test routes::version::tests::test_parse_web_version_invalid ... ok [INFO] [stdout] test routes::version::tests::test_parse_git_version_invalid ... ok [INFO] [stdout] test routes::version::tests::test_read_core_version_invalid ... ok [INFO] [stdout] test services::lists::service::test::add_blacklist ... ok [INFO] [stdout] test services::lists::service::test::add_whitelist ... ok [INFO] [stdout] test routes::auth::test::wrong_password ... ok [INFO] [stdout] test routes::auth::test::unauthenticated ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 216 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.86s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pihole_api-e900a95b7c53d50d) [INFO] [stdout] [INFO] [stderr] Doc-tests pihole_api [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/clients.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / /// The possible GET parameters for `/stats/clients` [INFO] [stderr] 39 | | #[derive(FromForm, Default)] [INFO] [stderr] 40 | | pub struct ClientParams { [INFO] [stderr] 41 | | inactive: Option, [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/history/endpoints.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / /// Represents the possible GET parameters on `/stats/history` [INFO] [stderr] 63 | | #[derive(FromForm)] [INFO] [stderr] 64 | | pub struct HistoryParams { [INFO] [stderr] 65 | | pub cursor: Option, [INFO] [stderr] ... | [INFO] [stderr] 76 | | pub limit: Option, [INFO] [stderr] 77 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/recent_blocked.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / /// Represents the possible GET parameters on `/stats/recent_blocked` [INFO] [stderr] 36 | | #[derive(FromForm)] [INFO] [stderr] 37 | | pub struct RecentBlockedParams { [INFO] [stderr] 38 | | num: Option, [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/top_clients.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / /// Represents the possible GET parameters on `/stats/top_clients` [INFO] [stderr] 39 | | #[derive(FromForm, Default)] [INFO] [stderr] 40 | | pub struct TopClientParams { [INFO] [stderr] 41 | | pub limit: Option, [INFO] [stderr] ... | [INFO] [stderr] 44 | | pub blocked: Option, [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/routes/stats/top_domains.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / /// Represents the possible GET parameters for top (blocked) domains requests [INFO] [stderr] 41 | | #[derive(FromForm, Default)] [INFO] [stderr] 42 | | pub struct TopDomainParams { [INFO] [stderr] 43 | | pub limit: Option, [INFO] [stderr] ... | [INFO] [stderr] 46 | | pub blocked: Option, [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae907a17779ce1ad65528f14fea769c8df2f6ed57f83ed46f6c0a74d75313d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae907a17779ce1ad65528f14fea769c8df2f6ed57f83ed46f6c0a74d75313d12", kill_on_drop: false }` [INFO] [stdout] ae907a17779ce1ad65528f14fea769c8df2f6ed57f83ed46f6c0a74d75313d12