[INFO] cloning repository https://github.com/aoprisan/tutils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aoprisan/tutils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoprisan%2Ftutils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoprisan%2Ftutils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5cc4babff1cd7acaea153c71bd33b560b1fcf1b [INFO] testing aoprisan/tutils against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoprisan%2Ftutils" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/aoprisan/tutils [INFO] finished tweaking git repo https://github.com/aoprisan/tutils [INFO] tweaked toml for git repo https://github.com/aoprisan/tutils written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aoprisan/tutils on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aoprisan/tutils 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29258c7e57837fe9c9cc000f63a28c398a6503692f5e842688f341a3b18e7162 [INFO] running `Command { std: "docker" "start" "-a" "29258c7e57837fe9c9cc000f63a28c398a6503692f5e842688f341a3b18e7162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29258c7e57837fe9c9cc000f63a28c398a6503692f5e842688f341a3b18e7162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29258c7e57837fe9c9cc000f63a28c398a6503692f5e842688f341a3b18e7162", kill_on_drop: false }` [INFO] [stdout] 29258c7e57837fe9c9cc000f63a28c398a6503692f5e842688f341a3b18e7162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 9a3d117929b29a0b1f5afdfae31aa3c023e18109949414fe79d30d5ab684f827 [INFO] running `Command { std: "docker" "start" "-a" "9a3d117929b29a0b1f5afdfae31aa3c023e18109949414fe79d30d5ab684f827", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling zerocopy v0.8.32 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling imap-proto v0.16.6 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling self_cell v1.2.2 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling mail-parser v0.9.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling compression-codecs v0.4.35 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling async-imap v0.10.4 [INFO] [stderr] Compiling scraper v0.20.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling lettre v0.11.19 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.36 [INFO] [stderr] Compiling tui-core v0.1.0 (/opt/rustwide/workdir/crates/tui-core) [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling tmail v0.1.0 (/opt/rustwide/workdir/crates/tmail) [INFO] [stdout] warning: unused import: `client::MailClient` [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use client::MailClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Compose` is never constructed [INFO] [stdout] --> crates/tmail/src/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum View { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Compose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has derived impls for the traits `Clone` and `Debug`, but these are 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 `config` and `message_scroll` are never read [INFO] [stdout] --> crates/tmail/src/app.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TmailApp { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | config: TmailConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | message_scroll: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `to`, `cc`, `html_body`, `flagged`, and `attachments` are never read [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | /// Unique message ID [INFO] [stdout] 11 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub to: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | /// CC addresses [INFO] [stdout] 17 | pub cc: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub html_body: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | /// Attachments [INFO] [stdout] 31 | pub attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: fields `name`, `mime_type`, `size`, and `content` are never read [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Attachment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Filename [INFO] [stdout] 62 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | /// MIME type [INFO] [stdout] 64 | pub mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// Size in bytes [INFO] [stdout] 66 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | /// Content (lazy-loaded) [INFO] [stdout] 68 | pub content: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attachment` 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: struct `Folder` is never constructed [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Folder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TlsStream` is never used [INFO] [stdout] --> crates/tmail/src/mail/client.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type TlsStream = Compat>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MailClient` is never constructed [INFO] [stdout] --> crates/tmail/src/mail/client.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MailClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/tmail/src/mail/client.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl MailClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | /// Create a new mail client (not connected) [INFO] [stdout] 22 | pub fn new(config: TmailConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn connect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn disconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn list_folders(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn select_folder(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn fetch_messages(&mut self, start: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tweb v0.1.0 (/opt/rustwide/workdir/crates/tweb) [INFO] [stdout] warning: variant `Search` is never constructed [INFO] [stdout] --> crates/tweb/src/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `line` is never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Link { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Link` 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: fields `action`, `method`, and `fields` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | /// Form action URL [INFO] [stdout] 26 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | /// HTTP method (GET/POST) [INFO] [stdout] 28 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | /// Form fields [INFO] [stdout] 30 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Form` 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: fields `name`, `field_type`, `value`, and `placeholder` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FormField { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | /// Field name [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | /// Field type (text, password, hidden, submit, etc.) [INFO] [stdout] 39 | pub field_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | /// Current value [INFO] [stdout] 41 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | /// Placeholder text [INFO] [stdout] 43 | pub placeholder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormField` 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: fields `url`, `title`, and `scroll_position` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct HistoryEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub scroll_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryEntry` 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: method `post` is never used [INFO] [stdout] --> crates/tweb/src/web/client.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl WebClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn post(&self, url: &str, data: &[(String, String)]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type` and `forms` are never read [INFO] [stdout] --> crates/tweb/src/web/parser.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub forms: Vec
, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "9a3d117929b29a0b1f5afdfae31aa3c023e18109949414fe79d30d5ab684f827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3d117929b29a0b1f5afdfae31aa3c023e18109949414fe79d30d5ab684f827", kill_on_drop: false }` [INFO] [stdout] 9a3d117929b29a0b1f5afdfae31aa3c023e18109949414fe79d30d5ab684f827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3e7cdf137b9716fa4ea35769044a806fc47d2ce058fbdae12851f0936131081a [INFO] running `Command { std: "docker" "start" "-a" "3e7cdf137b9716fa4ea35769044a806fc47d2ce058fbdae12851f0936131081a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling async-compression v0.4.36 [INFO] [stderr] Compiling tui-core v0.1.0 (/opt/rustwide/workdir/crates/tui-core) [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling tmail v0.1.0 (/opt/rustwide/workdir/crates/tmail) [INFO] [stdout] warning: unused import: `client::MailClient` [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use client::MailClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Compose` is never constructed [INFO] [stdout] --> crates/tmail/src/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum View { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Compose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` has derived impls for the traits `Clone` and `Debug`, but these are 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 `config` and `message_scroll` are never read [INFO] [stdout] --> crates/tmail/src/app.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TmailApp { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | config: TmailConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | message_scroll: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `to`, `cc`, `html_body`, `flagged`, and `attachments` are never read [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | /// Unique message ID [INFO] [stdout] 11 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub to: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | /// CC addresses [INFO] [stdout] 17 | pub cc: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub html_body: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | /// Attachments [INFO] [stdout] 31 | pub attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: fields `name`, `mime_type`, `size`, and `content` are never read [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Attachment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Filename [INFO] [stdout] 62 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | /// MIME type [INFO] [stdout] 64 | pub mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// Size in bytes [INFO] [stdout] 66 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | /// Content (lazy-loaded) [INFO] [stdout] 68 | pub content: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attachment` 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: struct `Folder` is never constructed [INFO] [stdout] --> crates/tmail/src/mail/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Folder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TlsStream` is never used [INFO] [stdout] --> crates/tmail/src/mail/client.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type TlsStream = Compat>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MailClient` is never constructed [INFO] [stdout] --> crates/tmail/src/mail/client.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MailClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/tmail/src/mail/client.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl MailClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | /// Create a new mail client (not connected) [INFO] [stdout] 22 | pub fn new(config: TmailConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn connect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn disconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn list_folders(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn select_folder(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn fetch_messages(&mut self, start: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tweb v0.1.0 (/opt/rustwide/workdir/crates/tweb) [INFO] [stdout] warning: variant `Search` is never constructed [INFO] [stdout] --> crates/tweb/src/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `line` is never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Link { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Link` 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: fields `action`, `method`, and `fields` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | /// Form action URL [INFO] [stdout] 26 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | /// HTTP method (GET/POST) [INFO] [stdout] 28 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | /// Form fields [INFO] [stdout] 30 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Form` 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: fields `name`, `field_type`, `value`, and `placeholder` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FormField { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | /// Field name [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | /// Field type (text, password, hidden, submit, etc.) [INFO] [stdout] 39 | pub field_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | /// Current value [INFO] [stdout] 41 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | /// Placeholder text [INFO] [stdout] 43 | pub placeholder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormField` 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: fields `url`, `title`, and `scroll_position` are never read [INFO] [stdout] --> crates/tweb/src/web/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct HistoryEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub scroll_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryEntry` 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: method `post` is never used [INFO] [stdout] --> crates/tweb/src/web/client.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl WebClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn post(&self, url: &str, data: &[(String, String)]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type` and `forms` are never read [INFO] [stdout] --> crates/tweb/src/web/parser.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub forms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.33s [INFO] running `Command { std: "docker" "inspect" "3e7cdf137b9716fa4ea35769044a806fc47d2ce058fbdae12851f0936131081a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7cdf137b9716fa4ea35769044a806fc47d2ce058fbdae12851f0936131081a", kill_on_drop: false }` [INFO] [stdout] 3e7cdf137b9716fa4ea35769044a806fc47d2ce058fbdae12851f0936131081a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] cf235c7b304985fbb76127e38658aecfe2421e50d692a6ec3f2a2e990acc3022 [INFO] running `Command { std: "docker" "start" "-a" "cf235c7b304985fbb76127e38658aecfe2421e50d692a6ec3f2a2e990acc3022", kill_on_drop: false }` [INFO] [stderr] warning: variant `Search` is never constructed [INFO] [stderr] --> crates/tweb/src/app.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum Mode { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 20 | Search, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `line` is never read [INFO] [stderr] --> crates/tweb/src/web/mod.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Link { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub line: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Link` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `action`, `method`, and `fields` are never read [INFO] [stderr] --> crates/tweb/src/web/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Form { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 25 | /// Form action URL [INFO] [stderr] 26 | pub action: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 27 | /// HTTP method (GET/POST) [INFO] [stderr] 28 | pub method: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | /// Form fields [INFO] [stderr] 30 | pub fields: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Form` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `field_type`, `value`, and `placeholder` are never read [INFO] [stderr] --> crates/tweb/src/web/mod.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct FormField { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 36 | /// Field name [INFO] [stderr] 37 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 38 | /// Field type (text, password, hidden, submit, etc.) [INFO] [stderr] 39 | pub field_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 40 | /// Current value [INFO] [stderr] 41 | pub value: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 42 | /// Placeholder text [INFO] [stderr] 43 | pub placeholder: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FormField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `url`, `title`, and `scroll_position` are never read [INFO] [stderr] --> crates/tweb/src/web/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct HistoryEntry { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 49 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 50 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 51 | pub scroll_position: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HistoryEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `post` is never used [INFO] [stderr] --> crates/tweb/src/web/client.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 14 | impl WebClient { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | pub async fn post(&self, url: &str, data: &[(String, String)]) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `content_type` and `forms` are never read [INFO] [stderr] --> crates/tweb/src/web/parser.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Page { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub content_type: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub forms: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Page` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `client::MailClient` [INFO] [stderr] --> crates/tmail/src/mail/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use client::MailClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Compose` is never constructed [INFO] [stderr] --> crates/tmail/src/app.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum View { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 18 | Compose, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `View` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `message_scroll` are never read [INFO] [stderr] --> crates/tmail/src/app.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct TmailApp { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 23 | config: TmailConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | message_scroll: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `to`, `cc`, `html_body`, `flagged`, and `attachments` are never read [INFO] [stderr] --> crates/tmail/src/mail/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 10 | /// Unique message ID [INFO] [stderr] 11 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub to: Vec, [INFO] [stderr] | ^^ [INFO] [stderr] 16 | /// CC addresses [INFO] [stderr] 17 | pub cc: Vec, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub html_body: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub flagged: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 30 | /// Attachments [INFO] [stderr] 31 | pub attachments: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `mime_type`, `size`, and `content` are never read [INFO] [stderr] --> crates/tmail/src/mail/mod.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Attachment { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 61 | /// Filename [INFO] [stderr] 62 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 63 | /// MIME type [INFO] [stderr] 64 | pub mime_type: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 65 | /// Size in bytes [INFO] [stderr] 66 | pub size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 67 | /// Content (lazy-loaded) [INFO] [stderr] 68 | pub content: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Attachment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Folder` is never constructed [INFO] [stderr] --> crates/tmail/src/mail/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct Folder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `TlsStream` is never used [INFO] [stderr] --> crates/tmail/src/mail/client.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | type TlsStream = Compat>; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MailClient` is never constructed [INFO] [stderr] --> crates/tmail/src/mail/client.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct MailClient { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> crates/tmail/src/mail/client.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl MailClient { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 21 | /// Create a new mail client (not connected) [INFO] [stderr] 22 | pub fn new(config: TmailConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub async fn connect(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub async fn disconnect(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn is_connected(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub async fn list_folders(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub async fn select_folder(&mut self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | pub async fn fetch_messages(&mut self, start: usize, count: usize) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tweb` (bin "tweb" test) generated 7 warnings [INFO] [stderr] warning: `tmail` (bin "tmail" test) generated 9 warnings (run `cargo fix --bin "tmail" -p tmail --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/tmail/625c048b1df0e045/deps/tmail-625c048b1df0e045) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tui-core/47e5f3488cf777f5/deps/tui_core-47e5f3488cf777f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/tweb/f41b8151fbeb2aa7/deps/tweb-f41b8151fbeb2aa7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tui_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf235c7b304985fbb76127e38658aecfe2421e50d692a6ec3f2a2e990acc3022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf235c7b304985fbb76127e38658aecfe2421e50d692a6ec3f2a2e990acc3022", kill_on_drop: false }` [INFO] [stdout] cf235c7b304985fbb76127e38658aecfe2421e50d692a6ec3f2a2e990acc3022