[INFO] cloning repository https://github.com/angeloanan/notifi-printer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angeloanan/notifi-printer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeloanan%2Fnotifi-printer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeloanan%2Fnotifi-printer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2929a265b2299d5101ce50a8ca15945fa9ef707b [INFO] testing angeloanan/notifi-printer 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%2Fangeloanan%2Fnotifi-printer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/angeloanan/notifi-printer [INFO] finished tweaking git repo https://github.com/angeloanan/notifi-printer [INFO] tweaked toml for git repo https://github.com/angeloanan/notifi-printer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/angeloanan/notifi-printer 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/angeloanan/notifi-printer 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ee6a3f99c50a5562ec8874fe5f2ae8e02d0238f1f47900b78694ea51e5a7a6f5 [INFO] running `Command { std: "docker" "start" "-a" "ee6a3f99c50a5562ec8874fe5f2ae8e02d0238f1f47900b78694ea51e5a7a6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee6a3f99c50a5562ec8874fe5f2ae8e02d0238f1f47900b78694ea51e5a7a6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6a3f99c50a5562ec8874fe5f2ae8e02d0238f1f47900b78694ea51e5a7a6f5", kill_on_drop: false }` [INFO] [stdout] ee6a3f99c50a5562ec8874fe5f2ae8e02d0238f1f47900b78694ea51e5a7a6f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b1bc50da272f726ee189343ec894e105c8300b3172e596fc25091d01d12a3012 [INFO] running `Command { std: "docker" "start" "-a" "b1bc50da272f726ee189343ec894e105c8300b3172e596fc25091d01d12a3012", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling imap-proto v0.16.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling brotli v8.0.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling emojis v0.6.4 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling async-compression v0.4.23 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling async-imap v0.10.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling console-api v0.8.1 [INFO] [stderr] Compiling console-subscriber v0.4.1 [INFO] [stderr] Compiling notifi-printer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/bin/charcode.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/bin/custom.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/gmail-test.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 94 | / loop { [INFO] [stdout] 95 | | let mut idle = session.idle(); [INFO] [stdout] 96 | | match idle.init().await { [INFO] [stdout] 97 | | Ok(_) => info!("Initialized IDLE!"), [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 158 | session.logout().await.expect("Unable to logout.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/gmail-test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut exists_count = mailbox.exists; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exists_count` [INFO] [stdout] --> src/bin/gmail-test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut exists_count = mailbox.exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exists_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufWriter` [INFO] [stdout] --> src/util.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::BufWriter, sync::LazyLock}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> src/printer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INDENT: u8 = 0xDD; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JUSTIFY_RIGHT` is never used [INFO] [stdout] --> src/printer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const JUSTIFY_RIGHT: &[u8; 3] = &[ESC, b'a', 0x2]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NotificationService` is never used [INFO] [stdout] --> src/service/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait NotificationService {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN` is never used [INFO] [stdout] --> src/util.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PATTERN: &str = r"[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E00... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EMOJI_REGEX` is never used [INFO] [stdout] --> src/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static EMOJI_REGEX: LazyLock = LazyLock::new(|| Regex::new(PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_emoji` is never used [INFO] [stdout] --> src/util.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sanitize_emoji(string: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "b1bc50da272f726ee189343ec894e105c8300b3172e596fc25091d01d12a3012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1bc50da272f726ee189343ec894e105c8300b3172e596fc25091d01d12a3012", kill_on_drop: false }` [INFO] [stdout] b1bc50da272f726ee189343ec894e105c8300b3172e596fc25091d01d12a3012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 542334feb13b8bab2b93ced20e405ff9c9100fa19f084b24d2c19d817d72a9bd [INFO] running `Command { std: "docker" "start" "-a" "542334feb13b8bab2b93ced20e405ff9c9100fa19f084b24d2c19d817d72a9bd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling console-api v0.8.1 [INFO] [stderr] Compiling console-subscriber v0.4.1 [INFO] [stderr] Compiling notifi-printer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/bin/charcode.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/bin/custom.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/gmail-test.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 94 | / loop { [INFO] [stdout] 95 | | let mut idle = session.idle(); [INFO] [stdout] 96 | | match idle.init().await { [INFO] [stdout] 97 | | Ok(_) => info!("Initialized IDLE!"), [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 158 | session.logout().await.expect("Unable to logout.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufWriter` [INFO] [stdout] --> src/util.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::BufWriter, sync::LazyLock}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/gmail-test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut exists_count = mailbox.exists; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exists_count` [INFO] [stdout] --> src/bin/gmail-test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut exists_count = mailbox.exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exists_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> src/printer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const INDENT: u8 = 0xDD; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JUSTIFY_RIGHT` is never used [INFO] [stdout] --> src/printer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const JUSTIFY_RIGHT: &[u8; 3] = &[ESC, b'a', 0x2]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NotificationService` is never used [INFO] [stdout] --> src/service/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait NotificationService {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN` is never used [INFO] [stdout] --> src/util.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PATTERN: &str = r"[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E00... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EMOJI_REGEX` is never used [INFO] [stdout] --> src/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static EMOJI_REGEX: LazyLock = LazyLock::new(|| Regex::new(PATTERN).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_emoji` is never used [INFO] [stdout] --> src/util.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sanitize_emoji(string: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 41.29s [INFO] running `Command { std: "docker" "inspect" "542334feb13b8bab2b93ced20e405ff9c9100fa19f084b24d2c19d817d72a9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542334feb13b8bab2b93ced20e405ff9c9100fa19f084b24d2c19d817d72a9bd", kill_on_drop: false }` [INFO] [stdout] 542334feb13b8bab2b93ced20e405ff9c9100fa19f084b24d2c19d817d72a9bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 78e33a78a422e67cea79130456c42019e850396517e522811f93280b62bd8e1b [INFO] running `Command { std: "docker" "start" "-a" "78e33a78a422e67cea79130456c42019e850396517e522811f93280b62bd8e1b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/bin/custom.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use tracing::{debug, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/util.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::BufWriter` [INFO] [stderr] --> src/util.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{io::BufWriter, sync::LazyLock}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INDENT` is never used [INFO] [stderr] --> src/printer.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const INDENT: u8 = 0xDD; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `JUSTIFY_RIGHT` is never used [INFO] [stderr] --> src/printer.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const JUSTIFY_RIGHT: &[u8; 3] = &[ESC, b'a', 0x2]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `NotificationService` is never used [INFO] [stderr] --> src/service/mod.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait NotificationService {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PATTERN` is never used [INFO] [stderr] --> src/util.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const PATTERN: &str = r"[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E00... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `EMOJI_REGEX` is never used [INFO] [stderr] --> src/util.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub static EMOJI_REGEX: LazyLock = LazyLock::new(|| Regex::new(PATTERN).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sanitize_emoji` is never used [INFO] [stderr] --> src/util.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn sanitize_emoji(string: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/bin/charcode.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use tracing::{debug, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bin/gmail-test.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 94 | / loop { [INFO] [stderr] 95 | | let mut idle = session.idle(); [INFO] [stderr] 96 | | match idle.init().await { [INFO] [stderr] 97 | | Ok(_) => info!("Initialized IDLE!"), [INFO] [stderr] ... | [INFO] [stderr] 155 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 158 | session.logout().await.expect("Unable to logout.") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/gmail-test.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | let mut exists_count = mailbox.exists; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `exists_count` [INFO] [stderr] --> src/bin/gmail-test.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | let mut exists_count = mailbox.exists; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exists_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `notifi-printer` (bin "custom" test) generated 1 warning (run `cargo fix --bin "custom" -p notifi-printer --tests` to apply 1 suggestion) [INFO] [stderr] warning: `notifi-printer` (bin "notifi-printer" test) generated 8 warnings (run `cargo fix --bin "notifi-printer" -p notifi-printer --tests` to apply 2 suggestions) [INFO] [stderr] warning: `notifi-printer` (bin "charcode" test) generated 1 warning (run `cargo fix --bin "charcode" -p notifi-printer --tests` to apply 1 suggestion) [INFO] [stderr] warning: `notifi-printer` (bin "gmail-test" test) generated 3 warnings (run `cargo fix --bin "gmail-test" -p notifi-printer --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests src/bin/charcode.rs (/opt/rustwide/target/debug/build/notifi-printer/8bb5c91d8d8165af/deps/charcode-8bb5c91d8d8165af) [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/bin/custom.rs (/opt/rustwide/target/debug/build/notifi-printer/96709cd28f31e499/deps/custom-96709cd28f31e499) [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/bin/gmail-test.rs (/opt/rustwide/target/debug/build/notifi-printer/2748b5c41ac7d08d/deps/gmail_test-2748b5c41ac7d08d) [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/notifi-printer/491a51c6adfd4ce0/deps/notifi_printer-491a51c6adfd4ce0) [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" "78e33a78a422e67cea79130456c42019e850396517e522811f93280b62bd8e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e33a78a422e67cea79130456c42019e850396517e522811f93280b62bd8e1b", kill_on_drop: false }` [INFO] [stdout] 78e33a78a422e67cea79130456c42019e850396517e522811f93280b62bd8e1b