[INFO] cloning repository https://github.com/tjhorner/danbooru-tag-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjhorner/danbooru-tag-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6cc1fb65eeddc9fcef7fe7f7a86e6ad54166e15 [INFO] checking tjhorner/danbooru-tag-bot against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tjhorner/danbooru-tag-bot [INFO] finished tweaking git repo https://github.com/tjhorner/danbooru-tag-bot [INFO] tweaked toml for git repo https://github.com/tjhorner/danbooru-tag-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tjhorner/danbooru-tag-bot on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tjhorner/danbooru-tag-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded teloxide-macros v0.6.1 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded dptree v0.2.1 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded aquamarine v0.1.11 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded mime_guess v2.0.4 [INFO] [stderr] Downloaded openssl-macros v0.1.0 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded tokio-util v0.6.10 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] [stderr] Downloaded rc-box v1.2.0 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded unicase v2.6.0 [INFO] [stderr] Downloaded openssl-probe v0.1.5 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded derive_more v0.99.17 [INFO] [stderr] Downloaded never v0.1.0 [INFO] [stderr] Downloaded encoding_rs v0.8.31 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.30 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded bumpalo v3.9.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded teloxide-core v0.6.0 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded winreg v0.10.1 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded teloxide v0.9.0 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1afa8c108e25c3f9312530e2bc23fe52b5b71fd1b3b98a824f9b3fc8c11d02c [INFO] running `Command { std: "docker" "start" "-a" "a1afa8c108e25c3f9312530e2bc23fe52b5b71fd1b3b98a824f9b3fc8c11d02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1afa8c108e25c3f9312530e2bc23fe52b5b71fd1b3b98a824f9b3fc8c11d02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1afa8c108e25c3f9312530e2bc23fe52b5b71fd1b3b98a824f9b3fc8c11d02c", kill_on_drop: false }` [INFO] [stdout] a1afa8c108e25c3f9312530e2bc23fe52b5b71fd1b3b98a824f9b3fc8c11d02c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8da794aa9d5d4fc73000647ba410e310ba80fc5aa7a7c80fea7a377fd3b663a [INFO] running `Command { std: "docker" "start" "-a" "c8da794aa9d5d4fc73000647ba410e310ba80fc5aa7a7c80fea7a377fd3b663a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.11 [INFO] [stderr] Compiling teloxide-macros v0.6.1 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking dptree v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking teloxide-core v0.6.0 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking teloxide v0.9.0 [INFO] [stderr] Checking danbooru-tag-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_url` is never read [INFO] [stdout] --> src/api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Post { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub file_url: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_subscription` is never used [INFO] [stdout] --> src/db/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Database { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_subscription(&self, tag: &str, user_id: &i64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `tag`, and `user_id` are never read [INFO] [stdout] --> src/db/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subscription { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostIndex` is never constructed [INFO] [stdout] --> src/db/models.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PostIndex { [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/db/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_subscription` [INFO] [stdout] 5 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[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_subscriptionresult` [INFO] [stdout] 19 | pub struct SubscriptionResult { [INFO] [stdout] | ------------------ `SubscriptionResult` 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/db/models.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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_postindex` [INFO] [stdout] 25 | pub struct PostIndex { [INFO] [stdout] | --------- `PostIndex` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [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 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [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 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] | | -------------- `last_seen_post` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_seen_post` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 11 | | tag -> 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> Text, [INFO] [stdout] | | --- `tag` 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` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> Text, [INFO] [stdout] 12 | | user_id -> Int8, [INFO] [stdout] | | ------- `user_id` 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_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_url` is never read [INFO] [stdout] --> src/api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Post { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub file_url: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_subscription` is never used [INFO] [stdout] --> src/db/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Database { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_subscription(&self, tag: &str, user_id: &i64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `tag`, and `user_id` are never read [INFO] [stdout] --> src/db/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Subscription { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostIndex` is never constructed [INFO] [stdout] --> src/db/models.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PostIndex { [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/db/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_subscription` [INFO] [stdout] 5 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newsubscription` [INFO] [stdout] 12 | #[table_name = "subscriptions"] [INFO] [stdout] 13 | pub struct NewSubscription<'a> { [INFO] [stdout] | --------------- `NewSubscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/models.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[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_subscriptionresult` [INFO] [stdout] 19 | pub struct SubscriptionResult { [INFO] [stdout] | ------------------ `SubscriptionResult` 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/db/models.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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_postindex` [INFO] [stdout] 25 | pub struct PostIndex { [INFO] [stdout] | --------- `PostIndex` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [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 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [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 | | post_index (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | last_seen_post -> Int4, [INFO] [stdout] | | -------------- `last_seen_post` is not local [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_seen_post` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 11 | | tag -> 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> Text, [INFO] [stdout] | | --- `tag` 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` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | subscriptions (id) { [INFO] [stdout] 10 | | id -> Int4, [INFO] [stdout] 11 | | tag -> Text, [INFO] [stdout] 12 | | user_id -> Int8, [INFO] [stdout] | | ------- `user_id` 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_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.29s [INFO] running `Command { std: "docker" "inspect" "c8da794aa9d5d4fc73000647ba410e310ba80fc5aa7a7c80fea7a377fd3b663a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8da794aa9d5d4fc73000647ba410e310ba80fc5aa7a7c80fea7a377fd3b663a", kill_on_drop: false }` [INFO] [stdout] c8da794aa9d5d4fc73000647ba410e310ba80fc5aa7a7c80fea7a377fd3b663a