[INFO] fetching crate hide_my_email 0.1.3... [INFO] building hide_my_email-0.1.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate hide_my_email 0.1.3 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hide_my_email 0.1.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ff5ec04d6474e9fdc463a5455d9f7649cb667f0e5046de11c2c5ba172664a1f [INFO] running `Command { std: "docker" "start" "-a" "5ff5ec04d6474e9fdc463a5455d9f7649cb667f0e5046de11c2c5ba172664a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ff5ec04d6474e9fdc463a5455d9f7649cb667f0e5046de11c2c5ba172664a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff5ec04d6474e9fdc463a5455d9f7649cb667f0e5046de11c2c5ba172664a1f", kill_on_drop: false }` [INFO] [stdout] 5ff5ec04d6474e9fdc463a5455d9f7649cb667f0e5046de11c2c5ba172664a1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42fed9a3d75d250fcbd5546f444c9e0f0ae97202b35181b0776f2ea1cc160800 [INFO] running `Command { std: "docker" "start" "-a" "42fed9a3d75d250fcbd5546f444c9e0f0ae97202b35181b0776f2ea1cc160800", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.42s [INFO] running `Command { std: "docker" "inspect" "42fed9a3d75d250fcbd5546f444c9e0f0ae97202b35181b0776f2ea1cc160800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fed9a3d75d250fcbd5546f444c9e0f0ae97202b35181b0776f2ea1cc160800", kill_on_drop: false }` [INFO] [stdout] 42fed9a3d75d250fcbd5546f444c9e0f0ae97202b35181b0776f2ea1cc160800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b933244dc857c5de28d9145c68295b1f0a752988efb9a785ebef8942d90181c [INFO] running `Command { std: "docker" "start" "-a" "5b933244dc857c5de28d9145c68295b1f0a752988efb9a785ebef8942d90181c", kill_on_drop: false }` [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: 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] [stderr] Compiling hide_my_email v0.1.3 (/opt/rustwide/workdir) [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "5b933244dc857c5de28d9145c68295b1f0a752988efb9a785ebef8942d90181c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b933244dc857c5de28d9145c68295b1f0a752988efb9a785ebef8942d90181c", kill_on_drop: false }` [INFO] [stdout] 5b933244dc857c5de28d9145c68295b1f0a752988efb9a785ebef8942d90181c