[INFO] cloning repository https://github.com/vmasdani/monty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vmasdani/monty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fmonty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fmonty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bfb2bd3b6e4dc7986c5afd163e86eda2707733e [INFO] testing vmasdani/monty against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fmonty" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vmasdani/monty [INFO] finished tweaking git repo https://github.com/vmasdani/monty [INFO] tweaked toml for git repo https://github.com/vmasdani/monty written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vmasdani/monty on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vmasdani/monty 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f72dfea8f58060aa21ccbcdb325ea9a8d0fdf549d27f2b735b7f61be2b602d5 [INFO] running `Command { std: "docker" "start" "-a" "6f72dfea8f58060aa21ccbcdb325ea9a8d0fdf549d27f2b735b7f61be2b602d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f72dfea8f58060aa21ccbcdb325ea9a8d0fdf549d27f2b735b7f61be2b602d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f72dfea8f58060aa21ccbcdb325ea9a8d0fdf549d27f2b735b7f61be2b602d5", kill_on_drop: false }` [INFO] [stdout] 6f72dfea8f58060aa21ccbcdb325ea9a8d0fdf549d27f2b735b7f61be2b602d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09514113a23a7e54141cf688a8db430b2b007b331b5efa38de40a511ed0ba894 [INFO] running `Command { std: "docker" "start" "-a" "09514113a23a7e54141cf688a8db430b2b007b331b5efa38de40a511ed0ba894", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling openssl-src v111.13.0+1.1.1i [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling actix-cors v0.5.3 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling tokio-diesel v0.3.0 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling monty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::Client` [INFO] [stdout] --> src/handler.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{client::Client, get, post, web, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema` [INFO] [stdout] --> src/handler.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{model::*, schema}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/handler.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::schema::emails::dsl::{emails, id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/handler.rs:114:65 [INFO] [stdout] | [INFO] [stdout] 114 | use crate::schema::emails::dsl::{email, emails, id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc` [INFO] [stdout] --> src/model.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, `NaiveDate`, and `Utc` [INFO] [stdout] --> src/populate.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Currencie` [INFO] [stdout] --> src/populate.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Currencie, Interval}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Datelike` [INFO] [stdout] --> src/populate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Datelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_service::{Service, Transform}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `ServiceRequest` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::{App, Error, HttpResponse, HttpServer, Responder, Result, dev::{ServiceRequest, ServiceResponse}, error::{ErrorBadRequest,... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `FutureExt`, `Ready`, and `ok` [INFO] [stdout] --> src/main.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stdout] | ^^ ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Email` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | use model::{Currencie, Email}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Poll`, `pin::Pin`, and `self` [INFO] [stdout] --> src/main.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | use std::{env, fs::File, io::{self, BufReader, Read}, pin::Pin, sync::Arc, task::{Context, Poll}, time::Duration}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email_res` [INFO] [stdout] --> src/handler.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(email_res) => found_email, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/handler.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | async fn get_currencies(req: HttpRequest, pool: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let sys = actix_web::rt::System::run_in_tokio("server", &local); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_async_fun` is never used [INFO] [stdout] --> src/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn my_async_fun() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `currencies_list` is never used [INFO] [stdout] --> src/populate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const currencies_list: [&str; 168] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DATABASE_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut DATABASE_URL = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `database_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FIXER_API_KEY` should have a snake case name [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut FIXER_API_KEY = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fixer_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `APP_PORT` should have a snake case name [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut APP_PORT = String::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | srv.run().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = srv.run().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | / diesel::replace_into(currencies) [INFO] [stdout] 357 | | .values(Currencie { [INFO] [stdout] 358 | | id: None, [INFO] [stdout] 359 | | name: Some(currency_name.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 366 | | .execute_async(&pool_clone) [INFO] [stdout] 367 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 356 | let _ = diesel::replace_into(currencies) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:436:49 [INFO] [stdout] | [INFO] [stdout] 436 | / ... diesel::replace_into(currencies) [INFO] [stdout] 437 | | ... .values(found_currencie) [INFO] [stdout] 438 | | ... .execute_async(&pool) [INFO] [stdout] 439 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 436 | let _ = diesel::replace_into(currencies) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | / diesel::replace_into(emails) [INFO] [stdout] 139 | | .values(&email_body.into_inner()) [INFO] [stdout] 140 | | .execute(&conn); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | / diesel::replace_into(emails) [INFO] [stdout] 178 | | .values(&Email { [INFO] [stdout] 179 | | id: None, [INFO] [stdout] 180 | | email: Some(email_body.name.clone()), [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | .execute(&conn); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 177 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | / diesel::replace_into(emails) [INFO] [stdout] 216 | | .values(&email_body.email) [INFO] [stdout] 217 | | .execute(&conn); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 237 | / ... diesel::replace_into(subscriptions) [INFO] [stdout] 238 | | ... .values(subscription) [INFO] [stdout] 239 | | ... .execute(&conn); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = diesel::replace_into(subscriptions) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | / ... diesel::delete(subscriptions.filter(id.eq(subscription_id))) [INFO] [stdout] 260 | | ... .execute(&conn); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = diesel::delete(subscriptions.filter(id.eq(subscription_id))) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which 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 `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` 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: 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/model.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` 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: 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/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` 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: 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/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` 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: 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/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `currencies_list` should have an upper case name [INFO] [stdout] --> src/populate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const currencies_list: [&str; 168] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CURRENCIES_LIST` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/populate.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | / diesel::replace_into(intervals) [INFO] [stdout] 60 | | .values(&interval) [INFO] [stdout] 61 | | .execute(&conn); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = diesel::replace_into(intervals) [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] 5 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] 5 | | updated_at -> Nullable, [INFO] [stdout] 6 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | rate -> Nullable, [INFO] [stdout] | | ---- `rate` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_rate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | last_update_day -> Nullable, [INFO] [stdout] | | --------------- `last_update_day` is not local [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_update_day` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] 16 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] 16 | | updated_at -> Nullable, [INFO] [stdout] 17 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 18 | | currency_id -> Nullable, [INFO] [stdout] | | ----------- `currency_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currency_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 19 | | currencie_id -> Nullable, [INFO] [stdout] | | ------------ `currencie_id` is not local [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currencie_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] 27 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] 27 | | updated_at -> Nullable, [INFO] [stdout] 28 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | modifier -> Nullable, [INFO] [stdout] | | -------- `modifier` is not local [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modifier` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] 37 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] 37 | | updated_at -> Nullable, [INFO] [stdout] 38 | | interval_id -> Nullable, [INFO] [stdout] | | ----------- `interval_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | subscription_id -> Nullable, [INFO] [stdout] | | --------------- `subscription_id` is not local [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subscription_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] 47 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] 47 | | updated_at -> Nullable, [INFO] [stdout] 48 | | email_id -> Nullable, [INFO] [stdout] | | -------- `email_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 49 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | cost -> Nullable, [INFO] [stdout] | | ---- `cost` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cost` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | interval_id -> Nullable, [INFO] [stdout] | | ----------- `interval_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 52 | | interval_amount -> Nullable, [INFO] [stdout] | | --------------- `interval_amount` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_amount` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | currencie_id -> Nullable, [INFO] [stdout] | | ------------ `currencie_id` is not local [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currencie_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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "09514113a23a7e54141cf688a8db430b2b007b331b5efa38de40a511ed0ba894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09514113a23a7e54141cf688a8db430b2b007b331b5efa38de40a511ed0ba894", kill_on_drop: false }` [INFO] [stdout] 09514113a23a7e54141cf688a8db430b2b007b331b5efa38de40a511ed0ba894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b1f5f15f8c36262759985bc357eca7d46f0feaff6ca337a4db8595ebe513b59 [INFO] running `Command { std: "docker" "start" "-a" "3b1f5f15f8c36262759985bc357eca7d46f0feaff6ca337a4db8595ebe513b59", kill_on_drop: false }` [INFO] [stderr] Compiling monty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::Client` [INFO] [stdout] --> src/handler.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{client::Client, get, post, web, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema` [INFO] [stdout] --> src/handler.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{model::*, schema}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/handler.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::schema::emails::dsl::{emails, id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/handler.rs:114:65 [INFO] [stdout] | [INFO] [stdout] 114 | use crate::schema::emails::dsl::{email, emails, id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc` [INFO] [stdout] --> src/model.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, `NaiveDate`, and `Utc` [INFO] [stdout] --> src/populate.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Currencie` [INFO] [stdout] --> src/populate.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Currencie, Interval}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Datelike` [INFO] [stdout] --> src/populate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Datelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_service::{Service, Transform}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `ServiceRequest` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::{App, Error, HttpResponse, HttpServer, Responder, Result, dev::{ServiceRequest, ServiceResponse}, error::{ErrorBadRequest,... [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `FutureExt`, `Ready`, and `ok` [INFO] [stdout] --> src/main.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stdout] | ^^ ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Email` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | use model::{Currencie, Email}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Poll`, `pin::Pin`, and `self` [INFO] [stdout] --> src/main.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | use std::{env, fs::File, io::{self, BufReader, Read}, pin::Pin, sync::Arc, task::{Context, Poll}, time::Duration}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email_res` [INFO] [stdout] --> src/handler.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(email_res) => found_email, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/handler.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | async fn get_currencies(req: HttpRequest, pool: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let sys = actix_web::rt::System::run_in_tokio("server", &local); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_async_fun` is never used [INFO] [stdout] --> src/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn my_async_fun() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `currencies_list` is never used [INFO] [stdout] --> src/populate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const currencies_list: [&str; 168] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DATABASE_URL` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut DATABASE_URL = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `database_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FIXER_API_KEY` should have a snake case name [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut FIXER_API_KEY = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fixer_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `APP_PORT` should have a snake case name [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut APP_PORT = String::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | srv.run().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = srv.run().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | / diesel::replace_into(currencies) [INFO] [stdout] 357 | | .values(Currencie { [INFO] [stdout] 358 | | id: None, [INFO] [stdout] 359 | | name: Some(currency_name.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 366 | | .execute_async(&pool_clone) [INFO] [stdout] 367 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 356 | let _ = diesel::replace_into(currencies) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:436:49 [INFO] [stdout] | [INFO] [stdout] 436 | / ... diesel::replace_into(currencies) [INFO] [stdout] 437 | | ... .values(found_currencie) [INFO] [stdout] 438 | | ... .execute_async(&pool) [INFO] [stdout] 439 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 436 | let _ = diesel::replace_into(currencies) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | / diesel::replace_into(emails) [INFO] [stdout] 139 | | .values(&email_body.into_inner()) [INFO] [stdout] 140 | | .execute(&conn); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | / diesel::replace_into(emails) [INFO] [stdout] 178 | | .values(&Email { [INFO] [stdout] 179 | | id: None, [INFO] [stdout] 180 | | email: Some(email_body.name.clone()), [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | .execute(&conn); [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 177 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | / diesel::replace_into(emails) [INFO] [stdout] 216 | | .values(&email_body.email) [INFO] [stdout] 217 | | .execute(&conn); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = diesel::replace_into(emails) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 237 | / ... diesel::replace_into(subscriptions) [INFO] [stdout] 238 | | ... .values(subscription) [INFO] [stdout] 239 | | ... .execute(&conn); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = diesel::replace_into(subscriptions) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handler.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | / ... diesel::delete(subscriptions.filter(id.eq(subscription_id))) [INFO] [stdout] 260 | | ... .execute(&conn); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = diesel::delete(subscriptions.filter(id.eq(subscription_id))) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which 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 `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` 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: 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/model.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stdout] 35 | #[belongs_to(Currencie)] [INFO] [stdout] 36 | pub struct Email { [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` 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: 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/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_subscription` [INFO] [stdout] 46 | #[belongs_to(Email)] [INFO] [stdout] | ----- `Email` is not local [INFO] [stdout] 47 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` 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: 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/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stdout] 60 | pub struct Interval { [INFO] [stdout] | -------- `Interval` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` 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: 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/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stdout] 69 | pub struct Currencie { [INFO] [stdout] | --------- `Currencie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `currencies_list` should have an upper case name [INFO] [stdout] --> src/populate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const currencies_list: [&str; 168] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CURRENCIES_LIST` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/populate.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | / diesel::replace_into(intervals) [INFO] [stdout] 60 | | .values(&interval) [INFO] [stdout] 61 | | .execute(&conn); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = diesel::replace_into(intervals) [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] 5 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] 5 | | updated_at -> Nullable, [INFO] [stdout] 6 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | rate -> Nullable, [INFO] [stdout] | | ---- `rate` is not local [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_rate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | currencies (id) { [INFO] [stdout] 3 | | id -> Nullable, [INFO] [stdout] 4 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | last_update_day -> Nullable, [INFO] [stdout] | | --------------- `last_update_day` is not local [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_update_day` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] 16 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] 16 | | updated_at -> Nullable, [INFO] [stdout] 17 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 18 | | currency_id -> Nullable, [INFO] [stdout] | | ----------- `currency_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currency_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | emails (id) { [INFO] [stdout] 14 | | id -> Nullable, [INFO] [stdout] 15 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 19 | | currencie_id -> Nullable, [INFO] [stdout] | | ------------ `currencie_id` is not local [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currencie_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] 27 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] 27 | | updated_at -> Nullable, [INFO] [stdout] 28 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table! { [INFO] [stdout] 24 | | intervals (id) { [INFO] [stdout] 25 | | id -> Nullable, [INFO] [stdout] 26 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | modifier -> Nullable, [INFO] [stdout] | | -------- `modifier` is not local [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modifier` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] 37 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] 37 | | updated_at -> Nullable, [INFO] [stdout] 38 | | interval_id -> Nullable, [INFO] [stdout] | | ----------- `interval_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / table! { [INFO] [stdout] 34 | | intervals_subscriptions (id) { [INFO] [stdout] 35 | | id -> Nullable, [INFO] [stdout] 36 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | subscription_id -> Nullable, [INFO] [stdout] | | --------------- `subscription_id` is not local [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subscription_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] 47 | | updated_at -> Nullable, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] 47 | | updated_at -> Nullable, [INFO] [stdout] 48 | | email_id -> Nullable, [INFO] [stdout] | | -------- `email_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 49 | | name -> Nullable, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | cost -> Nullable, [INFO] [stdout] | | ---- `cost` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cost` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | interval_id -> Nullable, [INFO] [stdout] | | ----------- `interval_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 52 | | interval_amount -> Nullable, [INFO] [stdout] | | --------------- `interval_amount` is not local [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_interval_amount` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / table! { [INFO] [stdout] 44 | | subscriptions (id) { [INFO] [stdout] 45 | | id -> Nullable, [INFO] [stdout] 46 | | created_at -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | currencie_id -> Nullable, [INFO] [stdout] | | ------------ `currencie_id` is not local [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_currencie_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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3b1f5f15f8c36262759985bc357eca7d46f0feaff6ca337a4db8595ebe513b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1f5f15f8c36262759985bc357eca7d46f0feaff6ca337a4db8595ebe513b59", kill_on_drop: false }` [INFO] [stdout] 3b1f5f15f8c36262759985bc357eca7d46f0feaff6ca337a4db8595ebe513b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12d5bcac2eb6299f3fb2593ad03588c25e6e51b3f42803c982361f2beb9c6ae8 [INFO] running `Command { std: "docker" "start" "-a" "12d5bcac2eb6299f3fb2593ad03588c25e6e51b3f42803c982361f2beb9c6ae8", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `client::Client` [INFO] [stderr] --> src/handler.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{client::Client, get, post, web, HttpRequest, HttpResponse, Responder}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `schema` [INFO] [stderr] --> src/handler.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{model::*, schema}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `id` [INFO] [stderr] --> src/handler.rs:90:58 [INFO] [stderr] | [INFO] [stderr] 90 | use crate::schema::emails::dsl::{emails, id}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `id` [INFO] [stderr] --> src/handler.rs:114:65 [INFO] [stderr] | [INFO] [stderr] 114 | use crate::schema::emails::dsl::{email, emails, id}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc` [INFO] [stderr] --> src/model.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `NaiveDateTime`, `NaiveDate`, and `Utc` [INFO] [stderr] --> src/populate.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Currencie` [INFO] [stderr] --> src/populate.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::model::{Currencie, Interval}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Datelike` [INFO] [stderr] --> src/populate.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use chrono::Datelike; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transform` [INFO] [stderr] --> src/main.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | use actix_service::{Service, Transform}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error` and `ServiceRequest` [INFO] [stderr] --> src/main.rs:22:22 [INFO] [stderr] | [INFO] [stderr] 22 | use actix_web::{App, Error, HttpResponse, HttpServer, Responder, Result, dev::{ServiceRequest, ServiceResponse}, error::{ErrorBadRequest,... [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDateTime` [INFO] [stderr] --> src/main.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Either`, `FutureExt`, `Ready`, and `ok` [INFO] [stderr] --> src/main.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stderr] | ^^ ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Email` [INFO] [stderr] --> src/main.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | use model::{Currencie, Email}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context`, `Poll`, `pin::Pin`, and `self` [INFO] [stderr] --> src/main.rs:35:31 [INFO] [stderr] | [INFO] [stderr] 35 | use std::{env, fs::File, io::{self, BufReader, Read}, pin::Pin, sync::Arc, task::{Context, Poll}, time::Duration}; [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email_res` [INFO] [stderr] --> src/handler.rs:175:24 [INFO] [stderr] | [INFO] [stderr] 175 | Ok(email_res) => found_email, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handler.rs:380:25 [INFO] [stderr] | [INFO] [stderr] 380 | async fn get_currencies(req: HttpRequest, pool: web::Data) -> impl Responder { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | pool: web::Data, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sys` [INFO] [stderr] --> src/main.rs:167:9 [INFO] [stderr] | [INFO] [stderr] 167 | let sys = actix_web::rt::System::run_in_tokio("server", &local); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Future` [INFO] [stderr] --> src/main.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | use futures::{Future, future::{ok, Either, FutureExt, Ready}}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `my_async_fun` is never used [INFO] [stderr] --> src/main.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | async fn my_async_fun() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `currencies_list` is never used [INFO] [stderr] --> src/populate.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const currencies_list: [&str; 168] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `DATABASE_URL` should have a snake case name [INFO] [stderr] --> src/main.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | let mut DATABASE_URL = String::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `database_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `FIXER_API_KEY` should have a snake case name [INFO] [stderr] --> src/main.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let mut FIXER_API_KEY = String::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fixer_api_key` [INFO] [stderr] [INFO] [stderr] warning: variable `APP_PORT` should have a snake case name [INFO] [stderr] --> src/main.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | let mut APP_PORT = String::new(); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 81 | let _ = BufReader::new(contents).read_to_string(&mut json_str); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | srv.run().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 276 | let _ = srv.run().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:356:25 [INFO] [stderr] | [INFO] [stderr] 356 | / diesel::replace_into(currencies) [INFO] [stderr] 357 | | .values(Currencie { [INFO] [stderr] 358 | | id: None, [INFO] [stderr] 359 | | name: Some(currency_name.to_string()), [INFO] [stderr] ... | [INFO] [stderr] 366 | | .execute_async(&pool_clone) [INFO] [stderr] 367 | | .await; [INFO] [stderr] | |__________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 356 | let _ = diesel::replace_into(currencies) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:436:49 [INFO] [stderr] | [INFO] [stderr] 436 | / ... diesel::replace_into(currencies) [INFO] [stderr] 437 | | ... .values(found_currencie) [INFO] [stderr] 438 | | ... .execute_async(&pool) [INFO] [stderr] 439 | | ... .await; [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 436 | let _ = diesel::replace_into(currencies) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handler.rs:138:17 [INFO] [stderr] | [INFO] [stderr] 138 | / diesel::replace_into(emails) [INFO] [stderr] 139 | | .values(&email_body.into_inner()) [INFO] [stderr] 140 | | .execute(&conn); [INFO] [stderr] | |___________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 138 | let _ = diesel::replace_into(emails) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handler.rs:177:25 [INFO] [stderr] | [INFO] [stderr] 177 | / diesel::replace_into(emails) [INFO] [stderr] 178 | | .values(&Email { [INFO] [stderr] 179 | | id: None, [INFO] [stderr] 180 | | email: Some(email_body.name.clone()), [INFO] [stderr] ... | [INFO] [stderr] 185 | | }) [INFO] [stderr] 186 | | .execute(&conn); [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 177 | let _ = diesel::replace_into(emails) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handler.rs:215:21 [INFO] [stderr] | [INFO] [stderr] 215 | / diesel::replace_into(emails) [INFO] [stderr] 216 | | .values(&email_body.email) [INFO] [stderr] 217 | | .execute(&conn); [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = diesel::replace_into(emails) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handler.rs:237:37 [INFO] [stderr] | [INFO] [stderr] 237 | / ... diesel::replace_into(subscriptions) [INFO] [stderr] 238 | | ... .values(subscription) [INFO] [stderr] 239 | | ... .execute(&conn); [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 237 | let _ = diesel::replace_into(subscriptions) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handler.rs:259:29 [INFO] [stderr] | [INFO] [stderr] 259 | / ... diesel::delete(subscriptions.filter(id.eq(subscription_id))) [INFO] [stderr] 260 | | ... .execute(&conn); [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 259 | let _ = diesel::delete(subscriptions.filter(id.eq(subscription_id))) [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/model.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` 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: 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/model.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `BelongsTo` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_associations_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Associations` 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 `Associations` (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/model.rs:34:49 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:34:49 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:34:49 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Identifiable, Queryable, Associations, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_email` [INFO] [stderr] 35 | #[belongs_to(Currencie)] [INFO] [stderr] 36 | pub struct Email { [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:45:24 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` 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: 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/model.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Identifiable, Queryable, Insertable, Associations, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `BelongsTo` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_associations_for_subscription` [INFO] [stderr] 46 | #[belongs_to(Email)] [INFO] [stderr] | ----- `Email` is not local [INFO] [stderr] 47 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Associations` 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 `Associations` (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/model.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` 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: 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/model.rs:59:35 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:59:35 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:59:35 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_interval` [INFO] [stderr] 60 | pub struct Interval { [INFO] [stderr] | -------- `Interval` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/model.rs:68:24 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` 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: 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/model.rs:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (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/model.rs:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Identifiable, Queryable, Insertable, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_currencie` [INFO] [stderr] 69 | pub struct Currencie { [INFO] [stderr] | --------- `Currencie` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [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 `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant `currencies_list` should have an upper case name [INFO] [stderr] --> src/populate.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const currencies_list: [&str; 168] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CURRENCIES_LIST` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/populate.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | / diesel::replace_into(intervals) [INFO] [stderr] 60 | | .values(&interval) [INFO] [stderr] 61 | | .execute(&conn); [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 59 | let _ = diesel::replace_into(intervals) [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] 5 | | updated_at -> Nullable, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] 5 | | updated_at -> Nullable, [INFO] [stderr] 6 | | name -> Nullable, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 7 | | rate -> Nullable, [INFO] [stderr] | | ---- `rate` is not local [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_rate` [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/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | currencies (id) { [INFO] [stderr] 3 | | id -> Nullable, [INFO] [stderr] 4 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 8 | | last_update_day -> Nullable, [INFO] [stderr] | | --------------- `last_update_day` is not local [INFO] [stderr] 9 | | } [INFO] [stderr] 10 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_last_update_day` [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] 16 | | updated_at -> Nullable, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] 16 | | updated_at -> Nullable, [INFO] [stderr] 17 | | email -> Nullable, [INFO] [stderr] | | ----- `email` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_email` [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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 18 | | currency_id -> Nullable, [INFO] [stderr] | | ----------- `currency_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_currency_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/schema.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / table! { [INFO] [stderr] 13 | | emails (id) { [INFO] [stderr] 14 | | id -> Nullable, [INFO] [stderr] 15 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 19 | | currencie_id -> Nullable, [INFO] [stderr] | | ------------ `currencie_id` is not local [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_currencie_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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] 27 | | updated_at -> Nullable, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] 27 | | updated_at -> Nullable, [INFO] [stderr] 28 | | name -> Nullable, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [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/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / table! { [INFO] [stderr] 24 | | intervals (id) { [INFO] [stderr] 25 | | id -> Nullable, [INFO] [stderr] 26 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 29 | | modifier -> Nullable, [INFO] [stderr] | | -------- `modifier` is not local [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_modifier` [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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] 37 | | updated_at -> Nullable, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] 37 | | updated_at -> Nullable, [INFO] [stderr] 38 | | interval_id -> Nullable, [INFO] [stderr] | | ----------- `interval_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_interval_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/schema.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / table! { [INFO] [stderr] 34 | | intervals_subscriptions (id) { [INFO] [stderr] 35 | | id -> Nullable, [INFO] [stderr] 36 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 39 | | subscription_id -> Nullable, [INFO] [stderr] | | --------------- `subscription_id` is not local [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_subscription_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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_at` [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] 47 | | updated_at -> Nullable, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_at` [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] 47 | | updated_at -> Nullable, [INFO] [stderr] 48 | | email_id -> Nullable, [INFO] [stderr] | | -------- `email_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_email_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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 49 | | name -> Nullable, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 50 | | cost -> Nullable, [INFO] [stderr] | | ---- `cost` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_cost` [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 51 | | interval_id -> Nullable, [INFO] [stderr] | | ----------- `interval_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_interval_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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 52 | | interval_amount -> Nullable, [INFO] [stderr] | | --------------- `interval_amount` is not local [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_interval_amount` [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/schema.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / table! { [INFO] [stderr] 44 | | subscriptions (id) { [INFO] [stderr] 45 | | id -> Nullable, [INFO] [stderr] 46 | | created_at -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 53 | | currencie_id -> Nullable, [INFO] [stderr] | | ------------ `currencie_id` is not local [INFO] [stderr] 54 | | } [INFO] [stderr] 55 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_currencie_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: `monty` (bin "monty" test) generated 98 warnings (run `cargo fix --bin "monty" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monty-3ccaad639357cc38) [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" "12d5bcac2eb6299f3fb2593ad03588c25e6e51b3f42803c982361f2beb9c6ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d5bcac2eb6299f3fb2593ad03588c25e6e51b3f42803c982361f2beb9c6ae8", kill_on_drop: false }` [INFO] [stdout] 12d5bcac2eb6299f3fb2593ad03588c25e6e51b3f42803c982361f2beb9c6ae8