[INFO] fetching crate mail-internals 0.2.3... [INFO] checking mail-internals-0.2.3 against master#dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 for pr-133502-4 [INFO] extracting crate mail-internals 0.2.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate mail-internals 0.2.3 on toolchain dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mail-internals 0.2.3 [INFO] finished tweaking crates.io crate mail-internals 0.2.3 [INFO] tweaked toml for crates.io crate mail-internals 0.2.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 74 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.3) [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded quoted-string v0.6.1 [INFO] [stderr] Downloaded safemem v0.2.0 [INFO] [stderr] Downloaded media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded vec1 v1.12.1 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded lut v0.1.0-unstable [INFO] [stderr] Downloaded soft-ascii-string v1.1.0 [INFO] [stderr] Downloaded media-type v0.4.0-unstable [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf8c28154a08ea512e915b6f6a156191147e12c3d9e68c5b033052f78829e624 [INFO] running `Command { std: "docker" "start" "-a" "cf8c28154a08ea512e915b6f6a156191147e12c3d9e68c5b033052f78829e624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf8c28154a08ea512e915b6f6a156191147e12c3d9e68c5b033052f78829e624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8c28154a08ea512e915b6f6a156191147e12c3d9e68c5b033052f78829e624", kill_on_drop: false }` [INFO] [stdout] cf8c28154a08ea512e915b6f6a156191147e12c3d9e68c5b033052f78829e624 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53fe29f0c6343d765ffba9b585bc60dc03d30ef985a4693085d0d833496de1da [INFO] running `Command { std: "docker" "start" "-a" "53fe29f0c6343d765ffba9b585bc60dc03d30ef985a4693085d0d833496de1da", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking lut v0.1.0-unstable [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking media-type v0.4.0-unstable [INFO] [stderr] Checking vec1 v1.12.1 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking soft-ascii-string v1.1.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mail-internals v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: testing needs feature `traceing` to be enabled [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | compile_error! { "testing needs feature `traceing` to be enabled" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::TraceToken` [INFO] [stdout] --> src/encoder/mod.rs:807:16 [INFO] [stdout] | [INFO] [stdout] 807 | use super::TraceToken::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `TraceToken` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/grammar.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | '!'...'\'' | [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/grammar.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | '*'...'[' | [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/grammar.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | ']'...'~' => true, [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/grammar.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | 33...90 | [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/grammar.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | 94...126 => true, [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/grammar.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | '#'...'[' | [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/grammar.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | ']'...'~' => true, [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/grammar.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | '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: `...` range patterns are deprecated [INFO] [stdout] --> src/grammar.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | '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/grammar.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | '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/bind/quoted_printable.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | b'0'...b'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: `...` range patterns are deprecated [INFO] [stdout] --> src/bind/quoted_printable.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | b'A'...b'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/bind/quoted_printable.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | b'a'...b'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] error[E0432]: unresolved import `encoder::TraceToken` [INFO] [stdout] --> src/encoder/mod.rs:811:22 [INFO] [stdout] | [INFO] [stdout] 811 | use encoder::TraceToken::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `TraceToken` in `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::super::simplify_trace_tokens` [INFO] [stdout] --> src/encoder/mod.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | use super::super::simplify_trace_tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `simplify_trace_tokens` in `encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::TraceToken` [INFO] [stdout] --> src/encoder/mod.rs:899:19 [INFO] [stdout] | [INFO] [stdout] 899 | use self::TraceToken::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `TraceToken` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | 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/encoder/encodable.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EncodableInHeader { [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] 27 | impl dyn EncodableInHeader { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 27 | impl EncodableInHeader for /* Type */ { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | impl EncodableInHeaderBoxExt 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] 66 | impl EncodableInHeaderBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | impl EncodableInHeaderBoxExt 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] 78 | impl EncodableInHeaderBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | 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/encoder/mod.rs:1682:5 [INFO] [stdout] | [INFO] [stdout] 1682 | ec_test! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/encoder/mod.rs:1694:5 [INFO] [stdout] | [INFO] [stdout] 1694 | ec_test! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ec_test` in this scope [INFO] [stdout] --> src/encoder/mod.rs:1707:5 [INFO] [stdout] | [INFO] [stdout] 1707 | ec_test! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | impl Clone 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] 54 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/grammar.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | '!'...'\'' | [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/grammar.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | '*'...'[' | [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/grammar.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | ']'...'~' => true, [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/grammar.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | 33...90 | [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/grammar.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | 94...126 => true, [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/grammar.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | '#'...'[' | [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/grammar.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | ']'...'~' => true, [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/grammar.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | '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: `...` range patterns are deprecated [INFO] [stdout] --> src/grammar.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | '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/grammar.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | '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/bind/quoted_printable.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | b'0'...b'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: `...` range patterns are deprecated [INFO] [stdout] --> src/bind/quoted_printable.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | b'A'...b'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/bind/quoted_printable.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | b'a'...b'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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | 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/encoder/encodable.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | 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] 122 | 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/encoder/encodable.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | 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/encoder/encodable.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EncodableInHeader { [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] 27 | impl dyn EncodableInHeader { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 27 | impl EncodableInHeader for /* Type */ { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | impl EncodableInHeaderBoxExt 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] 66 | impl EncodableInHeaderBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | impl EncodableInHeaderBoxExt 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] 78 | impl EncodableInHeaderBoxExt for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | 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/encoder/encodable.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | impl Clone 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] 54 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | 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/encoder/encodable.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | 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] 122 | 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/encoder/mod.rs:1732:42 [INFO] [stdout] | [INFO] [stdout] 1732 | 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] 1732 | 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/encoder/mod.rs:1745:42 [INFO] [stdout] | [INFO] [stdout] 1745 | 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] 1745 | 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/encoder/encodable.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | Some( unsafe { &*( self as *const EncodableInHeader as *const T) } ) [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] 38 | Some( unsafe { &*( self as *const dyn EncodableInHeader as *const T) } ) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | Some( unsafe { &mut *( self as *mut EncodableInHeader as *mut T) } ) [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 | Some( unsafe { &mut *( self as *mut dyn EncodableInHeader as *mut T) } ) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let ptr: *mut EncodableInHeader = Box::into_raw(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] 70 | let ptr: *mut dyn EncodableInHeader = Box::into_raw(self); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if EncodableInHeader::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] 69 | if ::is::(&*self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let ptr: *mut EncodableInHeader = Box::into_raw(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] 82 | let ptr: *mut dyn EncodableInHeader = Box::into_raw(self); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if EncodableInHeader::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] 81 | if ::is::(&*self) { [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/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_EncodingErrorKind` [INFO] [stdout] 13 | pub enum EncodingErrorKind { [INFO] [stdout] | ----------------- `EncodingErrorKind` 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/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_EncodingErrorKind` [INFO] [stdout] 13 | pub enum EncodingErrorKind { [INFO] [stdout] | ----------------- `EncodingErrorKind` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | Some( unsafe { &*( self as *const EncodableInHeader as *const T) } ) [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] 38 | Some( unsafe { &*( self as *const dyn EncodableInHeader as *const T) } ) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | Some( unsafe { &mut *( self as *mut EncodableInHeader as *mut T) } ) [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 | Some( unsafe { &mut *( self as *mut dyn EncodableInHeader as *mut T) } ) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let ptr: *mut EncodableInHeader = Box::into_raw(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] 70 | let ptr: *mut dyn EncodableInHeader = Box::into_raw(self); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if EncodableInHeader::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] 69 | if ::is::(&*self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let ptr: *mut EncodableInHeader = Box::into_raw(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] 82 | let ptr: *mut dyn EncodableInHeader = Box::into_raw(self); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/encodable.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if EncodableInHeader::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] 81 | if ::is::(&*self) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:913:32 [INFO] [stdout] | [INFO] [stdout] 913 | assert_eq!(encoder.trace.as_slice(), &[ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1487:32 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_eq!(encoder.trace.len(), 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1502:32 [INFO] [stdout] | [INFO] [stdout] 1502 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1527:32 [INFO] [stdout] | [INFO] [stdout] 1527 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1554:32 [INFO] [stdout] | [INFO] [stdout] 1554 | assert_eq!(encoder.trace, vec![]); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1565:32 [INFO] [stdout] | [INFO] [stdout] 1565 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1583:32 [INFO] [stdout] | [INFO] [stdout] 1583 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1601:32 [INFO] [stdout] | [INFO] [stdout] 1601 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `trace` on type `encoder::EncodingBuffer` [INFO] [stdout] --> src/encoder/mod.rs:1630:32 [INFO] [stdout] | [INFO] [stdout] 1630 | assert_eq!(encoder.trace, vec![ [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `mail_type`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/mod.rs:1753:26 [INFO] [stdout] | [INFO] [stdout] 1753 | let erased: &EncodableInHeader = &tt; [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] 1753 | let erased: &dyn EncodableInHeader = &tt; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/mod.rs:1761:26 [INFO] [stdout] | [INFO] [stdout] 1761 | let erased: &EncodableInHeader = &tt; [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] 1761 | let erased: &dyn EncodableInHeader = &tt; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/mod.rs:1771:30 [INFO] [stdout] | [INFO] [stdout] 1771 | let erased: &mut EncodableInHeader = &mut tt; [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] 1771 | let erased: &mut dyn EncodableInHeader = &mut tt; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder/mod.rs:1782:29 [INFO] [stdout] | [INFO] [stdout] 1782 | let erased: Box = tt; [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] 1782 | let erased: Box = tt; [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-internals` (lib test) due to 17 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53fe29f0c6343d765ffba9b585bc60dc03d30ef985a4693085d0d833496de1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53fe29f0c6343d765ffba9b585bc60dc03d30ef985a4693085d0d833496de1da", kill_on_drop: false }` [INFO] [stdout] 53fe29f0c6343d765ffba9b585bc60dc03d30ef985a4693085d0d833496de1da