[INFO] cloning repository https://github.com/kvago36/temp-mail
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvago36/temp-mail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvago36%2Ftemp-mail", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvago36%2Ftemp-mail'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76e4658a81e1111612c38e54fa209d7e0aac18e6
[INFO] testing kvago36/temp-mail against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvago36%2Ftemp-mail" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/kvago36/temp-mail
[INFO] finished tweaking git repo https://github.com/kvago36/temp-mail
[INFO] tweaked toml for git repo https://github.com/kvago36/temp-mail written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kvago36/temp-mail on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kvago36/temp-mail 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.debug-vps.target
[INFO] [stderr] warning: unused manifest key: profile.pi-release.target
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa9737360dcd4f71bbb13d3b2812f63a2c6c5bd02f6e9dbc13ff669765226a74
[INFO] running `Command { std: "docker" "start" "-a" "fa9737360dcd4f71bbb13d3b2812f63a2c6c5bd02f6e9dbc13ff669765226a74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa9737360dcd4f71bbb13d3b2812f63a2c6c5bd02f6e9dbc13ff669765226a74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa9737360dcd4f71bbb13d3b2812f63a2c6c5bd02f6e9dbc13ff669765226a74", kill_on_drop: false }`
[INFO] [stdout] fa9737360dcd4f71bbb13d3b2812f63a2c6c5bd02f6e9dbc13ff669765226a74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7df3dca88a94af4a90329b43ab5ca0b40dc9de42a38e40ccc1eee5142085d7f3
[INFO] running `Command { std: "docker" "start" "-a" "7df3dca88a94af4a90329b43ab5ca0b40dc9de42a38e40ccc1eee5142085d7f3", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.debug-vps.target
[INFO] [stderr] warning: unused manifest key: profile.pi-release.target
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling brotli-decompressor v4.0.2
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling brotli v7.0.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling base64 v0.20.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling webpki-roots v1.0.0
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling charset v0.1.5
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling clap_builder v4.5.46
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]    Compiling simple_logger v5.0.0
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling mailparse v0.16.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling rustls-webpki v0.103.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling clap v4.5.46
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[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 sqlx-core v0.8.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.3
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling actix-server v2.5.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling redis v0.26.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]    Compiling actix-http v3.10.0
[INFO] [stderr]    Compiling sqlx v0.8.3
[INFO] [stderr]    Compiling actix-web v4.10.2
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling actix-session v0.10.1
[INFO] [stderr]    Compiling mail v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[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: `Response`
[INFO] [stdout]  --> src/bin/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use reqwest::{Response, StatusCode, Url};
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/bin/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Executor` and `Row`
[INFO] [stdout]  --> src/bin/client.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stdout]   --> src/bin/client.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx_postgres::PgPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/bin/client_modules/message.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Local`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Local, Utc};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info, warn};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MailHeader`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mailparse::{MailHeader, ParsedMail};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{Cursor, Read};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/bin/client_modules/state.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::{Path, PathBuf};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::client_modules::request::Request`
[INFO] [stdout]   --> src/bin/client_modules/state.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::client_modules::request::Request;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage` and `dev::Service as _`
[INFO] [stdout]  --> src/bin/server.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{App, HttpMessage, HttpServer, cookie::Key, cookie::SameSite, dev::Service as _, http::header, web};
[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: `self`
[INFO] [stdout]  --> src/bin/server.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/bin/server.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{LevelFilter, info};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/bin/server.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `migrate::Migrator`
[INFO] [stdout]   --> src/bin/server.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/bin/server.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/bin/server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/bin/server.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::cookie::Cookie`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::cookie::Cookie;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:3:73
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{HttpMessage, HttpRequest, HttpResponse, Responder, get, post, web};
[INFO] [stdout]   |                                                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, error, info, warn};
[INFO] [stdout]   |           ^^^^^         ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx_postgres::PgPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::{Uuid, uuid};
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MailboxStatus`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | use mail::models::{Mail, MailboxStatus, UserSession};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChannelsMap` and `MailId`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{ChannelsMap, MailId, State};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/bin/middlewares/my_middleware.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> src/bin/handlers/email/email_handler.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]   --> src/bin/server.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/bin/server.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]   --> src/bin/server.rs:12:36
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::future::FutureExt`
[INFO] [stdout]  --> src/bin/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures_util::future::FutureExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]  --> src/bin/server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Attachments` is more private than the item `Message::add_attachment`
[INFO] [stdout]   --> src/bin/client_modules/message.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Message::add_attachment` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Attachments` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/bin/client_modules/message.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Attachments {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentTransferEncoding` is never used
[INFO] [stdout]  --> src/bin/client_modules/message.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ContentTransferEncoding {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentDisposition` is never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ContentDisposition {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentType` is never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ContentType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Attachments` is never constructed
[INFO] [stdout]   --> src/bin/client_modules/message.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Attachments {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/bin/client_modules/message.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) struct Message {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Message {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn set_mime_version(&mut self, version: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn get_content_type(&self) -> &Option<ContentType> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_content_type(&mut self, content_type: ContentType) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn set_from(&mut self, from: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn set_to(&mut self, to: &str) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn set_subject(&mut self, subject: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip`, `mx_host`, and `mx_priority` are never read
[INFO] [stdout]   --> src/bin/server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct DnsEntry {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 43 |     domain: String,
[INFO] [stdout] 44 |     ip: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     mx_host: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 46 |     mx_priority: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DnsEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 33s
[INFO] running `Command { std: "docker" "inspect" "7df3dca88a94af4a90329b43ab5ca0b40dc9de42a38e40ccc1eee5142085d7f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7df3dca88a94af4a90329b43ab5ca0b40dc9de42a38e40ccc1eee5142085d7f3", kill_on_drop: false }`
[INFO] [stdout] 7df3dca88a94af4a90329b43ab5ca0b40dc9de42a38e40ccc1eee5142085d7f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9fbae106cbaeca4c95d2602b7af80b2d37dff95ecc0c62aa80b87a2986f384b0
[INFO] running `Command { std: "docker" "start" "-a" "9fbae106cbaeca4c95d2602b7af80b2d37dff95ecc0c62aa80b87a2986f384b0", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.debug-vps.target
[INFO] [stderr] warning: unused manifest key: profile.pi-release.target
[INFO] [stderr]    Compiling mail v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/bin/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[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: `Response`
[INFO] [stdout]  --> src/bin/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use reqwest::{Response, StatusCode, Url};
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/bin/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Executor` and `Row`
[INFO] [stdout]  --> src/bin/client.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stdout]   --> src/bin/client.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx_postgres::PgPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/bin/client_modules/message.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Local`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Local, Utc};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info, warn};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MailHeader`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mailparse::{MailHeader, ParsedMail};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{Cursor, Read};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/bin/client_modules/state.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::{Path, PathBuf};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::client_modules::request::Request`
[INFO] [stdout]   --> src/bin/client_modules/state.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::client_modules::request::Request;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage` and `dev::Service as _`
[INFO] [stdout]  --> src/bin/server.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{App, HttpMessage, HttpServer, cookie::Key, cookie::SameSite, dev::Service as _, http::header, web};
[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: `self`
[INFO] [stdout]  --> src/bin/server.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/bin/server.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{LevelFilter, info};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/bin/server.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `migrate::Migrator`
[INFO] [stdout]   --> src/bin/server.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/bin/server.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/bin/server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/bin/server.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::cookie::Cookie`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::cookie::Cookie;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:3:73
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{HttpMessage, HttpRequest, HttpResponse, Responder, get, post, web};
[INFO] [stdout]   |                                                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, error, info, warn};
[INFO] [stdout]   |           ^^^^^         ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx_postgres::PgPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::{Uuid, uuid};
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MailboxStatus`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | use mail::models::{Mail, MailboxStatus, UserSession};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChannelsMap` and `MailId`
[INFO] [stdout]   --> src/bin/handlers/mail/mail_handler.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{ChannelsMap, MailId, State};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/bin/middlewares/my_middleware.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/client_modules/state.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Attachments` is more private than the item `Message::add_attachment`
[INFO] [stdout]   --> src/bin/client_modules/message.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Message::add_attachment` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Attachments` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/bin/client_modules/message.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Attachments {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentTransferEncoding` is never used
[INFO] [stdout]  --> src/bin/client_modules/message.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ContentTransferEncoding {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentDisposition` is never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ContentDisposition {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentType` is never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ContentType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Attachments` is never constructed
[INFO] [stdout]   --> src/bin/client_modules/message.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Attachments {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/bin/client_modules/message.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) struct Message {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/bin/client_modules/message.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Message {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 48 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn set_mime_version(&mut self, version: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn get_content_type(&self) -> &Option<ContentType> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_content_type(&mut self, content_type: ContentType) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn set_from(&mut self, from: &str) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn set_to(&mut self, to: &str) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn set_subject(&mut self, subject: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> src/bin/handlers/email/email_handler.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]   --> src/bin/server.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> src/bin/handlers/mail/mail_handler.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx::{Executor, Row};
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/bin/server.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]   --> src/bin/server.rs:12:36
[INFO] [stdout]    |
[INFO] [stdout] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::future::FutureExt`
[INFO] [stdout]  --> src/bin/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures_util::future::FutureExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]  --> src/bin/server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip`, `mx_host`, and `mx_priority` are never read
[INFO] [stdout]   --> src/bin/server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct DnsEntry {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 43 |     domain: String,
[INFO] [stdout] 44 |     ip: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     mx_host: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 46 |     mx_priority: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DnsEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s
[INFO] running `Command { std: "docker" "inspect" "9fbae106cbaeca4c95d2602b7af80b2d37dff95ecc0c62aa80b87a2986f384b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fbae106cbaeca4c95d2602b7af80b2d37dff95ecc0c62aa80b87a2986f384b0", kill_on_drop: false }`
[INFO] [stdout] 9fbae106cbaeca4c95d2602b7af80b2d37dff95ecc0c62aa80b87a2986f384b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] af27c5286af20b2674c64cd87259bfe83d11e46ed694ccea730bfa8020b9d7a5
[INFO] running `Command { std: "docker" "start" "-a" "af27c5286af20b2674c64cd87259bfe83d11e46ed694ccea730bfa8020b9d7a5", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.debug-vps.target
[INFO] [stderr] warning: unused manifest key: profile.pi-release.target
[INFO] [stderr] warning: unused imports: `HttpMessage` and `dev::Service as _`
[INFO] [stderr]  --> src/bin/server.rs:4:22
[INFO] [stderr]   |
[INFO] [stderr] 4 | use actix_web::{App, HttpMessage, HttpServer, cookie::Key, cookie::SameSite, dev::Service as _, http::header, web};
[INFO] [stderr]   |                      ^^^^^^^^^^^                                             ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/bin/server.rs:7:28
[INFO] [stderr]   |
[INFO] [stderr] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stderr]   |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> src/bin/server.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 | use log::{LevelFilter, info};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]   --> src/bin/server.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `migrate::Migrator`
[INFO] [stderr]   --> src/bin/server.rs:12:41
[INFO] [stderr]    |
[INFO] [stderr] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]   --> src/bin/server.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::error::Error;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]   --> src/bin/server.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::str::FromStr;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]   --> src/bin/server.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::path::Path;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::cookie::Cookie`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::cookie::Cookie;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `post`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:3:73
[INFO] [stderr]   |
[INFO] [stderr] 3 | use actix_web::{HttpMessage, HttpRequest, HttpResponse, Responder, get, post, web};
[INFO] [stderr]   |                                                                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `debug`, `info`, and `warn`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | use log::{debug, error, info, warn};
[INFO] [stderr]   |           ^^^^^         ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::prelude::*`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stderr]   --> src/bin/handlers/mail/mail_handler.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use sqlx_postgres::PgPool;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid`
[INFO] [stderr]   --> src/bin/handlers/mail/mail_handler.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | use uuid::{Uuid, uuid};
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MailboxStatus`
[INFO] [stderr]   --> src/bin/handlers/mail/mail_handler.rs:15:26
[INFO] [stderr]    |
[INFO] [stderr] 15 | use mail::models::{Mail, MailboxStatus, UserSession};
[INFO] [stderr]    |                          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ChannelsMap` and `MailId`
[INFO] [stderr]   --> src/bin/handlers/mail/mail_handler.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::{ChannelsMap, MailId, State};
[INFO] [stderr]    |             ^^^^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `log::info`
[INFO] [stderr]  --> src/bin/middlewares/my_middleware.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use log::info;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> src/bin/handlers/email/email_handler.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sqlx::{Executor, Row};
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]   --> src/bin/server.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> src/bin/handlers/mail/mail_handler.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | use sqlx::{Executor, Row};
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `StreamExt`
[INFO] [stderr]  --> src/bin/server.rs:7:34
[INFO] [stderr]   |
[INFO] [stderr] 7 | use futures_util::stream::{self, StreamExt};
[INFO] [stderr]   |                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Row`
[INFO] [stderr]   --> src/bin/server.rs:12:36
[INFO] [stderr]    |
[INFO] [stderr] 12 | use sqlx::{Executor, QueryBuilder, Row, migrate::Migrator};
[INFO] [stderr]    |                                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures_util::future::FutureExt`
[INFO] [stderr]  --> src/bin/server.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use futures_util::future::FutureExt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::prelude`
[INFO] [stderr]  --> src/bin/server.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use rand::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ip`, `mx_host`, and `mx_priority` are never read
[INFO] [stderr]   --> src/bin/server.rs:44:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | struct DnsEntry {
[INFO] [stderr]    |        -------- fields in this struct
[INFO] [stderr] 43 |     domain: String,
[INFO] [stderr] 44 |     ip: Option<String>,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 45 |     mx_host: Option<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 46 |     mx_priority: Option<u32>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DnsEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Utc`
[INFO] [stderr]  --> src/bin/client.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::Utc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Response`
[INFO] [stderr]  --> src/bin/client.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 | use reqwest::{Response, StatusCode, Url};
[INFO] [stderr]   |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/bin/client.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Executor` and `Row`
[INFO] [stderr]  --> src/bin/client.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | use sqlx::{Executor, Row};
[INFO] [stderr]   |            ^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx_postgres::PgPool`
[INFO] [stderr]   --> src/bin/client.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use sqlx_postgres::PgPool;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]   --> src/bin/client.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use uuid::Uuid;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::hash::Hash`
[INFO] [stderr]  --> src/bin/client_modules/message.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::hash::Hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Local`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{DateTime, Local, Utc};
[INFO] [stderr]   |                        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use log::{debug, error, info, warn};
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MailHeader`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:4:17
[INFO] [stderr]   |
[INFO] [stderr] 4 | use mailparse::{MailHeader, ParsedMail};
[INFO] [stderr]   |                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Cursor`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:8:15
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::io::{Cursor, Read};
[INFO] [stderr]   |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]   --> src/bin/client_modules/state.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::path::{Path, PathBuf};
[INFO] [stderr]    |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::client_modules::request::Request`
[INFO] [stderr]   --> src/bin/client_modules/state.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use crate::client_modules::request::Request;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]  --> src/bin/client_modules/state.rs:8:23
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::io::{Cursor, Read};
[INFO] [stderr]   |                       ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `Attachments` is more private than the item `Message::add_attachment`
[INFO] [stderr]   --> src/bin/client_modules/message.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Message::add_attachment` is reachable at visibility `pub(crate)`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `Attachments` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/bin/client_modules/message.rs:29:1
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct Attachments {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ContentTransferEncoding` is never used
[INFO] [stderr]  --> src/bin/client_modules/message.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub enum ContentTransferEncoding {
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ContentDisposition` is never used
[INFO] [stderr]   --> src/bin/client_modules/message.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum ContentDisposition {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ContentType` is never used
[INFO] [stderr]   --> src/bin/client_modules/message.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub enum ContentType {
[INFO] [stderr]    |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Attachments` is never constructed
[INFO] [stderr]   --> src/bin/client_modules/message.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct Attachments {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Message` is never constructed
[INFO] [stderr]   --> src/bin/client_modules/message.rs:37:19
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub(crate) struct Message {
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/bin/client_modules/message.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl Message {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr] 48 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn add_attachment(&mut self, attachment: Attachments) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub fn set_mime_version(&mut self, version: String) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn get_content_type(&self) -> &Option<ContentType> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub fn set_content_type(&mut self, content_type: ContentType) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     pub fn set_from(&mut self, from: &str) {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 84 |     pub fn set_to(&mut self, to: &str) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 89 |     pub fn set_subject(&mut self, subject: String) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mail` (bin "server" test) generated 26 warnings (run `cargo fix --bin "server" -p mail --tests` to apply 18 suggestions)
[INFO] [stderr] warning: `mail` (bin "client" test) generated 23 warnings (run `cargo fix --bin "client" -p mail --tests` to apply 15 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mail-3f2d7c360cc5c43f)
[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/client.rs (/opt/rustwide/target/debug/deps/client-93292d42a39d98b7)
[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/server.rs (/opt/rustwide/target/debug/deps/server-5690c2b70dc1c1e0)
[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 mail
[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" "af27c5286af20b2674c64cd87259bfe83d11e46ed694ccea730bfa8020b9d7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af27c5286af20b2674c64cd87259bfe83d11e46ed694ccea730bfa8020b9d7a5", kill_on_drop: false }`
[INFO] [stdout] af27c5286af20b2674c64cd87259bfe83d11e46ed694ccea730bfa8020b9d7a5
