[INFO] fetching crate smmo-api 0.1.0... [INFO] checking smmo-api-0.1.0 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] extracting crate smmo-api 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smmo-api 0.1.0 on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 175 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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 328cdc31fb1825046ef7a716a6af0897a05e3cc2519dda54fc79439fe421c95c [INFO] running `Command { std: "docker" "start" "-a" "328cdc31fb1825046ef7a716a6af0897a05e3cc2519dda54fc79439fe421c95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "328cdc31fb1825046ef7a716a6af0897a05e3cc2519dda54fc79439fe421c95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328cdc31fb1825046ef7a716a6af0897a05e3cc2519dda54fc79439fe421c95c", kill_on_drop: false }` [INFO] [stdout] 328cdc31fb1825046ef7a716a6af0897a05e3cc2519dda54fc79439fe421c95c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdb48b9326fcf0173fb7d18d4153d7601fdaaeababde9de76ee1c687eed84868 [INFO] running `Command { std: "docker" "start" "-a" "bdb48b9326fcf0173fb7d18d4153d7601fdaaeababde9de76ee1c687eed84868", kill_on_drop: false }` [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking 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: 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] [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 2.31s [INFO] running `Command { std: "docker" "inspect" "bdb48b9326fcf0173fb7d18d4153d7601fdaaeababde9de76ee1c687eed84868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb48b9326fcf0173fb7d18d4153d7601fdaaeababde9de76ee1c687eed84868", kill_on_drop: false }` [INFO] [stdout] bdb48b9326fcf0173fb7d18d4153d7601fdaaeababde9de76ee1c687eed84868