[INFO] cloning repository https://github.com/Sillar-codes/simple-rocket-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sillar-codes/simple-rocket-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillar-codes%2Fsimple-rocket-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillar-codes%2Fsimple-rocket-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b99a57d24950689c471ee8d1d408d782c5b71a3 [INFO] testing Sillar-codes/simple-rocket-backend against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillar-codes%2Fsimple-rocket-backend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Sillar-codes/simple-rocket-backend [INFO] finished tweaking git repo https://github.com/Sillar-codes/simple-rocket-backend [INFO] tweaked toml for git repo https://github.com/Sillar-codes/simple-rocket-backend written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sillar-codes/simple-rocket-backend on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sillar-codes/simple-rocket-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf37b0a323ecc659839ed8bcfae10c3ee826f73af50d9499eb6f8e516964b3c [INFO] running `Command { std: "docker" "start" "-a" "acf37b0a323ecc659839ed8bcfae10c3ee826f73af50d9499eb6f8e516964b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf37b0a323ecc659839ed8bcfae10c3ee826f73af50d9499eb6f8e516964b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf37b0a323ecc659839ed8bcfae10c3ee826f73af50d9499eb6f8e516964b3c", kill_on_drop: false }` [INFO] [stdout] acf37b0a323ecc659839ed8bcfae10c3ee826f73af50d9499eb6f8e516964b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c6f8a88efeb7f5c84bfb2cfdb03ed2c036960624ca459e78305ee702471920 [INFO] running `Command { std: "docker" "start" "-a" "10c6f8a88efeb7f5c84bfb2cfdb03ed2c036960624ca459e78305ee702471920", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling salsa20 v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling scrypt v0.8.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling h2 v0.3.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Compiling rocket_cors v0.6.0-alpha1 [INFO] [stderr] Compiling realworld v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `post_articles` [INFO] [stdout] --> src/routes/articles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_articles( [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: `get_articles` [INFO] [stdout] --> src/routes/articles.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn get_articles(params: FindArticles, auth: Option, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_article` [INFO] [stdout] --> src/routes/articles.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn get_article(slug: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_article` [INFO] [stdout] --> src/routes/articles.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn delete_article(slug: String, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `favorite_article` [INFO] [stdout] --> src/routes/articles.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn favorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfavorite_article` [INFO] [stdout] --> src/routes/articles.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn unfavorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_articles` [INFO] [stdout] --> src/routes/articles.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn put_articles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_comment` [INFO] [stdout] --> src/routes/articles.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn post_comment( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_comment` [INFO] [stdout] --> src/routes/articles.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn delete_comment(slug: String, id: i32, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_comments` [INFO] [stdout] --> src/routes/articles.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub async fn get_comments(slug: String, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_articles_feed` [INFO] [stdout] --> src/routes/articles.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub async fn get_articles_feed(params: FeedArticles, auth: Auth, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_profile` [INFO] [stdout] --> src/routes/profiles.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_profile(username: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `follow` [INFO] [stdout] --> src/routes/profiles.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn follow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfollow` [INFO] [stdout] --> src/routes/profiles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn unfollow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_tags` [INFO] [stdout] --> src/routes/tags.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_tags(db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users` [INFO] [stdout] --> src/routes/users.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_users( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users_login` [INFO] [stdout] --> src/routes/users.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn post_users_login( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/routes/users.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_user(auth: Auth, db: Db, state: &State) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_user` [INFO] [stdout] --> src/routes/users.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn put_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `article` and `author` are never read [INFO] [stdout] --> src/models/comment.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub article: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub author: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_offsetlimited` [INFO] [stdout] 30 | pub struct OffsetLimited { [INFO] [stdout] | ------------- `OffsetLimited` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/article.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_article` [INFO] [stdout] 7 | pub struct Article { [INFO] [stdout] | ------- `Article` 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/models/comment.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_comment` [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- `Comment` 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/models/user.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- `User` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/user.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth<'_> { [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] | | ---- `slug` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_slug` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] 6 | | description -> Text, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | tag_list -> Array, [INFO] [stdout] | | -------- `tag_list` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_tag_list` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 10 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 11 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 12 | | favorites_count -> Int4, [INFO] [stdout] | | --------------- `favorites_count` is not local [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_favorites_count` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] 21 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 22 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 23 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] | | ---- `user` is not local [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] | | -------- `follower` is not local [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_follower` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] | | -------- `followed` is not local [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_followed` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] 46 | | bio -> Nullable, [INFO] [stdout] | | --- `bio` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_bio` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 47 | | image -> Nullable, [INFO] [stdout] | | ----- `image` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 48 | | hash -> Text, [INFO] [stdout] | | ---- `hash` is not local [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hash` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which 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 [optimized] target(s) in 5m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "10c6f8a88efeb7f5c84bfb2cfdb03ed2c036960624ca459e78305ee702471920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c6f8a88efeb7f5c84bfb2cfdb03ed2c036960624ca459e78305ee702471920", kill_on_drop: false }` [INFO] [stdout] 10c6f8a88efeb7f5c84bfb2cfdb03ed2c036960624ca459e78305ee702471920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceca8625add643d75c8a548d6c32e37a4e1bd3fde58cbc56ed800480776fcf86 [INFO] running `Command { std: "docker" "start" "-a" "ceca8625add643d75c8a548d6c32e37a4e1bd3fde58cbc56ed800480776fcf86", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `post_articles` [INFO] [stdout] --> src/routes/articles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_articles( [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: `get_articles` [INFO] [stdout] --> src/routes/articles.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn get_articles(params: FindArticles, auth: Option, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_article` [INFO] [stdout] --> src/routes/articles.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn get_article(slug: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_article` [INFO] [stdout] --> src/routes/articles.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn delete_article(slug: String, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `favorite_article` [INFO] [stdout] --> src/routes/articles.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn favorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfavorite_article` [INFO] [stdout] --> src/routes/articles.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn unfavorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_articles` [INFO] [stdout] --> src/routes/articles.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn put_articles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_comment` [INFO] [stdout] --> src/routes/articles.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn post_comment( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_comment` [INFO] [stdout] --> src/routes/articles.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn delete_comment(slug: String, id: i32, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_comments` [INFO] [stdout] --> src/routes/articles.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub async fn get_comments(slug: String, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_articles_feed` [INFO] [stdout] --> src/routes/articles.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub async fn get_articles_feed(params: FeedArticles, auth: Auth, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_profile` [INFO] [stdout] --> src/routes/profiles.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_profile(username: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `follow` [INFO] [stdout] --> src/routes/profiles.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn follow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfollow` [INFO] [stdout] --> src/routes/profiles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn unfollow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_tags` [INFO] [stdout] --> src/routes/tags.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_tags(db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users` [INFO] [stdout] --> src/routes/users.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_users( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users_login` [INFO] [stdout] --> src/routes/users.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn post_users_login( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/routes/users.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_user(auth: Auth, db: Db, state: &State) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_user` [INFO] [stdout] --> src/routes/users.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn put_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `article` and `author` are never read [INFO] [stdout] --> src/models/comment.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub article: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub author: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_offsetlimited` [INFO] [stdout] 30 | pub struct OffsetLimited { [INFO] [stdout] | ------------- `OffsetLimited` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/article.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_article` [INFO] [stdout] 7 | pub struct Article { [INFO] [stdout] | ------- `Article` 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/models/comment.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_comment` [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- `Comment` 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/models/user.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- `User` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/user.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth<'_> { [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] | | ---- `slug` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_slug` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] 6 | | description -> Text, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | tag_list -> Array, [INFO] [stdout] | | -------- `tag_list` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_tag_list` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 10 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 11 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 12 | | favorites_count -> Int4, [INFO] [stdout] | | --------------- `favorites_count` is not local [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_favorites_count` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] 21 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 22 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 23 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] | | ---- `user` is not local [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] | | -------- `follower` is not local [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_follower` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] | | -------- `followed` is not local [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_followed` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] 46 | | bio -> Nullable, [INFO] [stdout] | | --- `bio` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_bio` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 47 | | image -> Nullable, [INFO] [stdout] | | ----- `image` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 48 | | hash -> Text, [INFO] [stdout] | | ---- `hash` is not local [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hash` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which 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] Compiling realworld v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `post_articles` [INFO] [stdout] --> src/routes/articles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_articles( [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: `get_articles` [INFO] [stdout] --> src/routes/articles.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn get_articles(params: FindArticles, auth: Option, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_article` [INFO] [stdout] --> src/routes/articles.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn get_article(slug: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_article` [INFO] [stdout] --> src/routes/articles.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn delete_article(slug: String, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `favorite_article` [INFO] [stdout] --> src/routes/articles.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn favorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfavorite_article` [INFO] [stdout] --> src/routes/articles.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn unfavorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_articles` [INFO] [stdout] --> src/routes/articles.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn put_articles( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_comment` [INFO] [stdout] --> src/routes/articles.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn post_comment( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_comment` [INFO] [stdout] --> src/routes/articles.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn delete_comment(slug: String, id: i32, auth: Auth, db: Db) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_comments` [INFO] [stdout] --> src/routes/articles.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub async fn get_comments(slug: String, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_articles_feed` [INFO] [stdout] --> src/routes/articles.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub async fn get_articles_feed(params: FeedArticles, auth: Auth, db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_profile` [INFO] [stdout] --> src/routes/profiles.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_profile(username: String, auth: Option, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `follow` [INFO] [stdout] --> src/routes/profiles.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn follow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unfollow` [INFO] [stdout] --> src/routes/profiles.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn unfollow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_tags` [INFO] [stdout] --> src/routes/tags.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn get_tags(db: Db) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users` [INFO] [stdout] --> src/routes/users.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn post_users( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_users_login` [INFO] [stdout] --> src/routes/users.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn post_users_login( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/routes/users.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_user(auth: Auth, db: Db, state: &State) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_user` [INFO] [stdout] --> src/routes/users.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn put_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/articles.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | fn create_article(client: &Client, token: Token) -> LocalResponse { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | fn create_article(client: &Client, token: Token) -> LocalResponse<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `article` and `author` are never read [INFO] [stdout] --> src/models/comment.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub article: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub author: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_offsetlimited` [INFO] [stdout] 30 | pub struct OffsetLimited { [INFO] [stdout] | ------------- `OffsetLimited` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newarticle` [INFO] [stdout] 19 | #[table_name = "articles"] [INFO] [stdout] 20 | struct NewArticle<'a> { [INFO] [stdout] | ---------- `NewArticle` 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/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/articles.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stdout] 228 | #[table_name = "articles"] [INFO] [stdout] 229 | pub struct UpdateArticleData { [INFO] [stdout] | ----------------- `UpdateArticleData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcomment` [INFO] [stdout] 11 | #[table_name = "comments"] [INFO] [stdout] 12 | struct NewComment<'a> { [INFO] [stdout] | ---------- `NewComment` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 13 | #[table_name = "users"] [INFO] [stdout] 14 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` 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/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/users.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stdout] 97 | #[table_name = "users"] [INFO] [stdout] 98 | pub struct UpdateUserData { [INFO] [stdout] | -------------- `UpdateUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/article.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_article` [INFO] [stdout] 7 | pub struct Article { [INFO] [stdout] | ------- `Article` 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/models/comment.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_comment` [INFO] [stdout] 7 | pub struct Comment { [INFO] [stdout] | ------- `Comment` 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/models/user.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- `User` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/user.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth<'_> { [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] | | ---- `slug` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_slug` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] 5 | | title -> Text, [INFO] [stdout] 6 | | description -> Text, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 7 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | tag_list -> Array, [INFO] [stdout] | | -------- `tag_list` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_tag_list` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 10 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 11 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [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 | | articles (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | slug -> Text, [INFO] [stdout] ... | [INFO] [stdout] 12 | | favorites_count -> Int4, [INFO] [stdout] | | --------------- `favorites_count` is not local [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_favorites_count` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] 20 | | article -> Int4, [INFO] [stdout] 21 | | author -> Int4, [INFO] [stdout] | | ------ `author` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 22 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | comments (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | body -> Text, [INFO] [stdout] ... | [INFO] [stdout] 23 | | updated_at -> Timestamptz, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] | | ---- `user` is not local [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / table! { [INFO] [stdout] 28 | | favorites (user, article) { [INFO] [stdout] 29 | | user -> Int4, [INFO] [stdout] 30 | | article -> Int4, [INFO] [stdout] | | ------- `article` is not local [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_article` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] | | -------- `follower` is not local [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_follower` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / table! { [INFO] [stdout] 35 | | follows (follower, followed) { [INFO] [stdout] 36 | | follower -> Int4, [INFO] [stdout] 37 | | followed -> Int4, [INFO] [stdout] | | -------- `followed` is not local [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_followed` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] 45 | | email -> Text, [INFO] [stdout] 46 | | bio -> Nullable, [INFO] [stdout] | | --- `bio` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_bio` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 47 | | image -> Nullable, [INFO] [stdout] | | ----- `image` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / table! { [INFO] [stdout] 42 | | users (id) { [INFO] [stdout] 43 | | id -> Int4, [INFO] [stdout] 44 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 48 | | hash -> Text, [INFO] [stdout] | | ---- `hash` is not local [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hash` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which 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 [optimized] target(s) in 13.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ceca8625add643d75c8a548d6c32e37a4e1bd3fde58cbc56ed800480776fcf86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceca8625add643d75c8a548d6c32e37a4e1bd3fde58cbc56ed800480776fcf86", kill_on_drop: false }` [INFO] [stdout] ceca8625add643d75c8a548d6c32e37a4e1bd3fde58cbc56ed800480776fcf86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9b227ed7ce26335e992bc55430d2ddb72c8613fe43364d7989230930edcda6b [INFO] running `Command { std: "docker" "start" "-a" "f9b227ed7ce26335e992bc55430d2ddb72c8613fe43364d7989230930edcda6b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `post_articles` [INFO] [stderr] --> src/routes/articles.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn post_articles( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_articles` [INFO] [stderr] --> src/routes/articles.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | pub async fn get_articles(params: FindArticles, auth: Option, db: Db) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_article` [INFO] [stderr] --> src/routes/articles.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn get_article(slug: String, auth: Option, db: Db) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_article` [INFO] [stderr] --> src/routes/articles.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | pub async fn delete_article(slug: String, auth: Auth, db: Db) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `favorite_article` [INFO] [stderr] --> src/routes/articles.rs:81:14 [INFO] [stderr] | [INFO] [stderr] 81 | pub async fn favorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `unfavorite_article` [INFO] [stderr] --> src/routes/articles.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | pub async fn unfavorite_article(slug: String, auth: Auth, db: Db) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_articles` [INFO] [stderr] --> src/routes/articles.rs:100:14 [INFO] [stderr] | [INFO] [stderr] 100 | pub async fn put_articles( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `post_comment` [INFO] [stderr] --> src/routes/articles.rs:126:14 [INFO] [stderr] | [INFO] [stderr] 126 | pub async fn post_comment( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_comment` [INFO] [stderr] --> src/routes/articles.rs:145:14 [INFO] [stderr] | [INFO] [stderr] 145 | pub async fn delete_comment(slug: String, id: i32, auth: Auth, db: Db) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_comments` [INFO] [stderr] --> src/routes/articles.rs:151:14 [INFO] [stderr] | [INFO] [stderr] 151 | pub async fn get_comments(slug: String, db: Db) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_articles_feed` [INFO] [stderr] --> src/routes/articles.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 159 | pub async fn get_articles_feed(params: FeedArticles, auth: Auth, db: Db) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_profile` [INFO] [stderr] --> src/routes/profiles.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn get_profile(username: String, auth: Option, db: Db) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `follow` [INFO] [stderr] --> src/routes/profiles.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn follow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `unfollow` [INFO] [stderr] --> src/routes/profiles.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn unfollow(username: String, auth: Auth, db: Db) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_tags` [INFO] [stderr] --> src/routes/tags.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn get_tags(db: Db) -> Value { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `post_users` [INFO] [stderr] --> src/routes/users.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn post_users( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `post_users_login` [INFO] [stderr] --> src/routes/users.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn post_users_login( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_user` [INFO] [stderr] --> src/routes/users.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | pub async fn get_user(auth: Auth, db: Db, state: &State) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_user` [INFO] [stderr] --> src/routes/users.rs:99:14 [INFO] [stderr] | [INFO] [stderr] 99 | pub async fn put_user( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `article` and `author` are never read [INFO] [stderr] --> src/models/comment.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Comment { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | pub article: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | pub author: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/mod.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_offsetlimited` [INFO] [stderr] 30 | pub struct OffsetLimited { [INFO] [stderr] | ------------- `OffsetLimited` is not local [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (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/database/articles.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [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_newarticle` [INFO] [stderr] 19 | #[table_name = "articles"] [INFO] [stderr] 20 | struct NewArticle<'a> { [INFO] [stderr] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [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_newarticle` [INFO] [stderr] 19 | #[table_name = "articles"] [INFO] [stderr] 20 | struct NewArticle<'a> { [INFO] [stderr] | ---------- `NewArticle` 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/database/articles.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [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_newarticle` [INFO] [stderr] 19 | #[table_name = "articles"] [INFO] [stderr] 20 | struct NewArticle<'a> { [INFO] [stderr] | ---------- `NewArticle` 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/database/articles.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stderr] 228 | #[table_name = "articles"] [INFO] [stderr] 229 | pub struct UpdateArticleData { [INFO] [stderr] | ----------------- `UpdateArticleData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/database/articles.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_updatearticledata` [INFO] [stderr] 228 | #[table_name = "articles"] [INFO] [stderr] 229 | pub struct UpdateArticleData { [INFO] [stderr] | ----------------- `UpdateArticleData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/database/comments.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [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_newcomment` [INFO] [stderr] 11 | #[table_name = "comments"] [INFO] [stderr] 12 | struct NewComment<'a> { [INFO] [stderr] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [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_newcomment` [INFO] [stderr] 11 | #[table_name = "comments"] [INFO] [stderr] 12 | struct NewComment<'a> { [INFO] [stderr] | ---------- `NewComment` 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/database/comments.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Insertable)] [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_newcomment` [INFO] [stderr] 11 | #[table_name = "comments"] [INFO] [stderr] 12 | struct NewComment<'a> { [INFO] [stderr] | ---------- `NewComment` 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/database/users.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Insertable)] [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_newuser` [INFO] [stderr] 13 | #[table_name = "users"] [INFO] [stderr] 14 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Insertable)] [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_newuser` [INFO] [stderr] 13 | #[table_name = "users"] [INFO] [stderr] 14 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` 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/database/users.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Insertable)] [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_newuser` [INFO] [stderr] 13 | #[table_name = "users"] [INFO] [stderr] 14 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` 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/database/users.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stderr] 97 | #[table_name = "users"] [INFO] [stderr] 98 | pub struct UpdateUserData { [INFO] [stderr] | -------------- `UpdateUserData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/database/users.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Deserialize, AsChangeset, Default, Clone)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_updateuserdata` [INFO] [stderr] 97 | #[table_name = "users"] [INFO] [stderr] 98 | pub struct UpdateUserData { [INFO] [stderr] | -------------- `UpdateUserData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/models/article.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_article` [INFO] [stderr] 7 | pub struct Article { [INFO] [stderr] | ------- `Article` 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/models/comment.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_comment` [INFO] [stderr] 7 | pub struct Comment { [INFO] [stderr] | ------- `Comment` 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/models/user.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Queryable, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stderr] 8 | pub struct User { [INFO] [stderr] | ---- `User` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/models/user.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn to_user_auth(&self, secret: &[u8]) -> UserAuth<'_> { [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] | | ---- `slug` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_slug` [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] 5 | | title -> Text, [INFO] [stderr] | | ----- `title` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_title` [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] 5 | | title -> Text, [INFO] [stderr] 6 | | description -> Text, [INFO] [stderr] | | ----------- `description` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 7 | | body -> Text, [INFO] [stderr] | | ---- `body` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_body` [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 8 | | author -> Int4, [INFO] [stderr] | | ------ `author` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_author` [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 9 | | tag_list -> Array, [INFO] [stderr] | | -------- `tag_list` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_tag_list` [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 10 | | created_at -> Timestamptz, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 11 | | updated_at -> Timestamptz, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [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 | | articles (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | slug -> Text, [INFO] [stderr] ... | [INFO] [stderr] 12 | | favorites_count -> Int4, [INFO] [stderr] | | --------------- `favorites_count` is not local [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_favorites_count` [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] | | ---- `body` is not local [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_body` [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] 20 | | article -> Int4, [INFO] [stderr] | | ------- `article` is not local [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_article` [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] 20 | | article -> Int4, [INFO] [stderr] 21 | | author -> Int4, [INFO] [stderr] | | ------ `author` is not local [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_author` [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] ... | [INFO] [stderr] 22 | | created_at -> Timestamptz, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [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:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | comments (id) { [INFO] [stderr] 18 | | id -> Int4, [INFO] [stderr] 19 | | body -> Text, [INFO] [stderr] ... | [INFO] [stderr] 23 | | updated_at -> Timestamptz, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [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:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / table! { [INFO] [stderr] 28 | | favorites (user, article) { [INFO] [stderr] 29 | | user -> Int4, [INFO] [stderr] 30 | | article -> Int4, [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [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:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / table! { [INFO] [stderr] 28 | | favorites (user, article) { [INFO] [stderr] 29 | | user -> Int4, [INFO] [stderr] | | ---- `user` is not local [INFO] [stderr] 30 | | article -> Int4, [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_user` [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:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / table! { [INFO] [stderr] 28 | | favorites (user, article) { [INFO] [stderr] 29 | | user -> Int4, [INFO] [stderr] 30 | | article -> Int4, [INFO] [stderr] | | ------- `article` is not local [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_article` [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:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / table! { [INFO] [stderr] 35 | | follows (follower, followed) { [INFO] [stderr] 36 | | follower -> Int4, [INFO] [stderr] 37 | | followed -> Int4, [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [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:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / table! { [INFO] [stderr] 35 | | follows (follower, followed) { [INFO] [stderr] 36 | | follower -> Int4, [INFO] [stderr] | | -------- `follower` is not local [INFO] [stderr] 37 | | followed -> Int4, [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_follower` [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:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / table! { [INFO] [stderr] 35 | | follows (follower, followed) { [INFO] [stderr] 36 | | follower -> Int4, [INFO] [stderr] 37 | | followed -> Int4, [INFO] [stderr] | | -------- `followed` is not local [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_followed` [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] | | -------- `username` is not local [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_username` [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] 45 | | email -> Text, [INFO] [stderr] | | ----- `email` is not local [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] 45 | | email -> Text, [INFO] [stderr] 46 | | bio -> Nullable, [INFO] [stderr] | | --- `bio` is not local [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_bio` [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 47 | | image -> Nullable, [INFO] [stderr] | | ----- `image` is not local [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_image` [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:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / table! { [INFO] [stderr] 42 | | users (id) { [INFO] [stderr] 43 | | id -> Int4, [INFO] [stderr] 44 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 48 | | hash -> Text, [INFO] [stderr] | | ---- `hash` is not local [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_hash` [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: `realworld` (lib) generated 69 warnings (run `cargo fix --lib -p realworld` to apply 20 suggestions) [INFO] [stderr] warning: `realworld` (lib test) generated 69 warnings (69 duplicates) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/articles.rs:274:27 [INFO] [stderr] | [INFO] [stderr] 274 | fn create_article(client: &Client, token: Token) -> LocalResponse { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 274 | fn create_article(client: &Client, token: Token) -> LocalResponse<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `realworld` (test "articles") generated 1 warning (run `cargo fix --test "articles" -p realworld` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/realworld-09dd8c6ab36512ce) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test database::articles::tests::test_generate_suffix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/realworld-835189156106f8d2) [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] [stderr] Running tests/articles.rs (/opt/rustwide/target/debug/deps/articles-7e7d186a68cb9cea) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_get_articles_with_params ... FAILED [INFO] [stdout] test test_commenting has been running for over 60 seconds [INFO] [stdout] test test_delete_article has been running for over 60 seconds [INFO] [stdout] test test_delete_article_anonymously has been running for over 60 seconds [INFO] [stdout] test test_favorite_article has been running for over 60 seconds [INFO] [stdout] test test_get_article has been running for over 60 seconds [INFO] [stdout] test test_get_articles has been running for over 60 seconds [INFO] [stdout] test test_get_articles_fedd has been running for over 60 seconds [INFO] [stdout] test test_get_comment has been running for over 60 seconds [INFO] [stdout] test test_post_articles has been running for over 60 seconds [INFO] [stdout] test test_put_articles has been running for over 60 seconds [INFO] [stdout] test test_unfavorite_article has been running for over 60 seconds [INFO] [stdout] test test_get_articles ... FAILED [INFO] [stdout] test test_get_article ... FAILED [INFO] [stdout] test test_put_articles ... FAILED [INFO] [stdout] test test_commenting ... FAILED [INFO] [stdout] test test_get_comment ... FAILED [INFO] [stdout] test test_get_articles_fedd ... FAILED [INFO] [stdout] test test_delete_article_anonymously ... FAILED [INFO] [stdout] test test_delete_article ... FAILED [INFO] [stdout] test test_favorite_article ... FAILED [INFO] [stdout] test test_unfavorite_article ... FAILED [INFO] [stdout] test test_post_articles ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_get_articles_with_params stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_get_articles_with_params' (35) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be9168165b0 - core::ops::function::FnOnce::call_once::ha5fe1f714d37a659 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_get_articles stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_get_articles' (33) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be9168171b0 - core::ops::function::FnOnce::call_once::heaf763479ea92a67 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_get_article stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_get_article' (32) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be9168168c0 - core::ops::function::FnOnce::call_once::hb1aa31178ddc7736 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_put_articles stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_put_articles' (38) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916815890 - core::ops::function::FnOnce::call_once::h9ea7aaf6c7faf9ca [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_commenting stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_commenting' (28) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916817da0 - core::ops::function::FnOnce::call_once::hfbf17875e0984ebc [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_get_comment stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_get_comment' (36) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916817910 - core::ops::function::FnOnce::call_once::hf5d051c12e4bd911 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_get_articles_fedd stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_get_articles_fedd' (34) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916814950 - core::ops::function::FnOnce::call_once::h40afee9e23b373c2 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_delete_article_anonymously stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_delete_article_anonymously' (30) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be9168154f0 - core::ops::function::FnOnce::call_once::h910b882e31496d8d [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_delete_article stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_delete_article' (29) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916814cd0 - core::ops::function::FnOnce::call_once::h503767aa1f5cf64b [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_favorite_article stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_favorite_article' (31) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be9168150e0 - core::ops::function::FnOnce::call_once::h8c10c5527fe07dd1 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_unfavorite_article stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_unfavorite_article' (39) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916817500 - core::ops::function::FnOnce::call_once::hf03966d3061f2ade [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_post_articles stdout ---- [INFO] [stdout] Error: database pool init error for pool named `diesel_postgres_pool` [INFO] [stdout] >> timed out waiting for connection: connection to server at "localhost" (::1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused [INFO] [stdout] Is the server running on that host and accepting TCP/IP connections? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test_post_articles' (37) panicked at tests/common.rs:30:45: [INFO] [stdout] valid rocket instance: FailedFairings([Info { name: "'diesel_postgres_pool' Database Pool", kind: Kind(1) }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5be916cb6492 - ::fmt::h8be9aa933f14675f [INFO] [stdout] 1: 0x5be916cc901f - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] 2: 0x5be916c83023 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] 3: 0x5be916c8f462 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] 4: 0x5be916c9441f - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] 5: 0x5be916c942b1 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] 6: 0x5be91685bf1e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] 7: 0x5be916c94adf - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] 8: 0x5be916c9488a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] 9: 0x5be916c8f599 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] 10: 0x5be916c7702d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] 11: 0x5be916cd40c0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] 12: 0x5be916cd3076 - core::result::unwrap_failed::he05762ef9e6bdf9c [INFO] [stdout] 13: 0x5be9168374d5 - once_cell::imp::OnceCell::initialize::{{closure}}::hae4e6ff182e46ba5 [INFO] [stdout] 14: 0x5be916c76d2f - once_cell::imp::initialize_inner::hc72631a112edaef2 [INFO] [stdout] 15: 0x5be916837375 - once_cell::imp::OnceCell::initialize::h6f87ba7f4e471445 [INFO] [stdout] 16: 0x5be91683b727 - once_cell::sync::OnceCell::get_or_init::h18e835a5dd723b16 [INFO] [stdout] 17: 0x5be916816f0e - core::ops::function::FnOnce::call_once::heac993a538c13ac6 [INFO] [stdout] 18: 0x5be91685bd1b - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] 19: 0x5be91686fd7d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] 20: 0x5be9168492c4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] 21: 0x5be91684cb1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] 22: 0x5be916c8a99f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] 23: 0x7fef107e8aa4 - [INFO] [stdout] 24: 0x7fef10875a64 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_commenting [INFO] [stdout] test_delete_article [INFO] [stdout] test_delete_article_anonymously [INFO] [stdout] test_favorite_article [INFO] [stdout] test_get_article [INFO] [stdout] test_get_articles [INFO] [stdout] test_get_articles_fedd [INFO] [stdout] test_get_articles_with_params [INFO] [stdout] test_get_comment [INFO] [stdout] test_post_articles [INFO] [stdout] test_put_articles [INFO] [stdout] test_unfavorite_article [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 360.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test articles` [INFO] running `Command { std: "docker" "inspect" "f9b227ed7ce26335e992bc55430d2ddb72c8613fe43364d7989230930edcda6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b227ed7ce26335e992bc55430d2ddb72c8613fe43364d7989230930edcda6b", kill_on_drop: false }` [INFO] [stdout] f9b227ed7ce26335e992bc55430d2ddb72c8613fe43364d7989230930edcda6b