[INFO] cloning repository https://github.com/lawless-m/Ok2BeMail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lawless-m/Ok2BeMail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawless-m%2FOk2BeMail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawless-m%2FOk2BeMail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8fe10c0812e60e2db42eef20307f773d401fe4d [INFO] testing lawless-m/Ok2BeMail against 1.97.0-beta.6 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawless-m%2FOk2BeMail" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lawless-m/Ok2BeMail [INFO] finished tweaking git repo https://github.com/lawless-m/Ok2BeMail [INFO] tweaked toml for git repo https://github.com/lawless-m/Ok2BeMail written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lawless-m/Ok2BeMail on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lawless-m/Ok2BeMail 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.18 [INFO] [stderr] Downloaded hyper-util v0.1.19 [INFO] [stderr] Downloaded mac-notification-sys v0.6.9 [INFO] [stderr] Downloaded notify-rust v4.11.7 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.37 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded keyring v3.6.3 [INFO] [stderr] Downloaded html2text v0.12.6 [INFO] [stderr] Downloaded zerocopy v0.8.37 [INFO] [stderr] Downloaded clap v4.5.56 [INFO] [stderr] Downloaded anyhow v1.0.100 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded clap_builder v4.5.56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9 [INFO] running `Command { std: "docker" "start" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling keyring v3.6.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling html2text v0.12.6 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling zbus v5.13.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling notify-rust v4.11.7 [INFO] [stderr] Compiling emailcl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `delta_link` is never read [INFO] [stdout] --> src/fetcher.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let mut delta_link = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 235 | delta_link = graph_response.delta_link; [INFO] [stdout] | ---------- `delta_link` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_tokens` is never used [INFO] [stdout] --> src/auth.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AuthManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn clear_tokens(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_confidence` is never read [INFO] [stdout] --> src/classifier.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Classifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | min_confidence: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Keyring` is never constructed [INFO] [stdout] --> src/error.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum EmailClError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Keyring(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailClError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_batch` is never used [INFO] [stdout] --> src/notifier.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Notifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn notify_batch(&self, emails_and_labels: &[(Email, Label)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling emailcl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `delta_link` is never read [INFO] [stdout] --> src/fetcher.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let mut delta_link = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 235 | delta_link = graph_response.delta_link; [INFO] [stdout] | ---------- `delta_link` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_tokens` is never used [INFO] [stdout] --> src/auth.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AuthManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn clear_tokens(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Keyring` is never constructed [INFO] [stdout] --> src/error.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum EmailClError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Keyring(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailClError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_batch` is never used [INFO] [stdout] --> src/notifier.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Notifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn notify_batch(&self, emails_and_labels: &[(Email, Label)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_test_email` is never used [INFO] [stdout] --> src/notifier.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_test_email(id: &str, subject: &str, sender_address: &str, sender_name: Option<&str>) -> Email { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `delta_link` is never read [INFO] [stderr] --> src/fetcher.rs:168:30 [INFO] [stderr] | [INFO] [stderr] 168 | let mut delta_link = None; [INFO] [stderr] | ^^^^ this value is reassigned later and never used [INFO] [stderr] ... [INFO] [stderr] 235 | delta_link = graph_response.delta_link; [INFO] [stderr] | ---------- `delta_link` is overwritten here before the previous value is read [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `clear_tokens` is never used [INFO] [stderr] --> src/auth.rs:308:12 [INFO] [stderr] | [INFO] [stderr] 49 | impl AuthManager { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 308 | pub fn clear_tokens(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Keyring` is never constructed [INFO] [stderr] --> src/error.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum EmailClError { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 39 | Keyring(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EmailClError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `notify_batch` is never used [INFO] [stderr] --> src/notifier.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Notifier { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn notify_batch(&self, emails_and_labels: &[(Email, Label)]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `make_test_email` is never used [INFO] [stderr] --> src/notifier.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 117 | fn make_test_email(id: &str, subject: &str, sender_address: &str, sender_name: Option<&str>) -> Email { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `emailcl` (bin "emailcl" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emailcl-8797d4544c7f178e) [INFO] [stdout] [INFO] [stdout] running 113 tests [INFO] [stdout] test auth::tests::test_graph_scopes ... ok [INFO] [stdout] test auth::tests::test_device_code_response_deserialization ... ok [INFO] [stdout] test auth::tests::test_device_code_endpoint ... ok [INFO] [stdout] test auth::tests::test_token_data_deserialization ... ok [INFO] [stdout] test auth::tests::test_auth_manager_creation ... ok [INFO] [stdout] test auth::tests::test_error_response_without_description ... ok [INFO] [stdout] test auth::tests::test_token_data_roundtrip ... ok [INFO] [stdout] test auth::tests::test_token_data_serialization ... ok [INFO] [stdout] test auth::tests::test_token_data_without_refresh_token ... ok [INFO] [stdout] test auth::tests::test_error_response_deserialization ... ok [INFO] [stdout] test auth::tests::test_token_expiry_check ... ok [INFO] [stdout] test auth::tests::test_token_endpoint ... ok [INFO] [stdout] test auth::tests::test_token_response_deserialization ... ok [INFO] [stdout] test auth::tests::test_token_file_path ... ok [INFO] [stdout] test auth::tests::test_token_endpoint_with_different_tenants ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_no_examples ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_truncates_long_body ... ok [INFO] [stdout] test classifier::tests::test_classification_result_parsing ... ok [INFO] [stdout] test classifier::tests::test_classification_result_parsing_without_reason ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_handles_missing_sender_name ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_multiple_examples ... ok [INFO] [stdout] test classifier::tests::test_classification_result_parsing_all_categories ... ok [INFO] [stdout] test classifier::tests::test_classifier_creation ... ok [INFO] [stdout] test classifier::tests::test_classification_result_importance_range ... ok [INFO] [stdout] test classifier::tests::test_system_prompt_contains_importance_levels ... ok [INFO] [stdout] test config::tests::test_config_deserialization_with_defaults ... ok [INFO] [stdout] test config::tests::test_classifier_config_defaults ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_default_notify_rules ... ok [INFO] [stdout] test classifier::tests::test_system_prompt_contains_all_categories ... ok [INFO] [stdout] test config::tests::test_expanded_db_path_absolute ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_with_examples ... ok [INFO] [stdout] test classifier::tests::test_build_prompt_handles_missing_subject ... ok [INFO] [stdout] test config::tests::test_expanded_db_path_tilde ... ok [INFO] [stdout] test config::tests::test_get_config_dir ... ok [INFO] [stdout] test config::tests::test_notify_rule_serialization ... ok [INFO] [stdout] test config::tests::test_ollama_config_defaults ... ok [INFO] [stdout] test config::tests::test_sync_config_defaults ... ok [INFO] [stdout] test config::tests::test_get_config_path ... ok [INFO] [stdout] test config::tests::test_get_data_dir ... ok [INFO] [stdout] test config::tests::test_validate_missing_client_id ... ok [INFO] [stdout] test config::tests::test_expanded_db_path_relative ... ok [INFO] [stdout] test config::tests::test_validate_missing_tenant_id ... ok [INFO] [stdout] test config::tests::test_validate_valid_config ... ok [INFO] [stdout] test config::tests::test_config_serialization_roundtrip ... ok [INFO] [stdout] test db::tests::test_correct_label ... ok [INFO] [stdout] test db::tests::test_get_emails_without_embedding ... ok [INFO] [stdout] test db::tests::test_email_count ... ok [INFO] [stdout] test db::tests::test_insert_email_replaces_existing ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_identical_vectors ... ok [INFO] [stdout] test db::tests::test_insert_and_get_email ... ok [INFO] [stdout] test db::tests::test_add_custom_category ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_different_lengths ... ok [INFO] [stdout] test db::tests::test_sync_state ... ok [INFO] [stdout] test db::tests::test_get_verified_emails_with_embeddings ... ok [INFO] [stdout] test db::tests::test_database_creation ... ok [INFO] [stdout] test db::tests::test_insert_and_get_label ... ok [INFO] [stdout] test db::tests::test_get_nonexistent_email ... ok [INFO] [stdout] test db::tests::test_labeled_count ... ok [INFO] [stdout] test db::tests::test_insert_email_with_embedding ... ok [INFO] [stdout] test db::tests::test_update_embedding ... ok [INFO] [stdout] test db::tests::test_get_emails_without_label ... ok [INFO] [stdout] test db::tests::test_verify_label ... ok [INFO] [stdout] test db::tests::test_user_verified_count ... ok [INFO] [stdout] test db::tests::test_list_emails_with_labels ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_normalized_vectors ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_opposite_vectors ... ok [INFO] [stdout] test embedding::tests::test_find_similar_emails_empty_candidates ... ok [INFO] [stdout] test embedding::tests::test_find_similar_emails_k_larger_than_candidates ... ok [INFO] [stdout] test embedding::tests::test_find_similar_emails_skips_no_embedding ... ok [INFO] [stdout] test embedding::tests::test_format_email_for_embedding_no_body ... ok [INFO] [stdout] test fetcher::tests::test_convert_basic_message ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_defaults_when_optional_none ... ok [INFO] [stdout] test embedding::tests::test_find_similar_emails_returns_top_k ... ok [INFO] [stdout] test embedding::tests::test_format_email_for_embedding_no_sender_name ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_invalid_date ... ok [INFO] [stdout] test embedding::tests::test_format_email_for_embedding_complete ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_no_subject ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_no_sender ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_high_importance ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_text_body ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_no_body_uses_preview ... ok [INFO] [stdout] test embedding::tests::test_format_email_for_embedding_no_subject ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_various_date_formats ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_unread ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_with_attachments ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_zero_vector ... ok [INFO] [stdout] test fetcher::tests::test_graph_base_url ... ok [INFO] [stdout] test embedding::tests::test_cosine_similarity_orthogonal_vectors ... ok [INFO] [stdout] test fetcher::tests::test_graph_response_deserialization ... ok [INFO] [stdout] test fetcher::tests::test_page_size ... ok [INFO] [stdout] test fetcher::tests::test_graph_error_deserialization ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_html_body ... ok [INFO] [stdout] test fetcher::tests::test_convert_message_sender_no_name ... ok [INFO] [stdout] test notifier::tests::test_capitalize ... ok [INFO] [stdout] test notifier::tests::test_capitalize_single_char ... ok [INFO] [stdout] test notifier::tests::test_should_notify_empty_rules ... ok [INFO] [stdout] test fetcher::tests::test_graph_response_with_delta_link ... ok [INFO] [stdout] test notifier::tests::test_notifier_rules_cloned_from_config ... ok [INFO] [stdout] test notifier::tests::test_notify_rule_action_field ... ok [INFO] [stdout] test notifier::tests::test_should_notify_below_threshold ... ok [INFO] [stdout] test notifier::tests::test_should_notify_wrong_category ... ok [INFO] [stdout] test notifier::tests::test_truncate_one_over ... ok [INFO] [stdout] test notifier::tests::test_truncate_exact_length ... ok [INFO] [stdout] test notifier::tests::test_notifier_creation ... ok [INFO] [stdout] test notifier::tests::test_capitalize_unicode ... ok [INFO] [stdout] test notifier::tests::test_should_notify_matching_rule ... ok [INFO] [stdout] test notifier::tests::test_should_notify_disabled ... ok [INFO] [stdout] test notifier::tests::test_should_notify_importance_zero ... ok [INFO] [stdout] test notifier::tests::test_truncate ... ok [INFO] [stdout] test notifier::tests::test_truncate_subject_for_notification ... ok [INFO] [stdout] test notifier::tests::test_should_notify_multiple_rules ... ok [INFO] [stdout] test notifier::tests::test_truncate_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 113 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9", kill_on_drop: false }` [INFO] [stdout] bb4dd6f08174a6d3832b9eb35e114613a04e9b725359f443b5ac5690774942a9