[INFO] cloning repository https://github.com/smswithoutborders/rusty_relaysms_payload_specs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smswithoutborders/rusty_relaysms_payload_specs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmswithoutborders%2Frusty_relaysms_payload_specs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmswithoutborders%2Frusty_relaysms_payload_specs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7b9e70e08879c903cb1ef90ed1e61e1df2f0832 [INFO] checking smswithoutborders/rusty_relaysms_payload_specs against df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmswithoutborders%2Frusty_relaysms_payload_specs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/smswithoutborders/rusty_relaysms_payload_specs [INFO] finished tweaking git repo https://github.com/smswithoutborders/rusty_relaysms_payload_specs [INFO] tweaked toml for git repo https://github.com/smswithoutborders/rusty_relaysms_payload_specs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smswithoutborders/rusty_relaysms_payload_specs on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smswithoutborders/rusty_relaysms_payload_specs 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha256 v1.6.0 [INFO] [stderr] Downloaded poly1305 v0.9.0 [INFO] [stderr] Downloaded hex-literal v1.1.0 [INFO] [stderr] Downloaded aead v0.6.0-rc.10 [INFO] [stderr] Downloaded hkdf v0.13.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.11.0-rc.3 [INFO] [stderr] Downloaded aes-gcm v0.11.0-rc.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe [INFO] running `Command { std: "docker" "start" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Checking cmov v0.5.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking cpubits v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking hex-literal v1.1.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking cipher v0.5.2 [INFO] [stderr] Checking universal-hash v0.6.1 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking aead v0.6.0-rc.10 [INFO] [stderr] Checking polyval v0.7.1 [INFO] [stderr] Checking poly1305 v0.9.0 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking ghash v0.6.0 [INFO] [stderr] Checking aes v0.9.1 [INFO] [stderr] Checking ctr v0.10.1 [INFO] [stderr] Checking hkdf v0.13.0 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking chacha20poly1305 v0.11.0-rc.3 [INFO] [stderr] Checking aes-gcm v0.11.0-rc.4 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling uniffi_internal_macros v0.31.1 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking uniffi_pipeline v0.31.1 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking sha256 v1.6.0 [INFO] [stderr] Checking uniffi_meta v0.31.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking uniffi_udl v0.31.1 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling uniffi_macros v0.31.1 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Checking askama v0.14.0 [INFO] [stderr] Checking uniffi_bindgen v0.31.1 [INFO] [stderr] Checking uniffi v0.31.1 [INFO] [stderr] Checking relaysms-specs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/contents.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AsAny` [INFO] [stdout] --> src/v1/contents.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::AsAny; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1PayloadsError` and `V1Payloads` [INFO] [stdout] --> src/v1/contents.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/contents/email.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/v1/contents/email.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsAny` [INFO] [stdout] --> src/v1/contents/email.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{bit_utils, AsAny}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/v1/contents/email.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | if(self.attachment.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if(self.attachment.is_some()) { [INFO] [stdout] 103 + if self.attachment.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/v1/contents/message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bit_utils` [INFO] [stdout] --> src/v1/contents/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bit_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Emails` [INFO] [stdout] --> src/v1/contents/message.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::email::{V1Emails}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uniffi::constructor` [INFO] [stdout] --> src/v1/contents/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uniffi::constructor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Messages` [INFO] [stdout] --> src/v1/contents/text.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::message::{V1Messages}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/contents.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AsAny` [INFO] [stdout] --> src/v1/contents.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::AsAny; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1PayloadsError` and `V1Payloads` [INFO] [stdout] --> src/v1/contents.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/contents/email.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/v1/contents/email.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsAny` [INFO] [stdout] --> src/v1/contents/email.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{bit_utils, AsAny}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/v1/contents/email.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | if(self.attachment.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if(self.attachment.is_some()) { [INFO] [stdout] 103 + if self.attachment.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/v1/contents/message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bit_utils` [INFO] [stdout] --> src/v1/contents/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bit_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Emails` [INFO] [stdout] --> src/v1/contents/message.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::email::{V1Emails}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uniffi::constructor` [INFO] [stdout] --> src/v1/contents/text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uniffi::constructor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Messages` [INFO] [stdout] --> src/v1/contents/text.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::message::{V1Messages}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/payloads.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsAny` and `bit_utils` [INFO] [stdout] --> src/v1/payloads.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{bit_utils, utils, AsAny}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1ContentCategories`, `V1ContentVariation`, and `V1ContentsContainer` [INFO] [stdout] --> src/v1/payloads.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::contents::{V1ContentCategories, V1ContentError, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::message::V1Messages` [INFO] [stdout] --> src/v1/payloads.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::v1::contents::message::V1Messages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::text::V1Text` [INFO] [stdout] --> src/v1/payloads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::v1::contents::text::V1Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsAny` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bit_utils, v1, AsAny}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1ContentCategories` and `V1ContentVariation` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::contents::{V1ContentCategories, V1ContentVariation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Payloads` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1ContentCategories`, `V1ContentVariation`, `V1ContentsContainer`, and `V1Contents` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::{V1ContentCategories, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Payloads` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentSerializationError`, `MissingPayload`, and `VersionTooLarge` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::V1PayloadsError::{ContentSerializationError, KeyIdTooLarge, MissingPayload, VersionTooLarge}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Aead` and `Payload` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use aead::{Aead, Payload}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes_gcm::Nonce` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aes_gcm::Nonce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChaCha20Poly1305` and `KeyInit` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chacha20poly1305::{ChaCha20Poly1305, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/v1/contents.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 229 - let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] 229 + let att = rand::random::<[u8; 140*10]>().to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hkdf::Hkdf` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hkdf::Hkdf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngExt` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::Sha256` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sha2::Sha256; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PublicKey`, `SharedSecret`, and `StaticSecret` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use x25519_dalek::{PublicKey, SharedSecret, StaticSecret}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `triple_dh_decryption` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::cryptography::{v1_publishing_decrypt, v1_publishing_encryption, triple_dh_decryption, V1CryptographicError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v1/payloads.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::raw::time_t` [INFO] [stdout] --> src/v1/cryptography/requests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsAny` and `bit_utils` [INFO] [stdout] --> src/v1/payloads.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{bit_utils, utils, AsAny}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngExt` [INFO] [stdout] --> src/v1/cryptography/tokens.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::RngExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `triple_dh_decryption` [INFO] [stdout] --> src/v1/cryptography/tokens.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::cryptography::{triple_dh_decryption, V1CryptographicError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngExt` [INFO] [stdout] --> src/v1/cryptography/bridges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::RngExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_digest` [INFO] [stdout] --> src/v1/cryptography/bridges.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, try_digest}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/v1/transports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v1/transports.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/v1/transports.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::get_version` [INFO] [stdout] --> src/v1/transports.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::get_version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1PayloadWithAttachmentsHeader` and `V1PayloadWithAttachmentsNoHeader` [INFO] [stdout] --> src/v1/transports.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::payload_with_attachments::{V1PayloadWithAttachmentsHeader, V1PayloadWithAttachmentsNoHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1PayloadsError` [INFO] [stdout] --> src/v1/transports.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::payloads::{V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::payloads::V1PayloadsError::PayloadTooLarge` [INFO] [stdout] --> src/v1/transports.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::payloads::V1PayloadsError::PayloadTooLarge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1ContentVariation` [INFO] [stdout] --> src/v1/payloads.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::contents::{V1ContentCategories, V1ContentError, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::message::V1Messages` [INFO] [stdout] --> src/v1/payloads.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::v1::contents::message::V1Messages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::text::V1Text` [INFO] [stdout] --> src/v1/payloads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::v1::contents::text::V1Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsAny` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{bit_utils, v1, AsAny}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1ContentCategories` and `V1ContentVariation` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::contents::{V1ContentCategories, V1ContentVariation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Payloads` [INFO] [stdout] --> src/v1/payloads/payload_with_attachments.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::contents::email::V1Emails` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v1::contents::email::V1Emails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1ContentCategories`, `V1ContentVariation`, `V1ContentsContainer`, and `V1Contents` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::v1::contents::{V1ContentCategories, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Payloads` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::payloads::{V1Payloads, V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentSerializationError`, `MissingPayload`, and `VersionTooLarge` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::V1PayloadsError::{ContentSerializationError, KeyIdTooLarge, MissingPayload, VersionTooLarge}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/v1/payloads.rs:397:35 [INFO] [stdout] | [INFO] [stdout] 397 | let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] 397 + let att = rand::random::<[u8; 140*10]>().to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/v1/payloads.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - let att = rand::random::<[u8; (140*10)]>().to_vec(); [INFO] [stdout] 447 + let att = rand::random::<[u8; 140*10]>().to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Aead` and `Payload` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use aead::{Aead, Payload}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes_gcm::Nonce` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aes_gcm::Nonce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChaCha20Poly1305` and `KeyInit` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chacha20poly1305::{ChaCha20Poly1305, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hkdf::Hkdf` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hkdf::Hkdf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::Sha256` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sha2::Sha256; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SharedSecret` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use x25519_dalek::{PublicKey, SharedSecret, StaticSecret}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `triple_dh_decryption` [INFO] [stdout] --> src/v1/cryptography/platforms.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::cryptography::{v1_publishing_decrypt, v1_publishing_encryption, triple_dh_decryption, V1CryptographicError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::raw::time_t` [INFO] [stdout] --> src/v1/cryptography/requests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `triple_dh_decryption` [INFO] [stdout] --> src/v1/cryptography/tokens.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::cryptography::{triple_dh_decryption, V1CryptographicError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_digest` [INFO] [stdout] --> src/v1/cryptography/bridges.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, try_digest}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/v1/transports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v1/transports.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/v1/transports.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::get_version` [INFO] [stdout] --> src/v1/transports.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v1::get_version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V1PayloadWithAttachmentsHeader` and `V1PayloadWithAttachmentsNoHeader` [INFO] [stdout] --> src/v1/transports.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v1::payloads::payload_with_attachments::{V1PayloadWithAttachmentsHeader, V1PayloadWithAttachmentsNoHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1PayloadsError` [INFO] [stdout] --> src/v1/transports.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::v1::payloads::{V1PayloadsError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v1::payloads::V1PayloadsError::PayloadTooLarge` [INFO] [stdout] --> src/v1/transports.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::payloads::V1PayloadsError::PayloadTooLarge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/v1/cryptography/requests.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/v1/cryptography/requests.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Contents` [INFO] [stdout] --> src/v1/payloads.rs:8:84 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::contents::{V1ContentCategories, V1ContentError, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/contents.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | Err(e) => Err(V1ContentError::ErrorSerializingForStorage) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/contents.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => Err(V1ContentError::ErrorDeserializingForStorage) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len_att` [INFO] [stdout] --> src/v1/contents.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let len_att = att.len() as u16; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_att` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sess_id` [INFO] [stdout] --> src/v1/contents.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let sess_id: u8 = 15; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sess_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_id` [INFO] [stdout] --> src/v1/contents.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let k_id: u8 = 13; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_k_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_id` [INFO] [stdout] --> src/v1/contents.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let t_id: Option = Option::from(255); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_t_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VERSION` [INFO] [stdout] | [INFO] [stdout] 67 - let version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] 67 + let v1::VERSION = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | let _version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_att` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let i_att = bit_utils::is_bit_on(&data[0], 4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_att` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/payloads.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | Err(e) => Err(V1PayloadsError::PayloadSerializationError) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/payloads.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | Err(e) => Err(V1PayloadsError::PayloadSerializationError) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography/tokens.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 88 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | Ok(T) => T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | Err(T) => return Err(T), [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | Ok(T) => T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | Err(T) => return Err(T), [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1Contents` [INFO] [stdout] --> src/v1/payloads.rs:8:84 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::v1::contents::{V1ContentCategories, V1ContentError, V1ContentVariation, V1Contents, V1ContentsContainer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/contents.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | Err(e) => Err(V1ContentError::ErrorSerializingForStorage) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/contents.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | Err(e) => Err(V1ContentError::ErrorDeserializingForStorage) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VERSION` [INFO] [stdout] | [INFO] [stdout] 67 - let version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] 67 + let v1::VERSION = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 67 | let _version = bit_utils::get_bits(&data[0], 0, 2); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_att` [INFO] [stdout] --> src/v1/payloads/payload_without_attachment.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let i_att = bit_utils::is_bit_on(&data[0], 4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_att` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/payloads.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | Err(e) => Err(V1PayloadsError::PayloadSerializationError) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/v1/payloads.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | Err(e) => Err(V1PayloadsError::PayloadSerializationError) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography/tokens.rs:17:53 [INFO] [stdout] | [INFO] [stdout] 17 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 88 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/v1/cryptography.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | let con_dh_dh1: [u8; 64] = std::array::from_fn(|i| { iter.next().unwrap() }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | Ok(T) => T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | Err(T) => return Err(T), [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | Ok(T) => T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/v1/payloads.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | Err(T) => return Err(T), [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe", kill_on_drop: false }` [INFO] [stdout] b87c58750d930fb0bdea70fd3a2d46fa15c22d9008d28c019b1d53a77626cfbe