[INFO] fetching crate smmo-api 0.1.0... [INFO] testing smmo-api-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate smmo-api 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate smmo-api 0.1.0 [INFO] finished tweaking crates.io crate smmo-api 0.1.0 [INFO] tweaked toml for crates.io crate smmo-api 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smmo-api 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 675c9bf2c9270d332c1969d2aef30b5d44a9ca836a317b3e44dc6cb46b36b438 [INFO] running `Command { std: "docker" "start" "-a" "675c9bf2c9270d332c1969d2aef30b5d44a9ca836a317b3e44dc6cb46b36b438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "675c9bf2c9270d332c1969d2aef30b5d44a9ca836a317b3e44dc6cb46b36b438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675c9bf2c9270d332c1969d2aef30b5d44a9ca836a317b3e44dc6cb46b36b438", kill_on_drop: false }` [INFO] [stdout] 675c9bf2c9270d332c1969d2aef30b5d44a9ca836a317b3e44dc6cb46b36b438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a1218763fed3935cfabae9ce9d479def36213d4385c4e5054dd6802ba04b56c [INFO] running `Command { std: "docker" "start" "-a" "5a1218763fed3935cfabae9ce9d479def36213d4385c4e5054dd6802ba04b56c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling smmo-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/custom_serde/date_time_option.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utc.datetime_from_str(&s, FORMAT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn serialize_option_datefmt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORMAT` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const FORMAT: &str = "%Y-%m-%d %H:%M:%S"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn datefmt<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn deserialize_option_datefmt<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_amount`, `max_amount`, and `recent_donators` are never read [INFO] [stdout] --> src/models/orphanage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Orphanage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | current_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | max_amount: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | recent_donators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orphanage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `amount`, and `created_at` are never read [INFO] [stdout] --> src/models/orphanage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecentDonator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | user_id: UserId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecentDonator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayer` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct SmmoPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/smmo_player.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct UserId(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayerGuild` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct SmmoPlayerGuild { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.99s [INFO] running `Command { std: "docker" "inspect" "5a1218763fed3935cfabae9ce9d479def36213d4385c4e5054dd6802ba04b56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1218763fed3935cfabae9ce9d479def36213d4385c4e5054dd6802ba04b56c", kill_on_drop: false }` [INFO] [stdout] 5a1218763fed3935cfabae9ce9d479def36213d4385c4e5054dd6802ba04b56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc5d7f8c5c6e764a72c7faf3cc1ff0e07fe61e1c059466c0ae181d0ef50e106c [INFO] running `Command { std: "docker" "start" "-a" "bc5d7f8c5c6e764a72c7faf3cc1ff0e07fe61e1c059466c0ae181d0ef50e106c", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/custom_serde/date_time_option.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utc.datetime_from_str(&s, FORMAT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn serialize_option_datefmt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORMAT` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const FORMAT: &str = "%Y-%m-%d %H:%M:%S"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn datefmt<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn deserialize_option_datefmt<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_amount`, `max_amount`, and `recent_donators` are never read [INFO] [stdout] --> src/models/orphanage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Orphanage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | current_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | max_amount: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | recent_donators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orphanage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `amount`, and `created_at` are never read [INFO] [stdout] --> src/models/orphanage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecentDonator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | user_id: UserId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecentDonator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayer` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct SmmoPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/smmo_player.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct UserId(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayerGuild` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct SmmoPlayerGuild { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smmo-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/custom_serde/date_time_option.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utc.datetime_from_str(&s, FORMAT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn serialize_option_datefmt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORMAT` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const FORMAT: &str = "%Y-%m-%d %H:%M:%S"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn datefmt<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_option_datefmt` is never used [INFO] [stdout] --> src/custom_serde/date_time_option.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn deserialize_option_datefmt<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_amount`, `max_amount`, and `recent_donators` are never read [INFO] [stdout] --> src/models/orphanage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Orphanage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | current_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | max_amount: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | recent_donators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orphanage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `amount`, and `created_at` are never read [INFO] [stdout] --> src/models/orphanage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RecentDonator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | user_id: UserId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecentDonator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayer` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct SmmoPlayer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/smmo_player.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct UserId(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmmoPlayerGuild` is never constructed [INFO] [stdout] --> src/models/smmo_player.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct SmmoPlayerGuild { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "bc5d7f8c5c6e764a72c7faf3cc1ff0e07fe61e1c059466c0ae181d0ef50e106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc5d7f8c5c6e764a72c7faf3cc1ff0e07fe61e1c059466c0ae181d0ef50e106c", kill_on_drop: false }` [INFO] [stdout] bc5d7f8c5c6e764a72c7faf3cc1ff0e07fe61e1c059466c0ae181d0ef50e106c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e74bda6aa83e2bdf01c6b50f5e2dc81d965acdb5e080f13bf6913a2d9e1ea5ce [INFO] running `Command { std: "docker" "start" "-a" "e74bda6aa83e2bdf01c6b50f5e2dc81d965acdb5e080f13bf6913a2d9e1ea5ce", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stderr] --> src/custom_serde/date_time_option.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Utc.datetime_from_str(&s, FORMAT) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `serialize_option_datefmt` is never used [INFO] [stderr] --> src/custom_serde/date_time_option.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn serialize_option_datefmt( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `FORMAT` is never used [INFO] [stderr] --> src/custom_serde/date_time_option.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const FORMAT: &str = "%Y-%m-%d %H:%M:%S"; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `datefmt` is never used [INFO] [stderr] --> src/custom_serde/date_time_option.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn datefmt<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deserialize_option_datefmt` is never used [INFO] [stderr] --> src/custom_serde/date_time_option.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn deserialize_option_datefmt<'de, D>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `current_amount`, `max_amount`, and `recent_donators` are never read [INFO] [stderr] --> src/models/orphanage.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Orphanage { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 8 | current_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 9 | max_amount: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 10 | recent_donators: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Orphanage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `user_id`, `amount`, and `created_at` are never read [INFO] [stderr] --> src/models/orphanage.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RecentDonator { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 15 | user_id: UserId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | amount: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 17 | created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RecentDonator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `SmmoPlayer` is never constructed [INFO] [stderr] --> src/models/smmo_player.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) struct SmmoPlayer { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/models/smmo_player.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct UserId(u32); [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `UserId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `SmmoPlayerGuild` is never constructed [INFO] [stderr] --> src/models/smmo_player.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) struct SmmoPlayerGuild { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `smmo-api` (lib) generated 10 warnings [INFO] [stderr] warning: `smmo-api` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smmo_api-127fafab2a51a156) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests smmo_api [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e74bda6aa83e2bdf01c6b50f5e2dc81d965acdb5e080f13bf6913a2d9e1ea5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74bda6aa83e2bdf01c6b50f5e2dc81d965acdb5e080f13bf6913a2d9e1ea5ce", kill_on_drop: false }` [INFO] [stdout] e74bda6aa83e2bdf01c6b50f5e2dc81d965acdb5e080f13bf6913a2d9e1ea5ce