[INFO] cloning repository https://github.com/jadevelopmentgrp/Ticket-Workspace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jadevelopmentgrp/Ticket-Workspace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadevelopmentgrp%2FTicket-Workspace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadevelopmentgrp%2FTicket-Workspace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 071f0e006966af62be484a8921a3bbe81034db6f [INFO] checking jadevelopmentgrp/Ticket-Workspace/071f0e006966af62be484a8921a3bbe81034db6f against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadevelopmentgrp%2FTicket-Workspace" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/jadevelopmentgrp/Ticket-Workspace [INFO] finished tweaking git repo https://github.com/jadevelopmentgrp/Ticket-Workspace [INFO] tweaked toml for git repo https://github.com/jadevelopmentgrp/Ticket-Workspace written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jadevelopmentgrp/Ticket-Workspace on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jadevelopmentgrp/Ticket-Workspace 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-rename-rule v0.2.2 [INFO] [stderr] Downloaded serde-enum-str v0.4.0 [INFO] [stderr] Downloaded deadpool-postgres v0.10.5 [INFO] [stderr] Downloaded serde-attributes v0.2.1 [INFO] [stderr] Downloaded bb8-postgres v0.8.1 [INFO] [stderr] Downloaded rdkafka v0.25.0 [INFO] [stderr] Downloaded libz-sys v1.1.18 [INFO] [stderr] Downloaded rdkafka-sys v3.0.0+1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d516dedad97fd642d58e354723f87db021ae66750ee75ac504ef3d32405dec1 [INFO] running `Command { std: "docker" "start" "-a" "4d516dedad97fd642d58e354723f87db021ae66750ee75ac504ef3d32405dec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d516dedad97fd642d58e354723f87db021ae66750ee75ac504ef3d32405dec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d516dedad97fd642d58e354723f87db021ae66750ee75ac504ef3d32405dec1", kill_on_drop: false }` [INFO] [stdout] 4d516dedad97fd642d58e354723f87db021ae66750ee75ac504ef3d32405dec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6842e35bba9d96b5fde571000e09512a7b14da9955fb2822ead601e6bf7a6c [INFO] running `Command { std: "docker" "start" "-a" "7e6842e35bba9d96b5fde571000e09512a7b14da9955fb2822ead601e6bf7a6c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking backoff v0.3.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking model v0.1.0 (/opt/rustwide/workdir/model) [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling rdkafka-sys v3.0.0+1.6.0 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> model/src/user/activity_type.rs:6:63 [INFO] [stdout] | [INFO] [stdout] 6 | Serialize_repr, Deserialize_repr, Copy, Clone, Debug, Eq, FromPrimitive, PartialEq, Hash, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ActivityType` [INFO] [stdout] ... [INFO] [stdout] 9 | pub enum ActivityType { [INFO] [stdout] | ------------ `ActivityType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cache v0.1.0 (/opt/rustwide/workdir/cache) [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.39 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mimalloc v0.1.43 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio-tungstenite v0.17.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking axum v0.5.17 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking global-resolver v0.1.0 (/opt/rustwide/workdir/global-resolver) [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking deadpool-postgres v0.10.5 [INFO] [stderr] Checking redis v0.22.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking bb8 v0.8.5 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking bb8-postgres v0.8.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking database v0.1.0 (/opt/rustwide/workdir/database) [INFO] [stderr] Compiling serde-rename-rule v0.2.2 [INFO] [stderr] Compiling serde-attributes v0.2.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking image-proxy v0.1.0 (/opt/rustwide/workdir/image-proxy) [INFO] [stderr] Checking http-gateway v0.1.0 (/opt/rustwide/workdir/http-gateway) [INFO] [stderr] Checking vote_listener v0.1.0 (/opt/rustwide/workdir/vote_listener) [INFO] [stderr] Compiling serde-enum-str v0.4.0 [INFO] [stderr] Checking secure-proxy v0.1.0 (/opt/rustwide/workdir/secure-proxy) [INFO] [stderr] Checking bot_list_updater v0.1.0 (/opt/rustwide/workdir/bot-list-updater) [INFO] [stderr] Checking deadpool-redis v0.11.1 [INFO] [stderr] Checking patreon-proxy v0.1.0 (/opt/rustwide/workdir/patreon-proxy) [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> patreon-proxy/src/database/database.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | DateTime::::from_utc(NaiveDateTime::from_timestamp(tokens.expires, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> patreon-proxy/src/database/database.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | DateTime::::from_utc(NaiveDateTime::from_timestamp(tokens.expires, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> patreon-proxy/src/database/database.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | DateTime::::from_utc(NaiveDateTime::from_timestamp(tokens.expires, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> patreon-proxy/src/database/database.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | DateTime::::from_utc(NaiveDateTime::from_timestamp(tokens.expires, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking stats-channel-updater v0.1.0 (/opt/rustwide/workdir/stats-channel-updater) [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> stats-channel-updater/src/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `success` is never read [INFO] [stdout] --> stats-channel-updater/src/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking server_counter v0.1.0 (/opt/rustwide/workdir/server-counter) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> model/src/user/activity_type.rs:6:63 [INFO] [stdout] | [INFO] [stdout] 6 | Serialize_repr, Deserialize_repr, Copy, Clone, Debug, Eq, FromPrimitive, PartialEq, Hash, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ActivityType` [INFO] [stdout] ... [INFO] [stdout] 9 | pub enum ActivityType { [INFO] [stdout] | ------------ `ActivityType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rdkafka v0.25.0 [INFO] [stderr] Checking event-stream v0.1.0 (/opt/rustwide/workdir/event-stream) [INFO] [stderr] Checking sharder v0.1.0 (/opt/rustwide/workdir/sharder) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | pipeline.query_async(&mut conn).await?; [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] 167 | pipeline.query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pipeline.query_async(&mut conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 190 | pipeline.query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | conn.del(self.build_keys(shard_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 197 | conn.del::<_, ()>(self.build_keys(shard_id)).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | conn.del(keys.as_slice()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 209 | conn.del::<_, ()>(keys.as_slice()).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | pipeline.query_async(&mut conn).await?; [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] 167 | pipeline.query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pipeline.query_async(&mut conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 190 | pipeline.query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | conn.del(self.build_keys(shard_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 197 | conn.del::<_, ()>(self.build_keys(shard_id)).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> sharder/src/gateway/session_store/redis_store.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[async_trait] [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] --> sharder/src/gateway/session_store/redis_store.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | conn.del(keys.as_slice()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 209 | conn.del::<_, ()>(keys.as_slice()).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `meets_forward_threshold` is never used [INFO] [stdout] --> sharder/src/gateway/shard.rs:719:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl Shard { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 719 | fn meets_forward_threshold(&self, event: &Event) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/dispatch.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Dispatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | #[serde(rename = "op")] [INFO] [stdout] 9 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dispatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/reconnect.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Reconnect { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reconnect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/invalid_session.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InvalidSession { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/hello.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Hello { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hello` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/heartbeat_ack.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HeartbeatAck { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeartbeatAck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cache-sync-service v0.1.0 (/opt/rustwide/workdir/cache-sync-service) [INFO] [stdout] warning: method `meets_forward_threshold` is never used [INFO] [stdout] --> sharder/src/gateway/shard.rs:719:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl Shard { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 719 | fn meets_forward_threshold(&self, event: &Event) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/dispatch.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Dispatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | #[serde(rename = "op")] [INFO] [stdout] 9 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dispatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/reconnect.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Reconnect { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reconnect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/invalid_session.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InvalidSession { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/hello.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Hello { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hello` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> sharder/src/gateway/payloads/heartbeat_ack.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HeartbeatAck { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | #[serde(rename = "op")] [INFO] [stdout] 8 | opcode: Opcode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeartbeatAck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sharder v0.1.0 (/opt/rustwide/workdir/sharder), sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "7e6842e35bba9d96b5fde571000e09512a7b14da9955fb2822ead601e6bf7a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6842e35bba9d96b5fde571000e09512a7b14da9955fb2822ead601e6bf7a6c", kill_on_drop: false }` [INFO] [stdout] 7e6842e35bba9d96b5fde571000e09512a7b14da9955fb2822ead601e6bf7a6c