[INFO] fetching crate mail-headers 0.6.6... [INFO] checking mail-headers-0.6.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mail-headers 0.6.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mail-headers 0.6.6 [INFO] finished tweaking crates.io crate mail-headers 0.6.6 [INFO] tweaked toml for crates.io crate mail-headers 0.6.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mail-headers 0.6.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--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] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec1 v1.12.1 [INFO] [stderr] Downloaded mail-internals v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d29046447a524fe0f3d5038d39a1387a74f9b571339d8e166392b2378c412b5d [INFO] running `Command { std: "docker" "start" "-a" "d29046447a524fe0f3d5038d39a1387a74f9b571339d8e166392b2378c412b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d29046447a524fe0f3d5038d39a1387a74f9b571339d8e166392b2378c412b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29046447a524fe0f3d5038d39a1387a74f9b571339d8e166392b2378c412b5d", kill_on_drop: false }` [INFO] [stdout] d29046447a524fe0f3d5038d39a1387a74f9b571339d8e166392b2378c412b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ba53ccd1e0a781b18e8f131af5cf3abe1e7a4aec3bd89d3c63879d2d8be2ae [INFO] running `Command { std: "docker" "start" "-a" "57ba53ccd1e0a781b18e8f131af5cf3abe1e7a4aec3bd89d3c63879d2d8be2ae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lut v0.1.0-unstable [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking vec1 v1.12.1 [INFO] [stderr] Checking soft-ascii-string v1.1.0 [INFO] [stderr] Checking vec-drain-where v1.0.1 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking total-order-multi-map v0.4.6 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking media-type v0.4.0-unstable [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mail-internals v0.2.3 [INFO] [stderr] Checking mail-headers v0.6.6 (/opt/rustwide/workdir) [INFO] [stdout] error: testing needs feature `traceing` to be enabled [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | compile_error! { "testing needs feature `traceing` to be enabled" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `internals::encoder::TraceToken` [INFO] [stdout] --> src/header_components/word.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | use internals::encoder::TraceToken::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `TraceToken` in `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `internals::encoder::simplify_trace_tokens` [INFO] [stdout] --> src/header_components/word.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use internals::encoder::simplify_trace_tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `simplify_trace_tokens` in `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/date_time.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | ec_test!{ date_time, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | 'a'...'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/header.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | let ptr: *mut (HeaderObj) = Box::into_raw(self); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - let ptr: *mut (HeaderObj) = Box::into_raw(self); [INFO] [stdout] 247 + let ptr: *mut HeaderObj = Box::into_raw(self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | ec_test!{ local_part_simple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | ec_test!{ local_part_quoted, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | ec_test!{ local_part_utf8, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | ec_test!{ domain, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | ec_test!{ domain_international, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | ec_test!{ domain_encoded, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/email.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | ec_test!{ email_simple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/mailbox.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | ec_test!{ email_only, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/mailbox.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | ec_test!{ with_display_text, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/mailbox_list.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | ec_test! { empty_list, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/mailbox_list.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | ec_test! { single, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/mailbox_list.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | ec_test! { multiple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/transfer_encoding.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ec_test! {_7bit, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/transfer_encoding.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | ec_test! {_8bit, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/transfer_encoding.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ec_test!{binary, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/transfer_encoding.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | ec_test!{base64, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/transfer_encoding.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ec_test!{quoted_printable, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | ec_test! { simple_encoding, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | ec_test!{ simple_utf8, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | ec_test!{ encoded_words, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | ec_test!{ eats_cr_lf, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | ec_test!{ at_last_one_fws, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ec_test!{ kinda_keeps_wsp, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | ec_test!{ wsp_only_phrase, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/unstructured.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | ec_test!{ long_mixed_input, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/message_id.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | ec_test!{ new, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | impl HeaderObjTraitBoxExt for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | impl HeaderObjTraitBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/message_id.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | ec_test!{ simple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/message_id.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | ec_test!{ utf8, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/message_id.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | ec_test!{ multipls, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/cfws.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ec_test!{ simple_encode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/date_time.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | ec_test!{ writing_encoded, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox_list.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | ec_test!{ writing_normal, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | ec_test!{ writing_needless_quoted, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | ec_test!{ writing_quoted, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | ec_test!{ writing_quoted_with_escape, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | ec_test!{ writing_quoted_utf8, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox_list.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/transfer_encoding.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | ec_test!{ #[ignore] writing_quoted_needed_encoding, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/unstructured.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/message_id.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/message_id.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/cfws.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/media_type.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | ec_test!{ writing_parts_simple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/path.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/received_token.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/phrase.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/phrase_list.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/media_type.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | ec_test!{ #[ignore] writing_parts_needs_encoding_not_first, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/disposition.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/disposition.rs:216:34 [INFO] [stdout] | [INFO] [stdout] 216 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/raw_unstructured.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/path.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | ec_test!{empty_path, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/path.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ec_test!{simple_path, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | fn as_fail(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn as_fail(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/received_token.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ec_test!{ a_domain, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/received_token.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ec_test!{ a_address, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/received_token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | ec_test!{ a_word, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/received_token.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ec_test!{ a_quoted_word, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/word.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | ec_test!{encode_pseudo_encoded_words, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/word.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | ec_test!{encode_word, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/word.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | ec_test!{quoted_fallback, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/phrase.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | ec_test!{ simple, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/phrase.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ec_test!{ with_encoding, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if HeaderObjTrait::is::(&*self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | if ::is::(&*self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/phrase_list.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | ec_test!{ some_phrases, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/phrase_list.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | ec_test!{ some_simple_phrases_try_from, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/phrase_list.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ec_test!{ some_phrases_try_from, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/disposition.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | ec_test!{ no_params_inline, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/disposition.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | ec_test!{ no_params_attachment, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/disposition.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | ec_test!{ attachment_encode_file_name, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/disposition.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | ec_test!{ attachment_all_params, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/header_components/disposition.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | ec_test!{ inline_file_name_param, { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg_attr(test, macro_use)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg_attr(test, macro_use)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | 'a'...'z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/header.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | let ptr: *mut (HeaderObj) = Box::into_raw(self); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - let ptr: *mut (HeaderObj) = Box::into_raw(self); [INFO] [stdout] 247 + let ptr: *mut HeaderObj = Box::into_raw(self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::DateTime` [INFO] [stdout] --> src/header_components/date_time.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use super::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Email`, `Mailbox`, and `Phrase` [INFO] [stdout] --> src/header_components/mailbox_list.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | use ::header_components::{ Mailbox, Email, Phrase }; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/mailbox_list.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TransferEncoding` [INFO] [stdout] --> src/header_components/transfer_encoding.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use super::TransferEncoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/unstructured.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/cfws.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/media_type.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/path.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::HeaderTryFrom` [INFO] [stdout] --> src/header_components/phrase.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use ::HeaderTryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Phrase` [INFO] [stdout] --> src/header_components/phrase.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use super::Phrase; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/header_components/phrase_list.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/header_components/disposition.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | impl HeaderObjTraitBoxExt for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | impl HeaderObjTraitBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map/mod.rs:726:38 [INFO] [stdout] | [INFO] [stdout] 726 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 726 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/date_time.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/email.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox_list.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/mailbox_list.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/transfer_encoding.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/unstructured.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/message_id.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/message_id.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/cfws.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/media_type.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/path.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/received_token.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/phrase.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/phrase_list.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/disposition.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/disposition.rs:216:34 [INFO] [stdout] | [INFO] [stdout] 216 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_components/raw_unstructured.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | fn as_fail(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn as_fail(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if HeaderObjTrait::is::(&*self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | if ::is::(&*self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_macro.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | let _ = v.map( |en| en as &EncodableInHeader ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | / def_headers! { [INFO] [stdout] 735 | | test_name: validate_header_names, [INFO] [stdout] 736 | | scope: header_components, [INFO] [stdout] 737 | | Subject, unchecked { "Subject" }, RawUnstructured, maxOne, None, [INFO] [stdout] 738 | | Comments, unchecked { "Comments" }, RawUnstructured, multi, None [INFO] [stdout] 739 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `def_headers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_macro.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | let _ = v.map( |en| en as &EncodableInHeader ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | / def_headers! { [INFO] [stdout] 744 | | test_name: validate_header_names, [INFO] [stdout] 745 | | scope: super, [INFO] [stdout] 746 | | Subject, unchecked { "Subject" }, OtherComponent, maxOne, None, [INFO] [stdout] 747 | | Comments, unchecked { "Comments" }, OtherComponent, multi, None [INFO] [stdout] 748 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `def_headers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_macro.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | let _ = v.map( |en| en as &EncodableInHeader ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:751:9 [INFO] [stdout] | [INFO] [stdout] 751 | / def_headers! { [INFO] [stdout] 752 | | test_name: validate_header_names2, [INFO] [stdout] 753 | | scope: super, [INFO] [stdout] 754 | | Comments2, unchecked { "Comments" }, OtherComponent, maxOne, None [INFO] [stdout] 755 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `def_headers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/header_components/date_time.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | Self::new( FixedOffset::east( 3 * 3600 ).ymd( 2013, 8, 6 ).and_hms( 7, 11, modif ) ) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header_components/date_time.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | Self::new( FixedOffset::east( 3 * 3600 ).ymd( 2013, 8, 6 ).and_hms( 7, 11, modif ) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/header_components/date_time.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | Self::new( FixedOffset::east( 3 * 3600 ).ymd( 2013, 8, 6 ).and_hms( 7, 11, modif ) ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `EncodingBuffer` [INFO] [stdout] --> src/header_components/word.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | &simplify_trace_tokens(encoder.trace.into_iter()), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header_components/disposition.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | Utc.ymd( 2013, 8, 6 ).and_hms( 7, 11, modif ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/header_components/disposition.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | Utc.ymd( 2013, 8, 6 ).and_hms( 7, 11, modif ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header_macro.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | let _ = v.map( |en| en as &EncodableInHeader ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/headers.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / def_headers! { [INFO] [stdout] 11 | | test_name: validate_header_names, [INFO] [stdout] 12 | | scope: header_components, [INFO] [stdout] 13 | | /// (rfc5322) [INFO] [stdout] ... | [INFO] [stdout] 114 | | ContentDisposition, unchecked { "Content-Disposition" }, Disposition, maxOne, None [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `def_headers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/name.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidHeaderName` [INFO] [stdout] 112 | #[fail(display = "given name is not a valid header name: {:?}", invalid_name)] [INFO] [stdout] 113 | pub struct InvalidHeaderName { [INFO] [stdout] | ----------------- `InvalidHeaderName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/name.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidHeaderName` [INFO] [stdout] 112 | #[fail(display = "given name is not a valid header name: {:?}", invalid_name)] [INFO] [stdout] 113 | pub struct InvalidHeaderName { [INFO] [stdout] | ----------------- `InvalidHeaderName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HeaderTypeError` [INFO] [stdout] 11 | #[fail(display = "cast error caused by mixing different header implementations for {}", header_name)] [INFO] [stdout] 12 | pub struct HeaderTypeError { [INFO] [stdout] | --------------- `HeaderTypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HeaderTypeError` [INFO] [stdout] 11 | #[fail(display = "cast error caused by mixing different header implementations for {}", header_name)] [INFO] [stdout] 12 | pub struct HeaderTypeError { [INFO] [stdout] | --------------- `HeaderTypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HeaderValidationError` [INFO] [stdout] 39 | pub enum HeaderValidationError { [INFO] [stdout] | --------------------- `HeaderValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HeaderValidationError` [INFO] [stdout] 39 | pub enum HeaderValidationError { [INFO] [stdout] | --------------------- `HeaderValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Copy, Clone, Debug, Fail, PartialEq, Eq, Hash)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BuildInValidationError` [INFO] [stdout] 61 | pub enum BuildInValidationError { [INFO] [stdout] | ---------------------- `BuildInValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Copy, Clone, Debug, Fail, PartialEq, Eq, Hash)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BuildInValidationError` [INFO] [stdout] 61 | pub enum BuildInValidationError { [INFO] [stdout] | ---------------------- `BuildInValidationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn values(&self) -> Values { [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] 186 | pub fn values(&self) -> Values<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn values_mut(&mut self) -> ValuesMut { [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] 191 | pub fn values_mut(&mut self) -> ValuesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:323:42 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn get_untyped(&self, name: H) -> UntypedBodies { [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] 323 | pub fn get_untyped(&self, name: H) -> UntypedBodies<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn get_untyped_mut(&mut self, name: H) -> UntypedBodiesMut { [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] 332 | pub fn get_untyped_mut(&mut self, name: H) -> UntypedBodiesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:338:19 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn get(&self, _type_hint: H) -> TypedBodies [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] 338 | pub fn get(&self, _type_hint: H) -> TypedBodies<'_, H> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn _get(&self) -> TypedBodies [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] 345 | pub fn _get(&self) -> TypedBodies<'_, H> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn get_mut(&mut self, _type_hint: H) -> TypedBodiesMut [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] 353 | pub fn get_mut(&mut self, _type_hint: H) -> TypedBodiesMut<'_, H> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn _get_mut(&mut self) -> TypedBodiesMut [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] 360 | pub fn _get_mut(&mut self) -> TypedBodiesMut<'_, H> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/mod.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter(&self) -> Iter { [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] 458 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/header_components/utils/text_partition.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Fail, PartialEq, Eq, Hash)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PartitionError` [INFO] [stdout] 6 | #[fail(display = "text contained control characters")] [INFO] [stdout] 7 | pub struct PartitionError; [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/header_components/utils/text_partition.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Fail, PartialEq, Eq, Hash)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PartitionError` [INFO] [stdout] 6 | #[fail(display = "text contained control characters")] [INFO] [stdout] 7 | pub struct PartitionError; [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/header_components/file_meta.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / impl_replace_none! { [INFO] [stdout] 76 | | self, other_meta, [INFO] [stdout] 77 | | [file_name, creation_date, modification_date, read_date, size] [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = impl_replace_none! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header_components/email.rs:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn to_ascii_string(&self) -> Result, EncodingError> { [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] 253 | pub fn to_ascii_string(&self) -> Result, EncodingError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-headers` (lib test) due to 63 previous errors; 52 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57ba53ccd1e0a781b18e8f131af5cf3abe1e7a4aec3bd89d3c63879d2d8be2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ba53ccd1e0a781b18e8f131af5cf3abe1e7a4aec3bd89d3c63879d2d8be2ae", kill_on_drop: false }` [INFO] [stdout] 57ba53ccd1e0a781b18e8f131af5cf3abe1e7a4aec3bd89d3c63879d2d8be2ae