[INFO] fetching crate hide_my_email 0.1.3... [INFO] building hide_my_email-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate hide_my_email 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hide_my_email 0.1.3 [INFO] finished tweaking crates.io crate hide_my_email 0.1.3 [INFO] tweaked toml for crates.io crate hide_my_email 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hide_my_email 0.1.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6e5ece1a523ea57f38db4238bc22ca1a04ae8ca0205bc811dccc0b08a2b664f [INFO] running `Command { std: "docker" "start" "-a" "e6e5ece1a523ea57f38db4238bc22ca1a04ae8ca0205bc811dccc0b08a2b664f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6e5ece1a523ea57f38db4238bc22ca1a04ae8ca0205bc811dccc0b08a2b664f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e5ece1a523ea57f38db4238bc22ca1a04ae8ca0205bc811dccc0b08a2b664f", kill_on_drop: false }` [INFO] [stdout] e6e5ece1a523ea57f38db4238bc22ca1a04ae8ca0205bc811dccc0b08a2b664f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f6cad41e545b4b536043767670c14996a7e437a7a8019e65a1e03f518fcd03 [INFO] running `Command { std: "docker" "start" "-a" "55f6cad41e545b4b536043767670c14996a7e437a7a8019e65a1e03f518fcd03", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hide_my_email v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ParseCookieError` is never constructed [INFO] [stdout] --> src/lib.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | struct ParseCookieError<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/lib.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl Cookie { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 191 | // Only supports name=value; [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | struct HMEResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 220 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEResponse` 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 `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct HMEListResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 226 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 227 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 242 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 243 | #[serde(rename = "anonymousId")] [INFO] [stdout] 244 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 246 | hme: String, [INFO] [stdout] 247 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 248 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 249 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 250 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEReserveResult` 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 `forward_to_emails`, `hme_emails`, and `selected_forward_to` are never read [INFO] [stdout] --> src/lib.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 258 | #[serde(rename = "forwardToEmails")] [INFO] [stdout] 259 | forward_to_emails: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 260 | #[serde(rename = "hmeEmails")] [INFO] [stdout] 261 | hme_emails: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | #[serde(rename = "selectedForwardTo")] [INFO] [stdout] 263 | selected_forward_to: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct HMEListEmails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 267 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | #[serde(rename = "anonymousId")] [INFO] [stdout] 269 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 270 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 271 | #[serde(rename = "forwardToEmail")] [INFO] [stdout] 272 | forward_to_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | hme: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 274 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 275 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 276 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 277 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | #[serde(rename = "isActive")] [INFO] [stdout] 279 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 280 | #[serde(rename = "recipientMailId")] [INFO] [stdout] 281 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListEmails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEReserveResult` is more private than the item `HideMyEmailManager::claim` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn claim(&self, email: &str, label: &str, note: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::claim` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEReserveResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEListResult` is more private than the item `HideMyEmailManager::list` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn list(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEListResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.18s [INFO] running `Command { std: "docker" "inspect" "55f6cad41e545b4b536043767670c14996a7e437a7a8019e65a1e03f518fcd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f6cad41e545b4b536043767670c14996a7e437a7a8019e65a1e03f518fcd03", kill_on_drop: false }` [INFO] [stdout] 55f6cad41e545b4b536043767670c14996a7e437a7a8019e65a1e03f518fcd03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ab5f6949832e063e4469772ec845eeea038e7108847b9d434687552e160a0a [INFO] running `Command { std: "docker" "start" "-a" "31ab5f6949832e063e4469772ec845eeea038e7108847b9d434687552e160a0a", kill_on_drop: false }` [INFO] [stdout] warning: struct `ParseCookieError` is never constructed [INFO] [stdout] --> src/lib.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | struct ParseCookieError<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/lib.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl Cookie { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 191 | // Only supports name=value; [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | struct HMEResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 220 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEResponse` 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 `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct HMEListResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 226 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 227 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hide_my_email v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 242 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 243 | #[serde(rename = "anonymousId")] [INFO] [stdout] 244 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 246 | hme: String, [INFO] [stdout] 247 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 248 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 249 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 250 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEReserveResult` 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 `forward_to_emails`, `hme_emails`, and `selected_forward_to` are never read [INFO] [stdout] --> src/lib.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 258 | #[serde(rename = "forwardToEmails")] [INFO] [stdout] 259 | forward_to_emails: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 260 | #[serde(rename = "hmeEmails")] [INFO] [stdout] 261 | hme_emails: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | #[serde(rename = "selectedForwardTo")] [INFO] [stdout] 263 | selected_forward_to: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct HMEListEmails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 267 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | #[serde(rename = "anonymousId")] [INFO] [stdout] 269 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 270 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 271 | #[serde(rename = "forwardToEmail")] [INFO] [stdout] 272 | forward_to_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | hme: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 274 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 275 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 276 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 277 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | #[serde(rename = "isActive")] [INFO] [stdout] 279 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 280 | #[serde(rename = "recipientMailId")] [INFO] [stdout] 281 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListEmails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEReserveResult` is more private than the item `HideMyEmailManager::claim` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn claim(&self, email: &str, label: &str, note: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::claim` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEReserveResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEListResult` is more private than the item `HideMyEmailManager::list` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn list(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEListResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | struct HMEResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 220 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn from_str(s: &str) -> Result, ParseCookieError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct HMEListResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 226 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 227 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 242 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 243 | #[serde(rename = "anonymousId")] [INFO] [stdout] 244 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 246 | hme: String, [INFO] [stdout] 247 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 248 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 249 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 250 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEReserveResult` 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 `forward_to_emails` and `selected_forward_to` are never read [INFO] [stdout] --> src/lib.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 258 | #[serde(rename = "forwardToEmails")] [INFO] [stdout] 259 | forward_to_emails: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | selected_forward_to: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | struct HMEListEmails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 267 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | #[serde(rename = "anonymousId")] [INFO] [stdout] 269 | anonymous_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 270 | domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 271 | #[serde(rename = "forwardToEmail")] [INFO] [stdout] 272 | forward_to_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | hme: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 274 | label: String, [INFO] [stdout] 275 | note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 276 | #[serde(rename = "createTimestamp")] [INFO] [stdout] 277 | create_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | #[serde(rename = "isActive")] [INFO] [stdout] 279 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 280 | #[serde(rename = "recipientMailId")] [INFO] [stdout] 281 | recipient_mail_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HMEListEmails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEReserveResult` is more private than the item `HideMyEmailManager::claim` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn claim(&self, email: &str, label: &str, note: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::claim` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEReserveResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | struct HMEReserveResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HMEListResult` is more private than the item `HideMyEmailManager::list` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn list(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `HideMyEmailManager::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HMEListResult` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | struct HMEListResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "31ab5f6949832e063e4469772ec845eeea038e7108847b9d434687552e160a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ab5f6949832e063e4469772ec845eeea038e7108847b9d434687552e160a0a", kill_on_drop: false }` [INFO] [stdout] 31ab5f6949832e063e4469772ec845eeea038e7108847b9d434687552e160a0a