[INFO] fetching crate emailmessage 0.2.2... [INFO] testing emailmessage-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate emailmessage 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate emailmessage 0.2.2 [INFO] finished tweaking crates.io crate emailmessage 0.2.2 [INFO] tweaked toml for crates.io crate emailmessage 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate emailmessage 0.2.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding hyperx v0.13.2 (available: v1.4.0) [INFO] [stderr] Adding idna v0.1.5 (available: v1.1.0) [INFO] [stderr] Adding quoted_printable v0.4.8 (available: v0.5.1) [INFO] [stderr] Adding textnonce v0.6.5 (available: v1.0.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.42) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d1e50f900cfa086810d178e17bcda8fb091100ace58ee6d8515fcc586b34f99 [INFO] running `Command { std: "docker" "start" "-a" "5d1e50f900cfa086810d178e17bcda8fb091100ace58ee6d8515fcc586b34f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d1e50f900cfa086810d178e17bcda8fb091100ace58ee6d8515fcc586b34f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1e50f900cfa086810d178e17bcda8fb091100ace58ee6d8515fcc586b34f99", kill_on_drop: false }` [INFO] [stdout] 5d1e50f900cfa086810d178e17bcda8fb091100ace58ee6d8515fcc586b34f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d2494b264bcd9f8d3cc1b220110655265727bf852c6edbaaef9d4ccc52a01c [INFO] running `Command { std: "docker" "start" "-a" "40d2494b264bcd9f8d3cc1b220110655265727bf852c6edbaaef9d4ccc52a01c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling hyperx v0.13.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling emailmessage v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | encoder: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn encode_chunk(&mut self, input: &Buf) -> Result; [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] 35 | fn encode_chunk(&mut self, input: &dyn Buf) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn encode_all(&mut self, source: &Buf) -> Result { [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] 45 | fn encode_all(&mut self, source: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn new(source: S, encoder: Box) -> 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] 274 | pub fn new(source: S, encoder: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 74 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 94 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 116 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 199 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 244 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> 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] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mimebody.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | let mut chunk = BytesMut::with_capacity( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mailbox/types.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter<'_, Mailbox> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.36s [INFO] running `Command { std: "docker" "inspect" "40d2494b264bcd9f8d3cc1b220110655265727bf852c6edbaaef9d4ccc52a01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d2494b264bcd9f8d3cc1b220110655265727bf852c6edbaaef9d4ccc52a01c", kill_on_drop: false }` [INFO] [stdout] 40d2494b264bcd9f8d3cc1b220110655265727bf852c6edbaaef9d4ccc52a01c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4a24d8f0b796960d79c297f8295df64e19f5a3f1881a9946a75ed450552299 [INFO] running `Command { std: "docker" "start" "-a" "8d4a24d8f0b796960d79c297f8295df64e19f5a3f1881a9946a75ed450552299", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | encoder: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn encode_chunk(&mut self, input: &Buf) -> Result; [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] 35 | fn encode_chunk(&mut self, input: &dyn Buf) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn encode_all(&mut self, source: &Buf) -> Result { [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] 45 | fn encode_all(&mut self, source: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn new(source: S, encoder: Box) -> 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] 274 | pub fn new(source: S, encoder: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 74 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 94 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 116 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 199 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 244 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> 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] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mimebody.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | let mut chunk = BytesMut::with_capacity( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mailbox/types.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter<'_, Mailbox> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling emailmessage v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | encoder: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn encode_chunk(&mut self, input: &Buf) -> Result; [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] 35 | fn encode_chunk(&mut self, input: &dyn Buf) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn encode_all(&mut self, source: &Buf) -> Result { [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] 45 | fn encode_all(&mut self, source: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn new(source: S, encoder: Box) -> 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] 274 | pub fn new(source: S, encoder: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 74 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 94 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 116 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 199 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [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] 244 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> 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] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mimebody.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | let mut chunk = BytesMut::with_capacity( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mailbox/types.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> Iter<'_, Mailbox> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "8d4a24d8f0b796960d79c297f8295df64e19f5a3f1881a9946a75ed450552299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4a24d8f0b796960d79c297f8295df64e19f5a3f1881a9946a75ed450552299", kill_on_drop: false }` [INFO] [stdout] 8d4a24d8f0b796960d79c297f8295df64e19f5a3f1881a9946a75ed450552299 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b87774e2cea9f32fe5dcdf8d4b2e654d852005f4b1d023f7fd05ad8ae8bcecd6 [INFO] running `Command { std: "docker" "start" "-a" "b87774e2cea9f32fe5dcdf8d4b2e654d852005f4b1d023f7fd05ad8ae8bcecd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:253:18 [INFO] [stderr] | [INFO] [stderr] 253 | encoder: Box, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 253 | encoder: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn encode_chunk(&mut self, input: &Buf) -> Result; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 | fn encode_chunk(&mut self, input: &dyn Buf) -> Result; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:45:39 [INFO] [stderr] | [INFO] [stderr] 45 | fn encode_all(&mut self, source: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 | fn encode_all(&mut self, source: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:274:40 [INFO] [stderr] | [INFO] [stderr] 274 | pub fn new(source: S, encoder: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 274 | pub fn new(source: S, encoder: Box) -> Self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:94:40 [INFO] [stderr] | [INFO] [stderr] 94 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:116:40 [INFO] [stderr] | [INFO] [stderr] 116 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 116 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:199:40 [INFO] [stderr] | [INFO] [stderr] 199 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:244:40 [INFO] [stderr] | [INFO] [stderr] 244 | fn encode_chunk(&mut self, chunk: &Buf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 244 | fn encode_chunk(&mut self, chunk: &dyn Buf) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/encoder.rs:257:69 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 257 | pub fn codec(encoding: Option<&ContentTransferEncoding>) -> Box { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mimebody.rs:648:21 [INFO] [stderr] | [INFO] [stderr] 648 | let mut chunk = BytesMut::with_capacity( [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mailbox/types.rs:172:17 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 172 | pub fn iter(&self) -> Iter<'_, Mailbox> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `emailmessage` (lib) generated 12 warnings (run `cargo fix --lib -p emailmessage` to apply 12 suggestions) [INFO] [stderr] warning: `emailmessage` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emailmessage-1c6f2c6a25cd1ebb) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test encoder::test::base64_encode_all ... ok [INFO] [stdout] test encoder::test::binary_encode ... ok [INFO] [stdout] test encoder::test::base64_encode ... ok [INFO] [stdout] test header::content::test::parse_content_transfer_encoding ... ok [INFO] [stdout] test header::content::test::format_content_transfer_encoding ... ok [INFO] [stdout] test encoder::test::quoted_printable_encode ... ok [INFO] [stdout] test encoder::test::eight_bit_encode ... ok [INFO] [stdout] test header::special::test::format_mime_version ... ok [INFO] [stdout] test encoder::test::seven_bit_encode ... ok [INFO] [stdout] test header::special::test::parse_mime_version ... ok [INFO] [stdout] test header::textual::test::format_ascii ... ok [INFO] [stdout] test encoder::test::base64_encode_chunked ... ok [INFO] [stdout] test header::textual::test::parse_ascii ... ok [INFO] [stdout] test header::textual::test::parse_utf8 ... ok [INFO] [stdout] test header::textual::test::format_utf8 ... ok [INFO] [stdout] test mailbox::types::test::parse_address_only ... ok [INFO] [stdout] test mailbox::types::test::mailbox_format_address_only ... ok [INFO] [stdout] test mailbox::types::test::format_address_with_name_trim ... ok [INFO] [stdout] test header::mailbox::test::format_multi_without_name ... ok [INFO] [stdout] test header::mailbox::test::parse_single_with_utf8_name ... ok [INFO] [stdout] test header::mailbox::test::format_multi_with_name ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_empty_name ... ok [INFO] [stdout] test header::mailbox::test::format_single_with_utf8_name ... ok [INFO] [stdout] test header::mailbox::test::format_single_without_name ... ok [INFO] [stdout] test header::mailbox::test::parse_multi_without_name ... ok [INFO] [stdout] test mailbox::types::test::mailbox_format_address_with_name ... ok [INFO] [stdout] test header::mailbox::test::parse_multi_with_name ... ok [INFO] [stdout] test header::mailbox::test::parse_single_with_name ... ok [INFO] [stdout] test header::mailbox::test::parse_single_without_name ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_name ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_empty_name_trim ... ok [INFO] [stdout] test message::test::date_header ... ok [INFO] [stdout] test header::mailbox::test::format_single_with_name ... ok [INFO] [stdout] test mimebody::test::multi_part_alternative ... ok [INFO] [stdout] test message::test::email_message ... ok [INFO] [stdout] test mimebody::test::single_part_binary ... ok [INFO] [stdout] test mimebody::test::multi_part_mixed ... ok [INFO] [stdout] test message::test::message_to_stream ... ok [INFO] [stdout] test utf8_b::test::decode_ascii ... ok [INFO] [stdout] test utf8_b::test::decode_utf8 ... ok [INFO] [stdout] test mimebody::test::multi_part_mixed_related ... ok [INFO] [stdout] test utf8_b::test::encode_ascii ... ok [INFO] [stdout] test mimebody::test::single_part_quoted_printable ... ok [INFO] [stdout] test mimebody::test::single_part_base64 ... ok [INFO] [stdout] test mailbox::types::test::format_address_with_empty_name ... ok [INFO] [stdout] test utf8_b::test::encode_utf8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests emailmessage [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 224) ... ok [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] test src/lib.rs - (line 107) ... ok [INFO] [stdout] test src/lib.rs - (line 285) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b87774e2cea9f32fe5dcdf8d4b2e654d852005f4b1d023f7fd05ad8ae8bcecd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87774e2cea9f32fe5dcdf8d4b2e654d852005f4b1d023f7fd05ad8ae8bcecd6", kill_on_drop: false }` [INFO] [stdout] b87774e2cea9f32fe5dcdf8d4b2e654d852005f4b1d023f7fd05ad8ae8bcecd6