[INFO] fetching crate mail-headers-ng 0.6.7... [INFO] checking mail-headers-ng-0.6.7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mail-headers-ng 0.6.7 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate mail-headers-ng 0.6.7 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mail-headers-ng 0.6.7 [INFO] finished tweaking crates.io crate mail-headers-ng 0.6.7 [INFO] tweaked toml for crates.io crate mail-headers-ng 0.6.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.6.0 (available: v0.22.1) [INFO] [stderr] Adding idna v0.1.5 (available: v1.0.2) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding memchr v1.0.2 (available: v2.7.4) [INFO] [stderr] Adding nom v3.2.1 (available: v7.1.3) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.1) [INFO] [stderr] Adding quoted_printable v0.4.8 (available: v0.5.1) [INFO] [stderr] Adding safemem v0.2.0 (available: v0.3.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec-drain-where v1.0.1 [INFO] [stderr] Downloaded vec1 v1.12.1 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded media-type v0.4.0-unstable [INFO] [stderr] Downloaded lut v0.1.0-unstable [INFO] [stderr] Downloaded total-order-multi-map v0.4.6 [INFO] [stderr] Downloaded media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded mail-internals-ng v0.2.4 [INFO] [stderr] Downloaded quoted-string v0.6.1 [INFO] [stderr] Downloaded soft-ascii-string v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4fbad5c445dd15922e7a18d39f86cdad3714b2a67ccbdc223fef331d60a9ac3 [INFO] running `Command { std: "docker" "start" "-a" "b4fbad5c445dd15922e7a18d39f86cdad3714b2a67ccbdc223fef331d60a9ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4fbad5c445dd15922e7a18d39f86cdad3714b2a67ccbdc223fef331d60a9ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4fbad5c445dd15922e7a18d39f86cdad3714b2a67ccbdc223fef331d60a9ac3", kill_on_drop: false }` [INFO] [stdout] b4fbad5c445dd15922e7a18d39f86cdad3714b2a67ccbdc223fef331d60a9ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c12283c4df04c34056f87fa3a3db999f1353def664cb5ab75158d2f0b37c7c3 [INFO] running `Command { std: "docker" "start" "-a" "1c12283c4df04c34056f87fa3a3db999f1353def664cb5ab75158d2f0b37c7c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking vec-drain-where v1.0.1 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking vec1 v1.12.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking soft-ascii-string v1.1.0 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking lut v0.1.0-unstable [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking total-order-multi-map v0.4.6 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Checking media-type v0.4.0-unstable [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mail-internals-ng v0.2.4 [INFO] [stderr] Checking mail-headers-ng v0.6.7 (/opt/rustwide/workdir) [INFO] [stdout] error: testing needs feature `traceing` to be enabled [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | compile_error! { "testing needs feature `traceing` to be enabled" } [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[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[E0432]: unresolved import `owning_ref` [INFO] [stdout] --> src/data/input.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use owning_ref::OwningRef; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `owning_ref_rs::tests::owning_ref` [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] 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/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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | ec_test!{ new, { [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] 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] 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] 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] 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] 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] 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: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] help: if this is an object-safe 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/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 an object-safe 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_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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | 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/phrase_list.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | ec_test!{ some_phrases, { [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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | 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/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] 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | 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/phrase_list.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | ec_test!{ some_phrases_try_from, { [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 an object-safe 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 an object-safe 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/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: 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | #[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:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | #[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/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 an object-safe 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.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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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/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] help: if this is an object-safe 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/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 an object-safe 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/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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn boxed_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `owning_ref_rs::OwningRefMut::<'t, O, T>::map`: unsafe function. can create aliased references [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1916:50 [INFO] [stdout] | [INFO] [stdout] 1916 | let or: BoxRef<_, str> = unsafe { or.map(|_| "hello") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1942:53 [INFO] [stdout] | [INFO] [stdout] 1942 | let mut_s: &'static mut [u8] = unsafe { &mut MUT_S }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1942 | let mut_s: &'static mut [u8] = unsafe { addr_of_mut!(MUT_S) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `owning_ref_rs::OwningRefMut::<'t, O, T>::as_owner`: unsafe function. can create aliased references [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1981:39 [INFO] [stdout] | [INFO] [stdout] 1981 | assert_eq!(&**unsafe { or.as_owner() }, "hello world"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `owning_ref_rs::OwningRefMut::<'t, O, T>::map`: unsafe function. can create aliased references [INFO] [stdout] --> src/owning_ref_rs/mod.rs:2202:46 [INFO] [stdout] | [INFO] [stdout] 2202 | let or: BoxRef<()> = unsafe { or.map(|x| x) }; [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 an object-safe 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] [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] warning: field `owner` is never read [INFO] [stdout] --> src/owning_ref_rs/mod.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct OwningRefMut<'t, O, T: ?Sized> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 277 | owner: O, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:650:19 [INFO] [stdout] | [INFO] [stdout] 616 | impl<'t, O, T: ?Sized> OwningRefMut<'t, O, T> { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 650 | pub unsafe fn new_assert_stable_address(mut o: O) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub unsafe fn map(mut self, f: F) -> OwningRef<'t, O, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 720 | pub fn map_mut(mut self, f: F) -> OwningRefMut<'t, O, U> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub unsafe fn try_map(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 797 | pub fn try_map_mut(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | pub unsafe fn map_owner(self, f: F) -> OwningRefMut<'t, P, T> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 835 | pub fn map_owner_box(self) -> OwningRefMut<'t, Box, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 875 | pub fn erase_owner<'a>(self) -> OwningRefMut<'t, O::Erased, T> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 894 | pub unsafe fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 906 | pub unsafe fn as_owner_mut(&mut self) -> &mut O { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_handle` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:988:15 [INFO] [stdout] | [INFO] [stdout] 979 | pub trait ToHandle { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 988 | unsafe fn to_handle(x: *const Self) -> Self::Handle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_handle_mut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1001:15 [INFO] [stdout] | [INFO] [stdout] 992 | pub trait ToHandleMut { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 1001 | unsafe fn to_handle_mut(x: *const Self) -> Self::HandleMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1013:12 [INFO] [stdout] | [INFO] [stdout] 1004 | / impl OwningHandle [INFO] [stdout] 1005 | | where [INFO] [stdout] 1006 | | O: StableAddress, [INFO] [stdout] 1007 | | O::Target: ToHandle, [INFO] [stdout] 1008 | | H: Deref, [INFO] [stdout] | |_____________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1013 | pub fn new(o: O) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_mut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1025:12 [INFO] [stdout] | [INFO] [stdout] 1018 | / impl OwningHandle [INFO] [stdout] 1019 | | where [INFO] [stdout] 1020 | | O: StableAddress, [INFO] [stdout] 1021 | | O::Target: ToHandleMut, [INFO] [stdout] 1022 | | H: DerefMut, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1025 | pub fn new_mut(o: O) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_fn`, `try_new`, `as_owner`, and `into_owner` are never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1039:12 [INFO] [stdout] | [INFO] [stdout] 1030 | / impl OwningHandle [INFO] [stdout] 1031 | | where [INFO] [stdout] 1032 | | O: StableAddress, [INFO] [stdout] 1033 | | H: Deref, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1039 | pub fn new_with_fn(o: O, f: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1058 | pub fn try_new(o: O, f: F) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1079 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1356:10 [INFO] [stdout] | [INFO] [stdout] 1356 | pub type BoxRef<'u, T, U = T> = OwningRef<'u, Box, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VecRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1358:10 [INFO] [stdout] | [INFO] [stdout] 1358 | pub type VecRef<'u, T, U = T> = OwningRef<'u, Vec, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StringRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1360:10 [INFO] [stdout] | [INFO] [stdout] 1360 | pub type StringRef<'u> = OwningRef<'u, String, str>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RcRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1363:10 [INFO] [stdout] | [INFO] [stdout] 1363 | pub type RcRef<'u, T, U = T> = OwningRef<'u, Rc, U>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ArcRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1365:10 [INFO] [stdout] | [INFO] [stdout] 1365 | pub type ArcRef<'u, T, U = T> = OwningRef<'u, Arc, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RefRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1368:10 [INFO] [stdout] | [INFO] [stdout] 1368 | pub type RefRef<'a, T, U = T> = OwningRef<'a, Ref<'a, T>, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RefMutRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1370:10 [INFO] [stdout] | [INFO] [stdout] 1370 | pub type RefMutRef<'a, T, U = T> = OwningRef<'a, RefMut<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MutexGuardRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1372:10 [INFO] [stdout] | [INFO] [stdout] 1372 | pub type MutexGuardRef<'a, T, U = T> = OwningRef<'a, MutexGuard<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RwLockReadGuardRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1374:10 [INFO] [stdout] | [INFO] [stdout] 1374 | pub type RwLockReadGuardRef<'a, T, U = T> = OwningRef<'a, RwLockReadGuard<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RwLockWriteGuardRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1376:10 [INFO] [stdout] | [INFO] [stdout] 1376 | pub type RwLockWriteGuardRef<'a, T, U = T> = OwningRef<'a, RwLockWriteGuard<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1379:10 [INFO] [stdout] | [INFO] [stdout] 1379 | pub type BoxRefMut<'u, T, U = T> = OwningRefMut<'u, Box, U>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VecRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1381:10 [INFO] [stdout] | [INFO] [stdout] 1381 | pub type VecRefMut<'u, T, U = T> = OwningRefMut<'u, Vec, U>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StringRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1383:10 [INFO] [stdout] | [INFO] [stdout] 1383 | pub type StringRefMut<'u> = OwningRefMut<'u, String, str>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RefMutRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1386:10 [INFO] [stdout] | [INFO] [stdout] 1386 | pub type RefMutRefMut<'a, T, U = T> = OwningRefMut<'a, RefMut<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MutexGuardRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1388:10 [INFO] [stdout] | [INFO] [stdout] 1388 | pub type MutexGuardRefMut<'a, T, U = T> = OwningRefMut<'a, MutexGuard<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RwLockWriteGuardRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1390:10 [INFO] [stdout] | [INFO] [stdout] 1390 | pub type RwLockWriteGuardRefMut<'a, T, U = T> = OwningRefMut<'a, RwLockWriteGuard<'a, T>, U>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErasedBoxRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1412:10 [INFO] [stdout] | [INFO] [stdout] 1412 | pub type ErasedBoxRef<'u, U> = OwningRef<'u, Box, U>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErasedRcRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1414:10 [INFO] [stdout] | [INFO] [stdout] 1414 | pub type ErasedRcRef<'u, U> = OwningRef<'u, Rc, U>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErasedArcRef` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1416:10 [INFO] [stdout] | [INFO] [stdout] 1416 | pub type ErasedArcRef<'u, U> = OwningRef<'u, Arc, U>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErasedBoxRefMut` is never used [INFO] [stdout] --> src/owning_ref_rs/mod.rs:1419:10 [INFO] [stdout] | [INFO] [stdout] 1419 | pub type ErasedBoxRefMut<'u, U> = OwningRefMut<'u, Box, U>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | replace($field, $other.$field.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | |_________- in this macro invocation [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] = note: this warning originates in the macro `impl_replace_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = replace($field, $other.$field.clone()); [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: 56 warnings emitted [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] error: aborting due to 64 previous errors; 56 warnings emitted [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-ng` (lib test) due to 65 previous errors; 56 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c12283c4df04c34056f87fa3a3db999f1353def664cb5ab75158d2f0b37c7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c12283c4df04c34056f87fa3a3db999f1353def664cb5ab75158d2f0b37c7c3", kill_on_drop: false }` [INFO] [stdout] 1c12283c4df04c34056f87fa3a3db999f1353def664cb5ab75158d2f0b37c7c3