[INFO] fetching crate uhppote-rs 0.1.0... [INFO] checking uhppote-rs-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uhppote-rs 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate uhppote-rs 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uhppote-rs 0.1.0 [INFO] finished tweaking crates.io crate uhppote-rs 0.1.0 [INFO] tweaked toml for crates.io crate uhppote-rs 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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 44 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding virtue v0.0.13 (latest: v0.0.17) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 562b665345664ad026df94b2b071a8090543a4c8e33decd039a3b1a3714ba9da [INFO] running `Command { std: "docker" "start" "-a" "562b665345664ad026df94b2b071a8090543a4c8e33decd039a3b1a3714ba9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "562b665345664ad026df94b2b071a8090543a4c8e33decd039a3b1a3714ba9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562b665345664ad026df94b2b071a8090543a4c8e33decd039a3b1a3714ba9da", kill_on_drop: false }` [INFO] [stdout] 562b665345664ad026df94b2b071a8090543a4c8e33decd039a3b1a3714ba9da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a9dfdb841a4405c85d8ad7e7731434d2eff4ea40431236662abc7b9c8047468 [INFO] running `Command { std: "docker" "start" "-a" "5a9dfdb841a4405c85d8ad7e7731434d2eff4ea40431236662abc7b9c8047468", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling uhppote-derive v0.1.0 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking uhppote-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/types/time_profile.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | start: NaiveTime::from_hms(0, 0, 0), [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::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/types/time_profile.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | end: NaiveTime::from_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let date = NaiveDate::from_ymd(2019, 1, 1); [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::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let date = NaiveDate::from_ymd(2019, 1, 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let time = NaiveTime::from_hms(8, 12, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | let time = NaiveTime::from_hms(8, 12, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | let time = NaiveTime::from_hms(8, 12, 13); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let time = NaiveTime::from_hms(8, 12, 13); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/messages/utils/types.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let date = NaiveDate::from_ymd(2019, 1, 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/types/time_profile.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | start: NaiveTime::from_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/types/time_profile.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | end: NaiveTime::from_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/add_task.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AddTaskResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 104 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | _unused: u16, [INFO] [stdout] 107 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddTaskResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/clear_task_list.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ClearTaskListResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClearTaskListResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/clear_time_profiles.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ClearTimeProfilesResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 44 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | _unused: u16, [INFO] [stdout] 47 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClearTimeProfilesResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/delete_card.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DeleteCardResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteCardResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/delete_cards.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DeleteCardsResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteCardsResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/get_cards.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GetCardsResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 41 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | _unused: u16, [INFO] [stdout] 44 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetCardsResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/get_event_index.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GetEventIndexResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 41 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | _unused: u16, [INFO] [stdout] 44 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetEventIndexResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/get_listener.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct GetListenerResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 42 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | _unused: u16, [INFO] [stdout] 45 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetListenerResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/get_time.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct GetTimeResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetTimeResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/open_door.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OpenDoorResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenDoorResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/put_card.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct PutCardResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 75 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | _unused: u16, [INFO] [stdout] 78 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PutCardResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/refresh_task_list.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RefreshTaskListResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTaskListResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/set_event_index.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SetEventIndexResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 45 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | _unused: u16, [INFO] [stdout] 48 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetEventIndexResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/set_listener.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SetListenerResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 46 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | _unused: u16, [INFO] [stdout] 49 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetListenerResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/set_record_special_events.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SetRecordSpecialEventsResponse { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | _unused: u16, [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRecordSpecialEventsResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/set_time.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SetTimeResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 45 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | _unused: u16, [INFO] [stdout] 48 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetTimeResponse` 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 `header`, `message_type`, and `device_id` are never read [INFO] [stdout] --> src/messages/set_time_profile.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct SetTimeProfileResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 115 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 116 | pub message_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 117 | _unused: u16, [INFO] [stdout] 118 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetTimeProfileResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/messages/utils/request.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Request { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|r| r.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uhppote-rs` (lib) due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/messages/add_task.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AddTaskResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 104 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddTaskResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/messages/clear_task_list.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ClearTaskListResponse { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClearTaskListResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/clear_time_profiles.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ClearTimeProfilesResponse { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 44 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClearTimeProfilesResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/delete_card.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DeleteCardResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteCardResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/delete_cards.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DeleteCardsResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteCardsResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/get_cards.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GetCardsResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 41 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetCardsResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/get_event_index.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GetEventIndexResponse { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 41 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetEventIndexResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/get_listener.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct GetListenerResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 42 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetListenerResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/get_time.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct GetTimeResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetTimeResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/open_door.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OpenDoorResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenDoorResponse` 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 `header` and `device_id` are never read [INFO] [stdout] --> src/messages/put_card.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct PutCardResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 75 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PutCardResponse` 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 `header` and `device_id` are never read [INFO] [stdout] --> src/messages/refresh_task_list.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RefreshTaskListResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTaskListResponse` 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 `header` and `device_id` are never read [INFO] [stdout] --> src/messages/set_event_index.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SetEventIndexResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 45 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetEventIndexResponse` 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 `header` and `device_id` are never read [INFO] [stdout] --> src/messages/set_listener.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SetListenerResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 46 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetListenerResponse` 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 `header` and `device_id` are never read [INFO] [stdout] --> src/messages/set_record_special_events.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SetRecordSpecialEventsResponse { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 43 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub device_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRecordSpecialEventsResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/set_time.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SetTimeResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 45 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetTimeResponse` 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 `header` is never read [INFO] [stdout] --> src/messages/set_time_profile.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct SetTimeProfileResponse { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 115 | pub header: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetTimeProfileResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/messages/utils/request.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Request { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn get_id(&self) -> u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|r| r.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uhppote-rs` (lib test) due to 2 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a9dfdb841a4405c85d8ad7e7731434d2eff4ea40431236662abc7b9c8047468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9dfdb841a4405c85d8ad7e7731434d2eff4ea40431236662abc7b9c8047468", kill_on_drop: false }` [INFO] [stdout] 5a9dfdb841a4405c85d8ad7e7731434d2eff4ea40431236662abc7b9c8047468