[INFO] cloning repository https://github.com/Cryap/cryap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cryap/cryap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryap%2Fcryap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryap%2Fcryap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f612645fe0e3531210bf34c1d6691fd9e0cb34a6 [INFO] checking Cryap/cryap against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryap%2Fcryap" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Cryap/cryap [INFO] finished tweaking git repo https://github.com/Cryap/cryap [INFO] tweaked toml for git repo https://github.com/Cryap/cryap written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cryap/cryap on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Cryap/cryap 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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc77150d9d2b60e51151b285b9acd5543fa45fab552c039e240af8494a235610 [INFO] running `Command { std: "docker" "start" "-a" "cc77150d9d2b60e51151b285b9acd5543fa45fab552c039e240af8494a235610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc77150d9d2b60e51151b285b9acd5543fa45fab552c039e240af8494a235610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc77150d9d2b60e51151b285b9acd5543fa45fab552c039e240af8494a235610", kill_on_drop: false }` [INFO] [stdout] cc77150d9d2b60e51151b285b9acd5543fa45fab552c039e240af8494a235610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e1e53ecfb06a535a6c92c1b6a56ef43c04bac0fda5b6223b1d279bf9d0376f [INFO] running `Command { std: "docker" "start" "-a" "86e1e53ecfb06a535a6c92c1b6a56ef43c04bac0fda5b6223b1d279bf9d0376f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling diesel_async_migrations_macros v0.11.0 (https://github.com/niroco/diesel_async_migrations#6e477766) [INFO] [stderr] Checking raw-cpuid v11.0.1 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Compiling moka v0.12.6 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking base-encode v0.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking http-signature-normalization v0.7.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking deunicode v1.4.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rust-embed-utils v8.3.0 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking listenfd v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling diesel-derive-newtype v2.1.1 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling enum_delegate_lib v0.2.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling rust-embed-impl v8.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking pest v2.7.9 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling enum_delegate v0.2.0 [INFO] [stderr] Compiling include-flate-codegen v0.1.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking include-flate-codegen-exports v0.1.4 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking include-flate v0.2.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking svix-ksuid v0.8.0 [INFO] [stderr] Checking serde_html_form v0.2.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking activitystreams-kinds v0.3.0 [INFO] [stderr] Checking diesel v2.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking rust-embed v8.3.0 [INFO] [stderr] Checking redis v0.25.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqwest-middleware v0.2.5 [INFO] [stderr] Checking http-signature-normalization-reqwest v0.10.0 [INFO] [stderr] Checking activitypub_federation v0.5.4 [INFO] [stderr] Checking axum-extra v0.7.7 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking diesel_async_migrations v0.11.0 (https://github.com/niroco/diesel_async_migrations#6e477766) [INFO] [stderr] Checking web v0.1.0 (/opt/rustwide/workdir/crates/web) [INFO] [stderr] Checking db v0.1.0 (/opt/rustwide/workdir/crates/db) [INFO] [stdout] warning: unused import: `post_boost` [INFO] [stdout] --> crates/db/src/models/user.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | bookmarks, post_boost, post_like, posts, user_follow_requests, user_followers, users, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_boost` [INFO] [stdout] --> crates/db/src/models/user.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | bookmarks, post_boost, post_like, posts, user_follow_requests, user_followers, users, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / pub async fn create( [INFO] [stdout] 17 | | client_id: String, [INFO] [stdout] 18 | | user_id: DbId, [INFO] [stdout] 19 | | redis: &mut ConnectionManager, [INFO] [stdout] 20 | | ) -> anyhow::Result { [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 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 25 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] 26 | &key, [INFO] [stdout] ... [INFO] [stdout] 34 | [INFO] [stdout] 35 ~ redis.expire::<_, ()>(&key, 60).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn delete(&self, redis: &mut ConnectionManager) -> anyhow::Result<()> { [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 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | redis.del(format!("codes:{}", self.code)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 70 | redis.del::<_, ()>(format!("codes:{}", self.code)).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / pub async fn create( [INFO] [stdout] 17 | | client_id: String, [INFO] [stdout] 18 | | user_id: DbId, [INFO] [stdout] 19 | | redis: &mut ConnectionManager, [INFO] [stdout] 20 | | ) -> anyhow::Result { [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 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 25 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] 26 | &key, [INFO] [stdout] ... [INFO] [stdout] 34 | [INFO] [stdout] 35 ~ redis.expire::<_, ()>(&key, 60).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn delete(&self, redis: &mut ConnectionManager) -> anyhow::Result<()> { [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 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/db/src/models/redirect_code.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | redis.del(format!("codes:{}", self.code)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 70 | redis.del::<_, ()>(format!("codes:{}", self.code)).await?; [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] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromSql` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db` (lib) due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromSql` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/db/src/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(DieselNewType, Debug, Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DIESEL_NEW_TYPE_FOR_DBID` [INFO] [stdout] 8 | pub struct DbId(String); [INFO] [stdout] | ---- `DbId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNewType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86e1e53ecfb06a535a6c92c1b6a56ef43c04bac0fda5b6223b1d279bf9d0376f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e1e53ecfb06a535a6c92c1b6a56ef43c04bac0fda5b6223b1d279bf9d0376f", kill_on_drop: false }` [INFO] [stdout] 86e1e53ecfb06a535a6c92c1b6a56ef43c04bac0fda5b6223b1d279bf9d0376f