[INFO] cloning repository https://github.com/acottis/imapserver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acottis/imapserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f21706e110520bc490b2881d889e3276278b1f32
[INFO] checking acottis/imapserver against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/acottis/imapserver
[INFO] finished tweaking git repo https://github.com/acottis/imapserver
[INFO] tweaked toml for git repo https://github.com/acottis/imapserver written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/acottis/imapserver on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/acottis/imapserver 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/acottis/aml`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75855de75da2d5d0003d553de2a5829c15050f859b982e1a5cc8da33c2b37dff
[INFO] running `Command { std: "docker" "start" "-a" "75855de75da2d5d0003d553de2a5829c15050f859b982e1a5cc8da33c2b37dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75855de75da2d5d0003d553de2a5829c15050f859b982e1a5cc8da33c2b37dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75855de75da2d5d0003d553de2a5829c15050f859b982e1a5cc8da33c2b37dff", kill_on_drop: false }`
[INFO] [stdout] 75855de75da2d5d0003d553de2a5829c15050f859b982e1a5cc8da33c2b37dff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f76703867275909c3dc920f624731035a4f6275d1958ecbdbcbc9b6e45ba8f2d
[INFO] running `Command { std: "docker" "start" "-a" "f76703867275909c3dc920f624731035a4f6275d1958ecbdbcbc9b6e45ba8f2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking aml v0.1.0 (https://github.com/acottis/aml#87c49304)
[INFO] [stderr]    Compiling openssl-sys v0.9.71
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking imapserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/session.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn copy(&self, msg: &str) -> Result<()>{
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/email.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let bytes = data.len()+2;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tls_stream` is never read
[INFO] [stdout]   --> src/stream.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Stream{
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 14 |     tcp_stream: TcpStream,
[INFO] [stdout] 15 |     tls_stream: Option<TlsStream<TcpStream>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `peer_addr` and `start_tls` are never used
[INFO] [stdout]   --> src/stream.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Stream{
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn peer_addr(&self) -> std::net::SocketAddr {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn start_tls(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     IO(std::io::Error),
[INFO] [stdout]   |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 -     IO(std::io::Error),
[INFO] [stdout] 5 +     IO(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     UTF8(std::string::FromUtf8Error),
[INFO] [stdout]   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     UTF8(std::string::FromUtf8Error),
[INFO] [stdout] 6 +     UTF8(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     FolderLookup(&'static str),
[INFO] [stdout]   |     ------------ ^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     FolderLookup(&'static str),
[INFO] [stdout] 8 +     FolderLookup(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CommandNotRecognised`, `InvalidToField`, `CantReadEmail`, `TimeDate`, and `IMAPCopyErr` are never constructed
[INFO] [stdout]   --> src/error.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum Error{
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  7 |     CommandNotRecognised,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     FolderLookup(&'static str),
[INFO] [stdout]  9 |     InvalidToField,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     CantReadEmail,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     TimeDate(chrono::ParseError),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     IMAPCopyErr,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAIL_ROOT` is never used
[INFO] [stdout]   --> src/email.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static MAIL_ROOT: &'static str = "D:/MAILSERVER";
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_uid_flags_RFC822_bodypeek` should have a snake case name
[INFO] [stdout]    --> src/email.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub fn fetch_uid_flags_RFC822_bodypeek(&self) -> Result<String>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/session.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn copy(&self, msg: &str) -> Result<()>{
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/email.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let bytes = data.len()+2;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tls_stream` is never read
[INFO] [stdout]   --> src/stream.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Stream{
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 14 |     tcp_stream: TcpStream,
[INFO] [stdout] 15 |     tls_stream: Option<TlsStream<TcpStream>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `peer_addr` and `start_tls` are never used
[INFO] [stdout]   --> src/stream.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Stream{
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn peer_addr(&self) -> std::net::SocketAddr {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn start_tls(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     IO(std::io::Error),
[INFO] [stdout]   |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 -     IO(std::io::Error),
[INFO] [stdout] 5 +     IO(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     UTF8(std::string::FromUtf8Error),
[INFO] [stdout]   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     UTF8(std::string::FromUtf8Error),
[INFO] [stdout] 6 +     UTF8(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     FolderLookup(&'static str),
[INFO] [stdout]   |     ------------ ^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     FolderLookup(&'static str),
[INFO] [stdout] 8 +     FolderLookup(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CommandNotRecognised`, `InvalidToField`, `CantReadEmail`, `TimeDate`, `IMAPCopyErr`, and `ToFieldMissing` are never constructed
[INFO] [stdout]   --> src/error.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum Error{
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  7 |     CommandNotRecognised,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     FolderLookup(&'static str),
[INFO] [stdout]  9 |     InvalidToField,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     CantReadEmail,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     TimeDate(chrono::ParseError),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     IMAPCopyErr,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     ToFieldMissing,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAIL_ROOT` is never used
[INFO] [stdout]   --> src/email.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static MAIL_ROOT: &'static str = "D:/MAILSERVER";
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_header`, `from_header`, `date_header`, and `subject_header` are never used
[INFO] [stdout]   --> src/email.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Email{
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn to_header(&self) -> Result<(String, String, String)> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn from_header(&self) -> Result<(String, String, String)> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn date_header(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn subject_header(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_uid_flags_RFC822_bodypeek` should have a snake case name
[INFO] [stdout]    --> src/email.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub fn fetch_uid_flags_RFC822_bodypeek(&self) -> Result<String>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s
[INFO] running `Command { std: "docker" "inspect" "f76703867275909c3dc920f624731035a4f6275d1958ecbdbcbc9b6e45ba8f2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f76703867275909c3dc920f624731035a4f6275d1958ecbdbcbc9b6e45ba8f2d", kill_on_drop: false }`
[INFO] [stdout] f76703867275909c3dc920f624731035a4f6275d1958ecbdbcbc9b6e45ba8f2d
