[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/f21706e110520bc490b2881d889e3276278b1f32 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acottis/imapserver on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/acottis/aml` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32faa25e14fb3b0f1d17cb10d50c5167f5b79fbc00607c1a7abeb5640ab69158 [INFO] running `Command { std: "docker" "start" "-a" "32faa25e14fb3b0f1d17cb10d50c5167f5b79fbc00607c1a7abeb5640ab69158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32faa25e14fb3b0f1d17cb10d50c5167f5b79fbc00607c1a7abeb5640ab69158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32faa25e14fb3b0f1d17cb10d50c5167f5b79fbc00607c1a7abeb5640ab69158", kill_on_drop: false }` [INFO] [stdout] 32faa25e14fb3b0f1d17cb10d50c5167f5b79fbc00607c1a7abeb5640ab69158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201f4a8fcb33720af9dc08953c3816d3463c2aff481e9e6313da6101ecb3f01c [INFO] running `Command { std: "docker" "start" "-a" "201f4a8fcb33720af9dc08953c3816d3463c2aff481e9e6313da6101ecb3f01c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aml v0.1.0 (https://github.com/acottis/aml#87c49304) [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [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)]` 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: 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)]` on by default [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>, [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)]` 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(()), [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(()), [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(()), [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 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn subject_header(&self) -> Result { [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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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>, [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)]` 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(()), [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(()), [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(()), [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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.71s [INFO] running `Command { std: "docker" "inspect" "201f4a8fcb33720af9dc08953c3816d3463c2aff481e9e6313da6101ecb3f01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201f4a8fcb33720af9dc08953c3816d3463c2aff481e9e6313da6101ecb3f01c", kill_on_drop: false }` [INFO] [stdout] 201f4a8fcb33720af9dc08953c3816d3463c2aff481e9e6313da6101ecb3f01c