[INFO] cloning repository https://github.com/louisdewar/autha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louisdewar/autha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisdewar%2Fautha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisdewar%2Fautha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acf8f0756ac6130953d06202ddf53e78d321cabb [INFO] testing louisdewar/autha against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisdewar%2Fautha" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/louisdewar/autha on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/louisdewar/autha [INFO] finished tweaking git repo https://github.com/louisdewar/autha [INFO] tweaked toml for git repo https://github.com/louisdewar/autha written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/louisdewar/autha 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e8ce0f1390987fcfc4d2b1cab47eece6eb78b42788b207144f3260b49a52af5 [INFO] running `Command { std: "docker" "start" "-a" "3e8ce0f1390987fcfc4d2b1cab47eece6eb78b42788b207144f3260b49a52af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e8ce0f1390987fcfc4d2b1cab47eece6eb78b42788b207144f3260b49a52af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8ce0f1390987fcfc4d2b1cab47eece6eb78b42788b207144f3260b49a52af5", kill_on_drop: false }` [INFO] [stdout] 3e8ce0f1390987fcfc4d2b1cab47eece6eb78b42788b207144f3260b49a52af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dd292ab4f271ada14f49562521ed942428f8907a2822dd6f24a65cfc2881404 [INFO] running `Command { std: "docker" "start" "-a" "4dd292ab4f271ada14f49562521ed942428f8907a2822dd6f24a65cfc2881404", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.135 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling integer-encoding v1.1.7 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling thrift v0.13.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling quoted_printable v0.4.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling bcrypt-pbkdf v0.7.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling clap v3.0.10 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling deadpool v0.9.2 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling lettre v0.10.0-rc.4 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling opentelemetry v0.16.0 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.8.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.16.0 [INFO] [stderr] Compiling opentelemetry-jaeger v0.15.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.2 [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 jsonwebkey v0.3.4 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling autha_client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.0-rc.2 [INFO] [stderr] Compiling deadpool-redis v0.10.2 [INFO] [stderr] Compiling actix-web v4.0.0-rc.2 [INFO] [stderr] Compiling tracing-actix-web v0.5.0-rc.2 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/email_verification.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / pub async fn set_email_verification( [INFO] [stdout] 24 | | conn: &mut RedisConnection, [INFO] [stdout] 25 | | user_id: i32, [INFO] [stdout] 26 | | email: String, [INFO] [stdout] 27 | | verification_code: &str, [INFO] [stdout] 28 | | expires: Duration, [INFO] [stdout] 29 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/email_verification.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/limiter.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / pub async fn get_permit( [INFO] [stdout] 70 | | &self, [INFO] [stdout] 71 | | base_key: &str, [INFO] [stdout] 72 | | limiters: &[TokenBucket], [INFO] [stdout] 73 | | ) -> Result, GetLimiterPermitError> { [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/limiter.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .invoke_async(&mut redis) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/reset_password.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn set_password_reset( [INFO] [stdout] 21 | | conn: &mut RedisConnection, [INFO] [stdout] 22 | | user_id: i32, [INFO] [stdout] 23 | | old_password_hash: String, [INFO] [stdout] 24 | | verification_code: &str, [INFO] [stdout] 25 | | expires: Duration, [INFO] [stdout] 26 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/reset_password.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/reset_password.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / pub async fn take_password_reset( [INFO] [stdout] 41 | | conn: &mut RedisConnection, [INFO] [stdout] 42 | | verification_code: &str, [INFO] [stdout] 43 | | ) -> Result, RedisError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/reset_password.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | conn.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/email_verification.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / pub async fn take_email_verification( [INFO] [stdout] 41 | | conn: &mut RedisConnection, [INFO] [stdout] 42 | | verification_code: &str, [INFO] [stdout] 43 | | ) -> Result, RedisError> { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/email_verification.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | conn.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trust_email_as_verified` is never read [INFO] [stdout] --> server/src/provider/plugins/openid_connect.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OpenIDProviderConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | trust_email_as_verified: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenIDProviderConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_endpoint`, `userinfo_endpoint`, and `client_secret` are never read [INFO] [stdout] --> server/src/provider/plugins/openid_connect.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct OAuthInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | token_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | authorization_endpoint: Url, [INFO] [stdout] 49 | userinfo_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | client_id: String, [INFO] [stdout] 51 | client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VerifyJwtError` is never used [INFO] [stdout] --> server/src/jwt/error.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum VerifyJwtError { [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] --> server/src/db/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] 7 | 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: `#[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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] 4 | | method -> Text, [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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 4 | | method -> Text, [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_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] 4 | | method -> Text, [INFO] [stdout] | | ------ `method` 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_method` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [INFO] [stdout] 13 | | } [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] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] | | --------------- `hashed_password` is not local [INFO] [stdout] 12 | | salt -> Text, [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_hashed_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [INFO] [stdout] | | ---- `salt` 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_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [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] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] | | ------ `issuer` is not local [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_issuer` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] | | ------------------ `subject_identifier` is not local [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subject_identifier` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] 28 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] 28 | | email -> Nullable, [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 30 | | extra -> Jsonb, [INFO] [stdout] | | ----- `extra` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_extra` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 31 | | token_generation -> Text, [INFO] [stdout] | | ---------------- `token_generation` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token_generation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 32 | | admin -> Bool, [INFO] [stdout] | | ----- `admin` is not local [INFO] [stdout] 33 | | created_at -> Timestamptz, [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_admin` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 33 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "4dd292ab4f271ada14f49562521ed942428f8907a2822dd6f24a65cfc2881404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd292ab4f271ada14f49562521ed942428f8907a2822dd6f24a65cfc2881404", kill_on_drop: false }` [INFO] [stdout] 4dd292ab4f271ada14f49562521ed942428f8907a2822dd6f24a65cfc2881404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 661ece2bafd871953360726502dae960f9b8915f0872f6dbcf244872d103479d [INFO] running `Command { std: "docker" "start" "-a" "661ece2bafd871953360726502dae960f9b8915f0872f6dbcf244872d103479d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autha_client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/email_verification.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / pub async fn set_email_verification( [INFO] [stdout] 24 | | conn: &mut RedisConnection, [INFO] [stdout] 25 | | user_id: i32, [INFO] [stdout] 26 | | email: String, [INFO] [stdout] 27 | | verification_code: &str, [INFO] [stdout] 28 | | expires: Duration, [INFO] [stdout] 29 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/email_verification.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/limiter.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / pub async fn get_permit( [INFO] [stdout] 70 | | &self, [INFO] [stdout] 71 | | base_key: &str, [INFO] [stdout] 72 | | limiters: &[TokenBucket], [INFO] [stdout] 73 | | ) -> Result, GetLimiterPermitError> { [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/limiter.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .invoke_async(&mut redis) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/reset_password.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub async fn set_password_reset( [INFO] [stdout] 21 | | conn: &mut RedisConnection, [INFO] [stdout] 22 | | user_id: i32, [INFO] [stdout] 23 | | old_password_hash: String, [INFO] [stdout] 24 | | verification_code: &str, [INFO] [stdout] 25 | | expires: Duration, [INFO] [stdout] 26 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/reset_password.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/reset_password.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / pub async fn take_password_reset( [INFO] [stdout] 41 | | conn: &mut RedisConnection, [INFO] [stdout] 42 | | verification_code: &str, [INFO] [stdout] 43 | | ) -> Result, RedisError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/reset_password.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | conn.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> server/src/redis/action/email_verification.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / pub async fn take_email_verification( [INFO] [stdout] 41 | | conn: &mut RedisConnection, [INFO] [stdout] 42 | | verification_code: &str, [INFO] [stdout] 43 | | ) -> Result, RedisError> { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> server/src/redis/action/email_verification.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | conn.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trust_email_as_verified` is never read [INFO] [stdout] --> server/src/provider/plugins/openid_connect.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OpenIDProviderConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | trust_email_as_verified: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenIDProviderConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_endpoint`, `userinfo_endpoint`, and `client_secret` are never read [INFO] [stdout] --> server/src/provider/plugins/openid_connect.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct OAuthInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | token_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | authorization_endpoint: Url, [INFO] [stdout] 49 | userinfo_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | client_id: String, [INFO] [stdout] 51 | client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VerifyJwtError` is never used [INFO] [stdout] --> server/src/jwt/error.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum VerifyJwtError { [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] --> server/src/db/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] 7 | 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: `#[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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stdout] 19 | #[table_name = "users"] [INFO] [stdout] 20 | pub struct NewUser { [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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stdout] 28 | #[table_name = "password_auth"] [INFO] [stdout] 29 | pub struct PasswordAuth { [INFO] [stdout] | ------------ `PasswordAuth` 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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] 4 | | method -> Text, [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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 4 | | method -> Text, [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_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | authentication_methods (user_id, method) { [INFO] [stdout] 3 | | user_id -> Int4, [INFO] [stdout] 4 | | method -> Text, [INFO] [stdout] | | ------ `method` 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_method` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [INFO] [stdout] 13 | | } [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] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] | | --------------- `hashed_password` is not local [INFO] [stdout] 12 | | salt -> Text, [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_hashed_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / table! { [INFO] [stdout] 9 | | password_auth (user_id) { [INFO] [stdout] 10 | | user_id -> Int4, [INFO] [stdout] 11 | | hashed_password -> Text, [INFO] [stdout] 12 | | salt -> Text, [INFO] [stdout] | | ---- `salt` 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_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [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] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] | | ------ `issuer` is not local [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_issuer` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | sso (issuer, subject_identifier) { [INFO] [stdout] 18 | | user_id -> Nullable, [INFO] [stdout] 19 | | issuer -> Text, [INFO] [stdout] 20 | | subject_identifier -> Text, [INFO] [stdout] | | ------------------ `subject_identifier` is not local [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subject_identifier` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] 28 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] 28 | | email -> Nullable, [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 30 | | extra -> Jsonb, [INFO] [stdout] | | ----- `extra` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_extra` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 31 | | token_generation -> Text, [INFO] [stdout] | | ---------------- `token_generation` is not local [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token_generation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 32 | | admin -> Bool, [INFO] [stdout] | | ----- `admin` is not local [INFO] [stdout] 33 | | created_at -> Timestamptz, [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_admin` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/db/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / table! { [INFO] [stdout] 25 | | users (id) { [INFO] [stdout] 26 | | id -> Int4, [INFO] [stdout] 27 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 33 | | created_at -> Timestamptz, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "661ece2bafd871953360726502dae960f9b8915f0872f6dbcf244872d103479d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661ece2bafd871953360726502dae960f9b8915f0872f6dbcf244872d103479d", kill_on_drop: false }` [INFO] [stdout] 661ece2bafd871953360726502dae960f9b8915f0872f6dbcf244872d103479d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bea60cc2288120aaf3197fa68b1b8978e4219c5efe0ac52da24df3c79e53277b [INFO] running `Command { std: "docker" "start" "-a" "bea60cc2288120aaf3197fa68b1b8978e4219c5efe0ac52da24df3c79e53277b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> server/src/redis/action/email_verification.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / pub async fn set_email_verification( [INFO] [stderr] 24 | | conn: &mut RedisConnection, [INFO] [stderr] 25 | | user_id: i32, [INFO] [stderr] 26 | | email: String, [INFO] [stderr] 27 | | verification_code: &str, [INFO] [stderr] 28 | | expires: Duration, [INFO] [stderr] 29 | | ) -> Result<(), RedisError> { [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> server/src/redis/action/email_verification.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stderr] | ^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> server/src/redis/limiter.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | / pub async fn get_permit( [INFO] [stderr] 70 | | &self, [INFO] [stderr] 71 | | base_key: &str, [INFO] [stderr] 72 | | limiters: &[TokenBucket], [INFO] [stderr] 73 | | ) -> Result, GetLimiterPermitError> { [INFO] [stderr] | |____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> server/src/redis/limiter.rs:118:26 [INFO] [stderr] | [INFO] [stderr] 118 | .invoke_async(&mut redis) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> server/src/redis/action/reset_password.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / pub async fn set_password_reset( [INFO] [stderr] 21 | | conn: &mut RedisConnection, [INFO] [stderr] 22 | | user_id: i32, [INFO] [stderr] 23 | | old_password_hash: String, [INFO] [stderr] 24 | | verification_code: &str, [INFO] [stderr] 25 | | expires: Duration, [INFO] [stderr] 26 | | ) -> Result<(), RedisError> { [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> server/src/redis/action/reset_password.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | conn.set(&key, serde_json::to_string(&meta).unwrap()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> server/src/redis/action/reset_password.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / pub async fn take_password_reset( [INFO] [stderr] 41 | | conn: &mut RedisConnection, [INFO] [stderr] 42 | | verification_code: &str, [INFO] [stderr] 43 | | ) -> Result, RedisError> { [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> server/src/redis/action/reset_password.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | conn.del(&key).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> server/src/redis/action/email_verification.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / pub async fn take_email_verification( [INFO] [stderr] 41 | | conn: &mut RedisConnection, [INFO] [stderr] 42 | | verification_code: &str, [INFO] [stderr] 43 | | ) -> Result, RedisError> { [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> server/src/redis/action/email_verification.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | conn.del(&key).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `trust_email_as_verified` is never read [INFO] [stderr] --> server/src/provider/plugins/openid_connect.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct OpenIDProviderConfig { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 28 | trust_email_as_verified: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenIDProviderConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `token_endpoint`, `userinfo_endpoint`, and `client_secret` are never read [INFO] [stderr] --> server/src/provider/plugins/openid_connect.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 46 | struct OAuthInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 47 | token_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 48 | authorization_endpoint: Url, [INFO] [stderr] 49 | userinfo_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 50 | client_id: String, [INFO] [stderr] 51 | client_secret: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OAuthInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `VerifyJwtError` is never used [INFO] [stderr] --> server/src/jwt/error.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | enum VerifyJwtError { [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] --> server/src/db/model.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[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] 7 | 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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> server/src/db/model.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_newuser` [INFO] [stderr] 19 | #[table_name = "users"] [INFO] [stderr] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stderr] 19 | #[table_name = "users"] [INFO] [stderr] 20 | pub struct NewUser { [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] --> server/src/db/model.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_newuser` [INFO] [stderr] 19 | #[table_name = "users"] [INFO] [stderr] 20 | pub struct NewUser { [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] --> server/src/db/model.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [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_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/model.rs:27:33 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Insertable, Queryable, AsChangeset)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_passwordauth` [INFO] [stderr] 28 | #[table_name = "password_auth"] [INFO] [stderr] 29 | pub struct PasswordAuth { [INFO] [stderr] | ------------ `PasswordAuth` 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] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | authentication_methods (user_id, method) { [INFO] [stderr] 3 | | user_id -> Int4, [INFO] [stderr] 4 | | method -> Text, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [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] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | authentication_methods (user_id, method) { [INFO] [stderr] 3 | | user_id -> Int4, [INFO] [stderr] | | ------- `user_id` is not local [INFO] [stderr] 4 | | method -> Text, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [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_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] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | authentication_methods (user_id, method) { [INFO] [stderr] 3 | | user_id -> Int4, [INFO] [stderr] 4 | | method -> Text, [INFO] [stderr] | | ------ `method` is not local [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_method` [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] --> server/src/db/schema.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / table! { [INFO] [stderr] 9 | | password_auth (user_id) { [INFO] [stderr] 10 | | user_id -> Int4, [INFO] [stderr] 11 | | hashed_password -> Text, [INFO] [stderr] 12 | | salt -> Text, [INFO] [stderr] 13 | | } [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] --> server/src/db/schema.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / table! { [INFO] [stderr] 9 | | password_auth (user_id) { [INFO] [stderr] 10 | | user_id -> Int4, [INFO] [stderr] | | ------- `user_id` is not local [INFO] [stderr] 11 | | hashed_password -> Text, [INFO] [stderr] 12 | | salt -> Text, [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_user_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] --> server/src/db/schema.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / table! { [INFO] [stderr] 9 | | password_auth (user_id) { [INFO] [stderr] 10 | | user_id -> Int4, [INFO] [stderr] 11 | | hashed_password -> Text, [INFO] [stderr] | | --------------- `hashed_password` is not local [INFO] [stderr] 12 | | salt -> Text, [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_hashed_password` [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] --> server/src/db/schema.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / table! { [INFO] [stderr] 9 | | password_auth (user_id) { [INFO] [stderr] 10 | | user_id -> Int4, [INFO] [stderr] 11 | | hashed_password -> Text, [INFO] [stderr] 12 | | salt -> Text, [INFO] [stderr] | | ---- `salt` 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_salt` [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] --> server/src/db/schema.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | sso (issuer, subject_identifier) { [INFO] [stderr] 18 | | user_id -> Nullable, [INFO] [stderr] 19 | | issuer -> Text, [INFO] [stderr] 20 | | subject_identifier -> Text, [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [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] --> server/src/db/schema.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | sso (issuer, subject_identifier) { [INFO] [stderr] 18 | | user_id -> Nullable, [INFO] [stderr] | | ------- `user_id` is not local [INFO] [stderr] 19 | | issuer -> Text, [INFO] [stderr] 20 | | subject_identifier -> Text, [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [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_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] --> server/src/db/schema.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | sso (issuer, subject_identifier) { [INFO] [stderr] 18 | | user_id -> Nullable, [INFO] [stderr] 19 | | issuer -> Text, [INFO] [stderr] | | ------ `issuer` is not local [INFO] [stderr] 20 | | subject_identifier -> Text, [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_issuer` [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] --> server/src/db/schema.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / table! { [INFO] [stderr] 17 | | sso (issuer, subject_identifier) { [INFO] [stderr] 18 | | user_id -> Nullable, [INFO] [stderr] 19 | | issuer -> Text, [INFO] [stderr] 20 | | subject_identifier -> Text, [INFO] [stderr] | | ------------------ `subject_identifier` is not local [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_subject_identifier` [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] | | -------- `username` is not local [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] 28 | | email -> Nullable, [INFO] [stderr] | | ----- `email` is not local [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] 28 | | email -> Nullable, [INFO] [stderr] 29 | | email_verified -> Bool, [INFO] [stderr] | | -------------- `email_verified` is not local [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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_verified` [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 30 | | extra -> Jsonb, [INFO] [stderr] | | ----- `extra` is not local [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_extra` [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 31 | | token_generation -> Text, [INFO] [stderr] | | ---------------- `token_generation` is not local [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_token_generation` [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 32 | | admin -> Bool, [INFO] [stderr] | | ----- `admin` is not local [INFO] [stderr] 33 | | created_at -> Timestamptz, [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_admin` [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] --> server/src/db/schema.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / table! { [INFO] [stderr] 25 | | users (id) { [INFO] [stderr] 26 | | id -> Int4, [INFO] [stderr] 27 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 33 | | created_at -> Timestamptz, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [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: `server` (bin "server" test) generated 38 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/autha_client-00fa3df08f4e76f6) [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 unittests src/main.rs (/opt/rustwide/target/debug/deps/server-d51457d1b5dc988e) [INFO] [stderr] Doc-tests autha_client [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bea60cc2288120aaf3197fa68b1b8978e4219c5efe0ac52da24df3c79e53277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea60cc2288120aaf3197fa68b1b8978e4219c5efe0ac52da24df3c79e53277b", kill_on_drop: false }` [INFO] [stdout] bea60cc2288120aaf3197fa68b1b8978e4219c5efe0ac52da24df3c79e53277b