[INFO] cloning repository https://github.com/stroberrysugar/mailin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stroberrysugar/mailin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstroberrysugar%2Fmailin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstroberrysugar%2Fmailin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9351a360a5c0ccd8cbd7322727c00a9e61b56559 [INFO] testing stroberrysugar/mailin against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstroberrysugar%2Fmailin" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stroberrysugar/mailin [INFO] finished tweaking git repo https://github.com/stroberrysugar/mailin [INFO] tweaked toml for git repo https://github.com/stroberrysugar/mailin written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stroberrysugar/mailin on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stroberrysugar/mailin 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-process v2.2.4 [INFO] [stderr] Downloaded async-fs v2.1.2 [INFO] [stderr] Downloaded async-net v2.0.0 [INFO] [stderr] Downloaded async-signal v0.2.10 [INFO] [stderr] Downloaded debug-builders v0.1.0 [INFO] [stderr] Downloaded debugtrace v0.1.0 [INFO] [stderr] Downloaded dnsclientx v0.4.1 [INFO] [stderr] Downloaded ternop v1.0.1 [INFO] [stderr] Downloaded display_bytes v0.2.1 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded bufstream-fresh v0.3.1 [INFO] [stderr] Downloaded base64-compat v1.0.0 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded async-io v2.3.4 [INFO] [stderr] Downloaded prettyplease v0.2.22 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded chomp1 v0.3.4 [INFO] [stderr] Downloaded dnssector v0.2.13 [INFO] [stderr] Downloaded polling v3.7.3 [INFO] [stderr] Downloaded cmake v0.1.51 [INFO] [stderr] Downloaded smol v2.0.1 [INFO] [stderr] Downloaded aws-lc-rs v1.8.1 [INFO] [stderr] Downloaded rustls-pki-types v1.8.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.7 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded backtrace v0.1.8 [INFO] [stderr] Downloaded async-executor v1.13.0 [INFO] [stderr] Downloaded event-listener-strategy v0.5.2 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded unic-idna-punycode v0.9.0 [INFO] [stderr] Downloaded maybe-async v0.2.10 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] [stderr] Downloaded aws-lc-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9c003b467e60dd99c85b1ae8b2440d6aad56fd8459a3913bc706d2353309744 [INFO] running `Command { std: "docker" "start" "-a" "a9c003b467e60dd99c85b1ae8b2440d6aad56fd8459a3913bc706d2353309744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9c003b467e60dd99c85b1ae8b2440d6aad56fd8459a3913bc706d2353309744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c003b467e60dd99c85b1ae8b2440d6aad56fd8459a3913bc706d2353309744", kill_on_drop: false }` [INFO] [stdout] a9c003b467e60dd99c85b1ae8b2440d6aad56fd8459a3913bc706d2353309744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd955bce09b1e3b291b44ef1c7a77d3f8167d8b79ae21355831b4692199f4334 [INFO] running `Command { std: "docker" "start" "-a" "cd955bce09b1e3b291b44ef1c7a77d3f8167d8b79ae21355831b4692199f4334", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling debug-builders v0.1.0 [INFO] [stderr] Compiling debugtrace v0.1.0 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling base64-compat v1.0.0 [INFO] [stderr] Compiling ternop v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unic-idna-punycode v0.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bufstream-fresh v0.3.1 [INFO] [stderr] Compiling display_bytes v0.2.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling backtrace v0.1.8 [INFO] [stderr] Compiling chomp1 v0.3.4 [INFO] [stderr] Compiling mailin v0.6.5 (/opt/rustwide/workdir/mailin) [INFO] [stderr] Compiling mime-event v0.1.0 (/opt/rustwide/workdir/mime-event) [INFO] [stdout] warning: unused import: `separated_pair` [INFO] [stdout] --> mailin/src/parser.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::sequence::{pair, preceded, separated_pair, terminated}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mailin/src/fsm.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut res = handler.helo(fsm.ip, domain); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result
{ [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> mailin/src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl AuthMechanism { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 150 | // Show the AuthMechanism text as an SMTP extension [INFO] [stdout] 151 | fn extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_mechanisms` is never read [INFO] [stdout] --> mailin/src/fsm.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | pub(crate) struct StateMachine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 571 | ip: IpAddr, [INFO] [stdout] 572 | auth_mechanisms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ehlo_response` is never used [INFO] [stdout] --> mailin/src/fsm.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 581 | impl StateMachine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 638 | fn ehlo_response(&self) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body_eq_8bit` is never used [INFO] [stdout] --> mailin/src/parser.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn body_eq_8bit(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is8bitmime` is never used [INFO] [stdout] --> mailin/src/parser.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn is8bitmime(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result, Response> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling smol v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dnssector v0.2.13 [INFO] [stderr] Compiling dnsclientx v0.4.1 [INFO] [stderr] Compiling mxdns v0.4.1 (/opt/rustwide/workdir/mxdns) [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling mailin-embedded v0.8.3 (/opt/rustwide/workdir/mailin-embedded) [INFO] [stderr] Compiling mailin-server v0.1.0 (/opt/rustwide/workdir/mailin-server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.73s [INFO] running `Command { std: "docker" "inspect" "cd955bce09b1e3b291b44ef1c7a77d3f8167d8b79ae21355831b4692199f4334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd955bce09b1e3b291b44ef1c7a77d3f8167d8b79ae21355831b4692199f4334", kill_on_drop: false }` [INFO] [stdout] cd955bce09b1e3b291b44ef1c7a77d3f8167d8b79ae21355831b4692199f4334 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 443ce675e1c89081d1e59ece31468c5778a9411b732805b649c870fc5ab9224d [INFO] running `Command { std: "docker" "start" "-a" "443ce675e1c89081d1e59ece31468c5778a9411b732805b649c870fc5ab9224d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `separated_pair` [INFO] [stdout] --> mailin/src/parser.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::sequence::{pair, preceded, separated_pair, terminated}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mailin/src/fsm.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut res = handler.helo(fsm.ip, domain); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> mailin/src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl AuthMechanism { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 150 | // Show the AuthMechanism text as an SMTP extension [INFO] [stdout] 151 | fn extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_mechanisms` is never read [INFO] [stdout] --> mailin/src/fsm.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | pub(crate) struct StateMachine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 571 | ip: IpAddr, [INFO] [stdout] 572 | auth_mechanisms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ehlo_response` is never used [INFO] [stdout] --> mailin/src/fsm.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 581 | impl StateMachine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 638 | fn ehlo_response(&self) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body_eq_8bit` is never used [INFO] [stdout] --> mailin/src/parser.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn body_eq_8bit(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is8bitmime` is never used [INFO] [stdout] --> mailin/src/parser.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn is8bitmime(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result, Response> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result
{ [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling mailin v0.6.5 (/opt/rustwide/workdir/mailin) [INFO] [stderr] Compiling mailin-embedded v0.8.3 (/opt/rustwide/workdir/mailin-embedded) [INFO] [stderr] Compiling mxdns v0.4.1 (/opt/rustwide/workdir/mxdns) [INFO] [stderr] Compiling mailin-server v0.1.0 (/opt/rustwide/workdir/mailin-server) [INFO] [stdout] warning: unused import: `separated_pair` [INFO] [stdout] --> mailin/src/parser.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::sequence::{pair, preceded, separated_pair, terminated}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mailin/src/fsm.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut res = handler.helo(fsm.ip, domain); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extension` is never used [INFO] [stdout] --> mailin/src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl AuthMechanism { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 150 | // Show the AuthMechanism text as an SMTP extension [INFO] [stdout] 151 | fn extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_mechanisms` is never read [INFO] [stdout] --> mailin/src/fsm.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | pub(crate) struct StateMachine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 571 | ip: IpAddr, [INFO] [stdout] 572 | auth_mechanisms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ehlo_response` is never used [INFO] [stdout] --> mailin/src/fsm.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 581 | impl StateMachine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 638 | fn ehlo_response(&self) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body_eq_8bit` is never used [INFO] [stdout] --> mailin/src/parser.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn body_eq_8bit(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is8bitmime` is never used [INFO] [stdout] --> mailin/src/parser.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn is8bitmime(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(line: &[u8]) -> Result, Response> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mailin/src/parser.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling mime-event v0.1.0 (/opt/rustwide/workdir/mime-event) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | fn from(from: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn from(from: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | fn to(to: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | fn to(to: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | fn message_id(message_id: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | fn message_id(message_id: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | fn subject(subject: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn subject(subject: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn date(date: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | fn date(date: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/tests/events.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | fn body(block: &str) -> Event { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 207 | fn body(block: &str) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result
{ [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn header(line: &[u8]) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mime-event/src/line_parser.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "443ce675e1c89081d1e59ece31468c5778a9411b732805b649c870fc5ab9224d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443ce675e1c89081d1e59ece31468c5778a9411b732805b649c870fc5ab9224d", kill_on_drop: false }` [INFO] [stdout] 443ce675e1c89081d1e59ece31468c5778a9411b732805b649c870fc5ab9224d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd191e51a1ff614c20ea9d2836e5e2d4751cf8a104844136cea48cf5b20daca4 [INFO] running `Command { std: "docker" "start" "-a" "cd191e51a1ff614c20ea9d2836e5e2d4751cf8a104844136cea48cf5b20daca4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `separated_pair` [INFO] [stderr] --> mailin/src/parser.rs:6:37 [INFO] [stderr] | [INFO] [stderr] 6 | use nom::sequence::{pair, preceded, separated_pair, terminated}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> mailin/src/fsm.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | let mut res = handler.helo(fsm.ip, domain); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `extension` is never used [INFO] [stderr] --> mailin/src/lib.rs:151:8 [INFO] [stderr] | [INFO] [stderr] 149 | impl AuthMechanism { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 150 | // Show the AuthMechanism text as an SMTP extension [INFO] [stderr] 151 | fn extension(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `auth_mechanisms` is never read [INFO] [stderr] --> mailin/src/fsm.rs:572:5 [INFO] [stderr] | [INFO] [stderr] 570 | pub(crate) struct StateMachine { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 571 | ip: IpAddr, [INFO] [stderr] 572 | auth_mechanisms: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `ehlo_response` is never used [INFO] [stderr] --> mailin/src/fsm.rs:638:8 [INFO] [stderr] | [INFO] [stderr] 581 | impl StateMachine { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 638 | fn ehlo_response(&self) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `body_eq_8bit` is never used [INFO] [stderr] --> mailin/src/parser.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn body_eq_8bit(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is8bitmime` is never used [INFO] [stderr] --> mailin/src/parser.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn is8bitmime(buf: &[u8]) -> IResult<&[u8], bool> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn parse(line: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn parse(line: &[u8]) -> Result, Response> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | fn command(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | fn helo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | fn ehlo(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | fn mail(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:102:14 [INFO] [stderr] | [INFO] [stderr] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 102 | fn rcpt(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:109:14 [INFO] [stderr] | [INFO] [stderr] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 109 | fn data(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | fn rset(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:117:14 [INFO] [stderr] | [INFO] [stderr] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 117 | fn quit(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | fn vrfy(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:126:14 [INFO] [stderr] | [INFO] [stderr] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | fn noop(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:130:18 [INFO] [stderr] | [INFO] [stderr] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 130 | fn starttls(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:150:20 [INFO] [stderr] | [INFO] [stderr] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 150 | fn auth_plain(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 155 | fn auth_login(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:160:14 [INFO] [stderr] | [INFO] [stderr] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 160 | fn auth(buf: &[u8]) -> IResult<&[u8], Cmd<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:176:26 [INFO] [stderr] | [INFO] [stderr] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 176 | fn sasl_plain_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mailin/src/parser.rs:189:26 [INFO] [stderr] | [INFO] [stderr] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 189 | fn sasl_login_cmd(param: &[u8]) -> Cmd<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mailin` (lib) generated 24 warnings (run `cargo fix --lib -p mailin` to apply 19 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn header(line: &[u8]) -> io::Result
{ [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn header(line: &[u8]) -> io::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 37 | fn content(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | fn content_disposition(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:154:14 [INFO] [stderr] | [INFO] [stderr] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 154 | fn from(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 158 | fn to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 162 | fn subject(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:166:16 [INFO] [stderr] | [INFO] [stderr] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 166 | fn sender(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:170:18 [INFO] [stderr] | [INFO] [stderr] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 170 | fn reply_to(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:174:20 [INFO] [stderr] | [INFO] [stderr] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 174 | fn message_id(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:178:14 [INFO] [stderr] | [INFO] [stderr] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 178 | fn date(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:182:29 [INFO] [stderr] | [INFO] [stderr] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 182 | fn content_description(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:188:22 [INFO] [stderr] | [INFO] [stderr] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 188 | fn unstructured(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/src/line_parser.rs:202:20 [INFO] [stderr] | [INFO] [stderr] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 202 | fn header_end(buf: &[u8]) -> IResult<&[u8], Header<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mime-event` (lib) generated 13 warnings (run `cargo fix --lib -p mime-event` to apply 13 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:180:15 [INFO] [stderr] | [INFO] [stderr] 180 | fn from(from: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 180 | fn from(from: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:184:11 [INFO] [stderr] | [INFO] [stderr] 184 | fn to(to: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 184 | fn to(to: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:188:27 [INFO] [stderr] | [INFO] [stderr] 188 | fn message_id(message_id: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 188 | fn message_id(message_id: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | fn subject(subject: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 192 | fn subject(subject: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:196:15 [INFO] [stderr] | [INFO] [stderr] 196 | fn date(date: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 196 | fn date(date: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mime-event/tests/events.rs:207:16 [INFO] [stderr] | [INFO] [stderr] 207 | fn body(block: &str) -> Event { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 207 | fn body(block: &str) -> Event<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mime-event` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: `mime-event` (test "events") generated 6 warnings (run `cargo fix --test "events" -p mime-event` to apply 6 suggestions) [INFO] [stderr] warning: `mailin` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mailin-099d03400e90ee05) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test parser::tests::auth_empty_plain ... ok [INFO] [stdout] test parser::tests::auth_initial_login ... ok [INFO] [stdout] test parser::tests::auth_empty_login ... ok [INFO] [stdout] test parser::tests::auth_initial_plain ... ok [INFO] [stdout] test smtp::tests::auth_insecure_without_auth ... ok [INFO] [stdout] test smtp::tests::auth_insecure_without_tls ... ok [INFO] [stdout] test smtp::tests::auth_login_param ... ok [INFO] [stdout] test smtp::tests::auth_login_challenge ... ok [INFO] [stdout] test smtp::tests::auth_plain_challenge ... ok [INFO] [stdout] test smtp::tests::auth_plain_param ... ok [INFO] [stdout] test smtp::tests::auth_without_tls ... ok [INFO] [stdout] test smtp::tests::bad_auth_login_param ... ok [INFO] [stdout] test smtp::tests::bad_auth_login_username_challenge ... ok [INFO] [stdout] test smtp::tests::bad_auth_plain_challenge ... ok [INFO] [stdout] test smtp::tests::data ... ok [INFO] [stdout] test smtp::tests::bad_auth_plain_param ... ok [INFO] [stdout] test smtp::tests::domain_badchars ... ok [INFO] [stdout] test smtp::tests::helo_ehlo ... ok [INFO] [stdout] test smtp::tests::helo_noop ... ok [INFO] [stdout] test smtp::tests::data_8bit ... ok [INFO] [stdout] test smtp::tests::mail_from ... ok [INFO] [stdout] test smtp::tests::bad_auth_login_password_challenge ... ok [INFO] [stdout] test smtp::tests::quit ... ok [INFO] [stdout] test smtp::tests::rcpt_to ... ok [INFO] [stdout] test smtp::tests::rset_hello ... ok [INFO] [stdout] test smtp::tests::noauth_denied ... ok [INFO] [stdout] test smtp::tests::dot_stuffed_data ... ok [INFO] [stdout] test smtp::tests::rset_idle ... ok [INFO] [stdout] test smtp::tests::rset_with_auth ... ok [INFO] [stdout] test tests::callbacks ... ok [INFO] [stdout] test smtp::tests::vrfy ... ok [INFO] [stdout] test smtp::tests::auth_ehlo ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- smtp::tests::auth_ehlo stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'smtp::tests::auth_ehlo' (29) panicked at mailin/src/smtp.rs:451:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "250 OK\r\n" [INFO] [stdout] right: "250-server offers extensions:\r\n250-8BITMIME\r\n250 AUTH PLAIN LOGIN\r\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63a352496982 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63a352496982 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63a352496982 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63a352496982 - ::fmt::h8be9aa933f14675f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63a3524a74cf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63a3524a74cf - core::fmt::write::hfd0efbb002ac7eea [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x63a352464453 - std::io::default_write_fmt::hd6d24501f2d7f8d3 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63a352464453 - std::io::Write::write_fmt::h79eca2f72fc24111 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63a3524701f2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63a352474ccf - std::panicking::default_hook::{{closure}}::h8873121c56335b01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x63a352474b61 - std::panicking::default_hook::hbafefc2d196267a2 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x63a35242f2de - as core::ops::function::Fn>::call::ha834d5846f91b30b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x63a35242f2de - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63a3524752df - as core::ops::function::Fn>::call::hbf9b0f7a281291fd [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x63a3524752df - std::panicking::panic_with_hook::h9f5b09d5adc1a745 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x63a35247513a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x63a352470329 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x63a352458c1d - __rustc[b292c645e8102103]::rust_begin_unwind [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x63a3524af050 - core::panicking::panic_fmt::h31cc490ecc8cc1fa [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x63a3524aee03 - core::panicking::assert_failed_inner::h865658b89c1b891d [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x63a3523ecc90 - core::panicking::assert_failed::hb7a0037ed5103c3e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x63a3523fc598 - mailin::smtp::tests::auth_ehlo::hb3f69f0fe4dce28a [INFO] [stdout] at /opt/rustwide/workdir/mailin/src/smtp.rs:451:9 [INFO] [stdout] 22: 0x63a3523fc6f7 - mailin::smtp::tests::auth_ehlo::{{closure}}::h063194776f95c4b1 [INFO] [stdout] at /opt/rustwide/workdir/mailin/src/smtp.rs:444:19 [INFO] [stdout] 23: 0x63a3523e9016 - core::ops::function::FnOnce::call_once::h8c72685ca1a4d70f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x63a35242f0db - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x63a35242f0db - test::__rust_begin_short_backtrace::he551dd004770be01 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x63a35244313d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x63a35244313d - as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x63a35244313d - std::panicking::catch_unwind::do_call::hc37c563b8a006285 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x63a35244313d - std::panicking::catch_unwind::h616b6e2e7a27f612 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x63a35244313d - std::panic::catch_unwind::h1e788dd57758e6d8 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x63a35244313d - test::run_test_in_process::hf073c2764f29f8ad [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x63a35244313d - test::run_test::{{closure}}::h3dc46b7a0c340fa6 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x63a35241c684 - test::run_test::{{closure}}::h6a4da3c57ef4505f [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x63a35241c684 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x63a35241feda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x63a35241feda - as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x63a35241feda - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x63a35241feda - std::panicking::catch_unwind::h8f9f675f3756eab1 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x63a35241feda - std::panic::catch_unwind::he8f74a93abeceb9b [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x63a35241feda - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x63a35241feda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x63a35246b72f - as core::ops::function::FnOnce>::call_once::h6ff05134d80ef20e [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x63a35246b72f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0 [INFO] [stdout] at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7ff5ce46faa4 - [INFO] [stdout] 45: 0x7ff5ce4fca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] smtp::tests::auth_ehlo [INFO] [stdout] [INFO] [stdout] test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p mailin --lib` [INFO] running `Command { std: "docker" "inspect" "cd191e51a1ff614c20ea9d2836e5e2d4751cf8a104844136cea48cf5b20daca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd191e51a1ff614c20ea9d2836e5e2d4751cf8a104844136cea48cf5b20daca4", kill_on_drop: false }` [INFO] [stdout] cd191e51a1ff614c20ea9d2836e5e2d4751cf8a104844136cea48cf5b20daca4