[INFO] cloning repository https://github.com/jlelli/ferret [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlelli/ferret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlelli%2Fferret", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlelli%2Fferret'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e7e5edd91f334e93c3018c3a9e18ca918d861b9 [INFO] checking jlelli/ferret against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlelli%2Fferret" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jlelli/ferret [INFO] finished tweaking git repo https://github.com/jlelli/ferret [INFO] tweaked toml for git repo https://github.com/jlelli/ferret written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlelli/ferret on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jlelli/ferret 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mailparse v0.15.0 [INFO] [stderr] Downloaded charset v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a32876e5e461a043fa60dfa7a9eb0bc3906654ff6e5b18bdc5053bd2efce28a [INFO] running `Command { std: "docker" "start" "-a" "5a32876e5e461a043fa60dfa7a9eb0bc3906654ff6e5b18bdc5053bd2efce28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a32876e5e461a043fa60dfa7a9eb0bc3906654ff6e5b18bdc5053bd2efce28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a32876e5e461a043fa60dfa7a9eb0bc3906654ff6e5b18bdc5053bd2efce28a", kill_on_drop: false }` [INFO] [stdout] 5a32876e5e461a043fa60dfa7a9eb0bc3906654ff6e5b18bdc5053bd2efce28a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 907592342d770780c41d10ac3b092ec434e94e0028490fa731a332761458dac0 [INFO] running `Command { std: "docker" "start" "-a" "907592342d770780c41d10ac3b092ec434e94e0028490fa731a332761458dac0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking mailparse v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.23.0 [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] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking ferret v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Config` is never constructed [INFO] [stdout] --> src/error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FerretError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FerretError` 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: variants `PathNotFound`, `InvalidFormat`, `GitError`, and `MaildirError` are never constructed [INFO] [stdout] --> src/error.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum SourceError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | PathNotFound { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | InvalidFormat { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | MaildirError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFormat`, `MissingHeader`, `InvalidHeader`, and `PatchParse` are never constructed [INFO] [stdout] --> src/error.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | MissingHeader { header: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | InvalidHeader { header: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | PatchParse(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Corrupted` and `NeedsRebuild` are never constructed [INFO] [stdout] --> src/error.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum IndexError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | NeedsRebuild, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/sources/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `subject`, `patches_only`, and `limit` are never used [INFO] [stdout] --> src/sources/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Query { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | /// Create a new empty query [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from(mut self, email: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn subject(mut self, subject: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn patches_only(mut self, yes: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn limit(mut self, n: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MessageSource` is never used [INFO] [stdout] --> src/sources/mod.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait MessageSource: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageStore` is never constructed [INFO] [stdout] --> src/sources/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct MessageStore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_source`, `get_message`, `search`, and `sources` are never used [INFO] [stdout] --> src/sources/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl MessageStore { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 132 | /// Create a new empty message store [INFO] [stdout] 133 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn add_source(&mut self, source: impl MessageSource + 'static) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_message(&self, id: &MessageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn search(&self, query: &Query) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn sources(&self) -> &[Box] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaildirSource` is never constructed [INFO] [stdout] --> src/sources/maildir.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MaildirSource { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `list_files`, and `parse_file` are never used [INFO] [stdout] --> src/sources/maildir.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MaildirSource { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(name: impl Into, path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn list_files(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn parse_file(&self, path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicInboxSource` is never constructed [INFO] [stdout] --> src/sources/public_inbox.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PublicInboxSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open_repo`, `sync`, and `read_blob` are never used [INFO] [stdout] --> src/sources/public_inbox.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PublicInboxSource { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn open_repo(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn sync(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn read_blob(&self, oid: git2::Oid) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageId` is never constructed [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MessageId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_str` are never used [INFO] [stdout] --> src/types.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MessageId { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmailAddress` is never constructed [INFO] [stdout] --> src/types.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EmailAddress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, and `format` are never used [INFO] [stdout] --> src/types.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmailAddress { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | /// Create a new email address without a display name [INFO] [stdout] 56 | pub fn new(email: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_name(name: impl Into, email: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SourceType` is never used [INFO] [stdout] --> src/types.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum SourceType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/types.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_patch` and `series_info` are never used [INFO] [stdout] --> src/types.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 143 | /// Check if this message is a patch [INFO] [stdout] 144 | pub fn is_patch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn series_info(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeriesInfo` is never constructed [INFO] [stdout] --> src/types.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct SeriesInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl SeriesInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn parse(_subject: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Patch` is never constructed [INFO] [stdout] --> src/types.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Patch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/types.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadTree` is never constructed [INFO] [stdout] --> src/types.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct ThreadTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_child` are never used [INFO] [stdout] --> src/types.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl ThreadTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 235 | /// Create a new tree node [INFO] [stdout] 236 | pub fn new(message_id: MessageId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn add_child(&mut self, child: ThreadTree) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageMeta` is never constructed [INFO] [stdout] --> src/types.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct MessageMeta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Config` is never constructed [INFO] [stdout] --> src/error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FerretError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FerretError` 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: variants `GitError` and `MaildirError` are never constructed [INFO] [stdout] --> src/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum SourceError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | MaildirError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFormat`, `MissingHeader`, `InvalidHeader`, and `PatchParse` are never constructed [INFO] [stdout] --> src/error.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | MissingHeader { header: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | InvalidHeader { header: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | PatchParse(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Corrupted` and `NeedsRebuild` are never constructed [INFO] [stdout] --> src/error.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum IndexError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | NeedsRebuild, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexError` 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 `to`, `body`, `after`, and `before` are never read [INFO] [stdout] --> src/sources/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub to: Option, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub after: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub before: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `source_type`, `list_messages`, `get_message`, `get_thread`, `search`, and `has_message` are never used [INFO] [stdout] --> src/sources/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait MessageSource: Send + Sync { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn source_type(&self) -> crate::types::SourceType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn list_messages(&self, query: &Query) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_message(&self, id: &MessageId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_thread(&self, root_id: &MessageId) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn search(&self, query: &Query) -> Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn has_message(&self, id: &MessageId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageStore` is never constructed [INFO] [stdout] --> src/sources/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct MessageStore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_source`, `get_message`, `search`, and `sources` are never used [INFO] [stdout] --> src/sources/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl MessageStore { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 132 | /// Create a new empty message store [INFO] [stdout] 133 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn add_source(&mut self, source: impl MessageSource + 'static) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_message(&self, id: &MessageId) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn search(&self, query: &Query) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn sources(&self) -> &[Box] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_file` is never used [INFO] [stdout] --> src/sources/maildir.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl MaildirSource { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn parse_file(&self, path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `url` are never read [INFO] [stdout] --> src/sources/public_inbox.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PublicInboxSource { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_repo`, `sync`, and `read_blob` are never used [INFO] [stdout] --> src/sources/public_inbox.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl PublicInboxSource { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn open_repo(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn sync(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn read_blob(&self, oid: git2::Oid) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SourceType` is never used [INFO] [stdout] --> src/types.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum SourceType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/types.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_patch` and `series_info` are never used [INFO] [stdout] --> src/types.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 143 | /// Check if this message is a patch [INFO] [stdout] 144 | pub fn is_patch(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn series_info(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeriesInfo` is never constructed [INFO] [stdout] --> src/types.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct SeriesInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/types.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl SeriesInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn parse(_subject: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Patch` is never constructed [INFO] [stdout] --> src/types.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Patch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/types.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadTree` is never constructed [INFO] [stdout] --> src/types.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct ThreadTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_child` are never used [INFO] [stdout] --> src/types.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl ThreadTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 235 | /// Create a new tree node [INFO] [stdout] 236 | pub fn new(message_id: MessageId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn add_child(&mut self, child: ThreadTree) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageMeta` is never constructed [INFO] [stdout] --> src/types.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct MessageMeta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "907592342d770780c41d10ac3b092ec434e94e0028490fa731a332761458dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907592342d770780c41d10ac3b092ec434e94e0028490fa731a332761458dac0", kill_on_drop: false }` [INFO] [stdout] 907592342d770780c41d10ac3b092ec434e94e0028490fa731a332761458dac0