[INFO] fetching crate emailmessage 0.2.2... [INFO] testing emailmessage-0.2.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate emailmessage 0.2.2 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emailmessage 0.2.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 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.44) [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded hyperx v0.13.2 [INFO] [stderr] Downloaded textnonce v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb47a8b2c12a86f2b8b626572d939b8871a24348d2121f4e98ed04467cf3c76e [INFO] running `Command { std: "docker" "start" "-a" "fb47a8b2c12a86f2b8b626572d939b8871a24348d2121f4e98ed04467cf3c76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb47a8b2c12a86f2b8b626572d939b8871a24348d2121f4e98ed04467cf3c76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb47a8b2c12a86f2b8b626572d939b8871a24348d2121f4e98ed04467cf3c76e", kill_on_drop: false }` [INFO] [stdout] fb47a8b2c12a86f2b8b626572d939b8871a24348d2121f4e98ed04467cf3c76e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa581430ffb1bd1d6fca3dbf58ac1c352fa7e5f1f00af012a55a436e4189229c [INFO] running `Command { std: "docker" "start" "-a" "aa581430ffb1bd1d6fca3dbf58ac1c352fa7e5f1f00af012a55a436e4189229c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [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 mio v0.6.23 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling string v0.2.1 [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 crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling language-tags v0.2.2 [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 quoted_printable v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling regex v1.11.3 [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)]` 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)]` 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 36.95s [INFO] running `Command { std: "docker" "inspect" "aa581430ffb1bd1d6fca3dbf58ac1c352fa7e5f1f00af012a55a436e4189229c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa581430ffb1bd1d6fca3dbf58ac1c352fa7e5f1f00af012a55a436e4189229c", kill_on_drop: false }` [INFO] [stdout] aa581430ffb1bd1d6fca3dbf58ac1c352fa7e5f1f00af012a55a436e4189229c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde13ff2a282ed83bd57bc6be0bab90dc8a4df203dbe0754a373cef8841b1491 [INFO] running `Command { std: "docker" "start" "-a" "bde13ff2a282ed83bd57bc6be0bab90dc8a4df203dbe0754a373cef8841b1491", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` 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)]` 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)]` 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)]` 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 4.20s [INFO] running `Command { std: "docker" "inspect" "bde13ff2a282ed83bd57bc6be0bab90dc8a4df203dbe0754a373cef8841b1491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde13ff2a282ed83bd57bc6be0bab90dc8a4df203dbe0754a373cef8841b1491", kill_on_drop: false }` [INFO] [stdout] bde13ff2a282ed83bd57bc6be0bab90dc8a4df203dbe0754a373cef8841b1491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2e918ed6ae8a405ca0b9d034535d2a976d572a901d1d3b6ee14b7c0bf3441f9 [INFO] running `Command { std: "docker" "start" "-a" "c2e918ed6ae8a405ca0b9d034535d2a976d572a901d1d3b6ee14b7c0bf3441f9", 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)]` 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)]` 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 11 suggestions) [INFO] [stderr] warning: `emailmessage` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emailmessage-ac6a20ea1d79ba79) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test encoder::test::eight_bit_encode ... ok [INFO] [stdout] test encoder::test::binary_encode ... ok [INFO] [stdout] test encoder::test::base64_encode_all ... ok [INFO] [stdout] test encoder::test::quoted_printable_encode ... ok [INFO] [stdout] test encoder::test::base64_encode ... ok [INFO] [stdout] test encoder::test::base64_encode_chunked ... ok [INFO] [stdout] test header::content::test::format_content_transfer_encoding ... ok [INFO] [stdout] test header::content::test::parse_content_transfer_encoding ... ok [INFO] [stdout] test encoder::test::seven_bit_encode ... ok [INFO] [stdout] test header::mailbox::test::parse_single_with_name ... ok [INFO] [stdout] test header::mailbox::test::parse_multi_without_name ... ok [INFO] [stdout] test header::mailbox::test::parse_multi_with_name ... ok [INFO] [stdout] test header::mailbox::test::format_multi_with_name ... ok [INFO] [stdout] test header::special::test::format_mime_version ... ok [INFO] [stdout] test header::mailbox::test::format_single_without_name ... ok [INFO] [stdout] test header::mailbox::test::parse_single_with_utf8_name ... ok [INFO] [stdout] test header::mailbox::test::parse_single_without_name ... ok [INFO] [stdout] test header::mailbox::test::format_multi_without_name ... ok [INFO] [stdout] test header::mailbox::test::format_single_with_utf8_name ... ok [INFO] [stdout] test header::mailbox::test::format_single_with_name ... ok [INFO] [stdout] test header::special::test::parse_mime_version ... ok [INFO] [stdout] test header::textual::test::format_ascii ... ok [INFO] [stdout] test header::textual::test::parse_ascii ... ok [INFO] [stdout] test header::textual::test::format_utf8 ... ok [INFO] [stdout] test mailbox::types::test::format_address_with_empty_name ... ok [INFO] [stdout] test header::textual::test::parse_utf8 ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_empty_name ... ok [INFO] [stdout] test mailbox::types::test::parse_address_only ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_empty_name_trim ... ok [INFO] [stdout] test mailbox::types::test::mailbox_format_address_with_name ... ok [INFO] [stdout] test mailbox::types::test::format_address_with_name_trim ... ok [INFO] [stdout] test mailbox::types::test::mailbox_format_address_only ... ok [INFO] [stdout] test message::test::email_message ... ok [INFO] [stdout] test message::test::date_header ... ok [INFO] [stdout] test message::test::message_to_stream ... ok [INFO] [stdout] test mimebody::test::multi_part_alternative ... ok [INFO] [stdout] test mimebody::test::multi_part_mixed ... ok [INFO] [stdout] test mailbox::types::test::parse_address_with_name ... ok [INFO] [stdout] test mimebody::test::multi_part_mixed_related ... ok [INFO] [stdout] test mimebody::test::single_part_binary ... ok [INFO] [stdout] test mimebody::test::single_part_base64 ... ok [INFO] [stdout] test mimebody::test::single_part_quoted_printable ... ok [INFO] [stdout] test utf8_b::test::decode_utf8 ... ok [INFO] [stdout] test utf8_b::test::encode_ascii ... ok [INFO] [stdout] test utf8_b::test::decode_ascii ... 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.02s [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 285) ... 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] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c2e918ed6ae8a405ca0b9d034535d2a976d572a901d1d3b6ee14b7c0bf3441f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e918ed6ae8a405ca0b9d034535d2a976d572a901d1d3b6ee14b7c0bf3441f9", kill_on_drop: false }` [INFO] [stdout] c2e918ed6ae8a405ca0b9d034535d2a976d572a901d1d3b6ee14b7c0bf3441f9