[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] building Cryap/cryap against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryap%2Fcryap" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cryap/cryap on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/niroco/diesel_async_migrations` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded sha1_smol v1.0.0 [INFO] [stderr] Downloaded activitystreams-kinds v0.3.0 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded event-listener v5.3.0 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded darling_macro v0.14.4 [INFO] [stderr] Downloaded listenfd v1.0.1 [INFO] [stderr] Downloaded darling_core v0.14.4 [INFO] [stderr] Downloaded ignore v0.4.22 [INFO] [stderr] Downloaded raw-cpuid v11.0.1 [INFO] [stderr] Downloaded diesel v2.1.5 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] [stderr] Downloaded winnow v0.6.6 [INFO] [stderr] Downloaded tera v1.19.1 [INFO] [stderr] Downloaded toml_edit v0.22.16 [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] [stderr] Downloaded redis v0.25.3 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded svix-ksuid v0.8.0 [INFO] [stderr] Downloaded bstr v1.9.1 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded rust-embed-impl v8.3.0 [INFO] [stderr] Downloaded toml v0.8.15 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded darling v0.14.4 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded rust-embed-utils v8.3.0 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded diesel_derives v2.1.3 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded http-signature-normalization-reqwest v0.10.0 [INFO] [stderr] Downloaded rust-embed v8.3.0 [INFO] [stderr] Downloaded include-flate v0.2.0 [INFO] [stderr] Downloaded deunicode v1.4.4 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded diesel-derive-enum v2.1.0 [INFO] [stderr] Downloaded enum_delegate_lib v0.2.0 [INFO] [stderr] Downloaded base-encode v0.3.1 [INFO] [stderr] Downloaded activitypub_federation v0.5.4 [INFO] [stderr] Downloaded include-flate-codegen-exports v0.1.4 [INFO] [stderr] Downloaded shellexpand v3.1.0 [INFO] [stderr] Downloaded deadpool-runtime v0.1.3 [INFO] [stderr] Downloaded http-signature-normalization v0.7.0 [INFO] [stderr] Downloaded quanta v0.12.3 [INFO] [stderr] Downloaded reqwest-middleware v0.2.5 [INFO] [stderr] Downloaded diesel-derive-newtype v2.1.1 [INFO] [stderr] Downloaded enum_delegate v0.2.0 [INFO] [stderr] Downloaded slug v0.1.5 [INFO] [stderr] Downloaded moka v0.12.6 [INFO] [stderr] Downloaded include-flate-codegen v0.1.4 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded triomphe v0.1.11 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [INFO] [stderr] Downloaded diesel-async v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff74caa436fe9993c2b777cf09be401b16a2cffe286dc8d9156095fa69bd50e9 [INFO] running `Command { std: "docker" "start" "-a" "ff74caa436fe9993c2b777cf09be401b16a2cffe286dc8d9156095fa69bd50e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff74caa436fe9993c2b777cf09be401b16a2cffe286dc8d9156095fa69bd50e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff74caa436fe9993c2b777cf09be401b16a2cffe286dc8d9156095fa69bd50e9", kill_on_drop: false }` [INFO] [stdout] ff74caa436fe9993c2b777cf09be401b16a2cffe286dc8d9156095fa69bd50e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a122e9e14e223c1631e0182d20ddb8d1d2aeac341e14e76ce84f1451a926a2e [INFO] running `Command { std: "docker" "start" "-a" "3a122e9e14e223c1631e0182d20ddb8d1d2aeac341e14e76ce84f1451a926a2e", 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] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling deadpool-runtime v0.1.3 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling raw-cpuid v11.0.1 [INFO] [stderr] Compiling task-local-extensions v0.1.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling moka v0.12.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling diesel_async_migrations_macros v0.11.0 (https://github.com/niroco/diesel_async_migrations#6e477766) [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling http-signature-normalization v0.7.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling triomphe v0.1.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base-encode v0.3.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling deunicode v1.4.4 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling rust-embed-utils v8.3.0 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling listenfd v1.0.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling enum_delegate_lib v0.2.0 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling enum_delegate v0.2.0 [INFO] [stderr] Compiling include-flate-codegen v0.1.4 [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 openssl v0.10.64 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling include-flate-codegen-exports v0.1.4 [INFO] [stderr] Compiling include-flate v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rust-embed-impl v8.3.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling svix-ksuid v0.8.0 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling activitystreams-kinds v0.3.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling serde_with v3.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling diesel v2.1.5 [INFO] [stderr] Compiling toml v0.8.15 [INFO] [stderr] Compiling tera v1.19.1 [INFO] [stderr] Compiling rust-embed v8.3.0 [INFO] [stderr] Compiling redis v0.25.3 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-middleware v0.2.5 [INFO] [stderr] Compiling http-signature-normalization-reqwest v0.10.0 [INFO] [stderr] Compiling activitypub_federation v0.5.4 [INFO] [stderr] Compiling axum-extra v0.7.7 [INFO] [stderr] Compiling diesel-async v0.4.1 [INFO] [stderr] Compiling diesel_async_migrations v0.11.0 (https://github.com/niroco/diesel_async_migrations#6e477766) [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/crates/web) [INFO] [stderr] Compiling 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: 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: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(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] warning: 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] Compiling ap v0.1.0 (/opt/rustwide/workdir/crates/ap) [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir/crates/api) [INFO] [stderr] Compiling rpc v0.1.0 (/opt/rustwide/workdir/crates/rpc) [INFO] [stderr] Compiling cryap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: db v0.1.0 (/opt/rustwide/workdir/crates/db), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3a122e9e14e223c1631e0182d20ddb8d1d2aeac341e14e76ce84f1451a926a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a122e9e14e223c1631e0182d20ddb8d1d2aeac341e14e76ce84f1451a926a2e", kill_on_drop: false }` [INFO] [stdout] 3a122e9e14e223c1631e0182d20ddb8d1d2aeac341e14e76ce84f1451a926a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8548e97c14e2ad537f71a678551f6a8c41df0fd37a263706de17e88fe04fa9b4 [INFO] running `Command { std: "docker" "start" "-a" "8548e97c14e2ad537f71a678551f6a8c41df0fd37a263706de17e88fe04fa9b4", kill_on_drop: false }` [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: 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: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(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] warning: 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] Compiling cryap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: db v0.1.0 (/opt/rustwide/workdir/crates/db), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8548e97c14e2ad537f71a678551f6a8c41df0fd37a263706de17e88fe04fa9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8548e97c14e2ad537f71a678551f6a8c41df0fd37a263706de17e88fe04fa9b4", kill_on_drop: false }` [INFO] [stdout] 8548e97c14e2ad537f71a678551f6a8c41df0fd37a263706de17e88fe04fa9b4