[INFO] fetching crate mail-parser 0.9.2... [INFO] checking mail-parser-0.9.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate mail-parser 0.9.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mail-parser 0.9.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mail-parser 0.9.2 [INFO] finished tweaking crates.io crate mail-parser 0.9.2 [INFO] tweaked toml for crates.io crate mail-parser 0.9.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate mail-parser 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded itoa v1.0.6 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded ryu v1.0.13 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded syn v2.0.22 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded encoding_rs v0.8.32 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abaaaaba534a4ac68b754470b697098ae8cc2ae514b4c01f5d5908db2f9882a7 [INFO] running `Command { std: "docker" "start" "-a" "abaaaaba534a4ac68b754470b697098ae8cc2ae514b4c01f5d5908db2f9882a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abaaaaba534a4ac68b754470b697098ae8cc2ae514b4c01f5d5908db2f9882a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abaaaaba534a4ac68b754470b697098ae8cc2ae514b4c01f5d5908db2f9882a7", kill_on_drop: false }` [INFO] [stdout] abaaaaba534a4ac68b754470b697098ae8cc2ae514b4c01f5d5908db2f9882a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a028696cfae3599dfe1a31eb93c0c4aae65d90fc0624f1bac0277c426c0b1cd [INFO] running `Command { std: "docker" "start" "-a" "3a028696cfae3599dfe1a31eb93c0c4aae65d90fc0624f1bac0277c426c0b1cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking mail-parser v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/message.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{borrow::Cow, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Header<'_>: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / bincode::deserialize::>( [INFO] [stdout] 74 | | &bincode::serialize(&message.parts[0].headers).unwrap() [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_________^ the trait `serde::de::Deserialize<'_>` is not implemented for `mail_parser::Header<'_>`, which is required by `Vec>: serde::de::Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 124 others [INFO] [stdout] = note: required for `Vec>` to implement `serde::de::Deserialize<'_>` [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/mailbox_parse_mbox.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", serde_json::to_string(&message).unwrap()); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2145:17 [INFO] [stdout] | [INFO] [stdout] 2143 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2144 | where [INFO] [stdout] 2145 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Header<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | &bincode::serialize(&message.parts[0].headers).unwrap() [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Header<'_>`, which is required by `Vec>: serde::ser::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 124 others [INFO] [stdout] = note: required for `Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (example "mailbox_parse_mbox") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (test "integration_test") due to 3 previous errors [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/message_parse.rs:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | println!("{}", serde_json::to_string_pretty(&message).unwrap()); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (example "message_parse") due to 2 previous errors [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/message.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{borrow::Cow, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Address<'_>: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/parsers/fields/address.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | for test in load_tests("address.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Address<'_>`, which is required by `Address<'_>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = note: required for `Address<'_>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ContentType<'_>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/parsers/fields/content_type.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | for test in load_tests("content_type.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `ContentType<'_>`, which is required by `std::option::Option>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `std::option::Option>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/parsers/fields/date.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | for test in load_tests("date.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime`, which is required by `std::option::Option: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `std::option::Option` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `std::option::Option` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Received<'_>: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/parsers/fields/received.rs:849:21 [INFO] [stdout] | [INFO] [stdout] 849 | for test in load_tests("received.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Received<'_>`, which is required by `Received<'_>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = note: required for `Received<'_>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/parsers/message.rs:623:69 [INFO] [stdout] | [INFO] [stdout] 623 | let json_message = serde_json::to_string_pretty(&message).unwrap(); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/parsers/message.rs:640:69 [INFO] [stdout] | [INFO] [stdout] 640 | let json_message = serde_json::to_string_pretty(&message).unwrap(); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3a028696cfae3599dfe1a31eb93c0c4aae65d90fc0624f1bac0277c426c0b1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a028696cfae3599dfe1a31eb93c0c4aae65d90fc0624f1bac0277c426c0b1cd", kill_on_drop: false }` [INFO] [stdout] 3a028696cfae3599dfe1a31eb93c0c4aae65d90fc0624f1bac0277c426c0b1cd [INFO] checking mail-parser-0.9.2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate mail-parser 0.9.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate mail-parser 0.9.2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mail-parser 0.9.2 [INFO] finished tweaking crates.io crate mail-parser 0.9.2 [INFO] tweaked toml for crates.io crate mail-parser 0.9.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate mail-parser 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cef0f2d79cb49a4d2a551dc64b0f3eb8fba47ec8b7e0982c468a9808d33e9dc [INFO] running `Command { std: "docker" "start" "-a" "5cef0f2d79cb49a4d2a551dc64b0f3eb8fba47ec8b7e0982c468a9808d33e9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cef0f2d79cb49a4d2a551dc64b0f3eb8fba47ec8b7e0982c468a9808d33e9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cef0f2d79cb49a4d2a551dc64b0f3eb8fba47ec8b7e0982c468a9808d33e9dc", kill_on_drop: false }` [INFO] [stdout] 5cef0f2d79cb49a4d2a551dc64b0f3eb8fba47ec8b7e0982c468a9808d33e9dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c46b34ff4144cbc04e46c3aadb93389b96d00f8896f4ca1ff5025b3f9eb6faa [INFO] running `Command { std: "docker" "start" "-a" "9c46b34ff4144cbc04e46c3aadb93389b96d00f8896f4ca1ff5025b3f9eb6faa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking mail-parser v0.9.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/message.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{borrow::Cow, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Migrating examples/mailbox_parse_mbox.rs from 2021 edition to 2024 [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/mailbox_parse_mbox.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", serde_json::to_string(&message).unwrap()); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2145:17 [INFO] [stdout] | [INFO] [stdout] 2143 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2144 | where [INFO] [stdout] 2145 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (example "mailbox_parse_mbox") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/message.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{borrow::Cow, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Address<'_>: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/parsers/fields/address.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | for test in load_tests("address.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Address<'_>`, which is required by `Address<'_>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = note: required for `Address<'_>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ContentType<'_>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/parsers/fields/content_type.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | for test in load_tests("content_type.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `ContentType<'_>`, which is required by `std::option::Option>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `std::option::Option>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DateTime: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/parsers/fields/date.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | for test in load_tests("date.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime`, which is required by `std::option::Option: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `std::option::Option` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `std::option::Option` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Received<'_>: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/parsers/fields/received.rs:849:21 [INFO] [stdout] | [INFO] [stdout] 849 | for test in load_tests("received.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Received<'_>`, which is required by `Received<'_>: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = note: required for `Received<'_>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `load_tests` [INFO] [stdout] --> src/parsers/fields/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn load_tests(test_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `load_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/parsers/message.rs:623:69 [INFO] [stdout] | [INFO] [stdout] 623 | let json_message = serde_json::to_string_pretty(&message).unwrap(); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/parsers/message.rs:640:69 [INFO] [stdout] | [INFO] [stdout] 640 | let json_message = serde_json::to_string_pretty(&message).unwrap(); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (lib test) due to 7 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/message_parse.rs from 2021 edition to 2024 [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Migrating examples/message_write_attachments.rs from 2021 edition to 2024 [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/message_parse.rs:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | println!("{}", serde_json::to_string_pretty(&message).unwrap()); [INFO] [stdout] | ---------------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Message<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.99/src/ser.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2162 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2163 | where [INFO] [stdout] 2164 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mail-parser` (example "message_parse") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Migrating examples/custom_parser.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/mailbox_iterate_maildir.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration_test.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `mail-parser` (test "integration_test") due to 3 previous errors [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Header<'_>: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / bincode::deserialize::>( [INFO] [stdout] 74 | | &bincode::serialize(&message.parts[0].headers).unwrap() [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_________^ the trait `serde::de::Deserialize<'_>` is not implemented for `mail_parser::Header<'_>`, which is required by `Vec>: serde::de::Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 124 others [INFO] [stdout] = note: required for `Vec>` to implement `serde::de::Deserialize<'_>` [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stdout] error[E0277]: the trait bound `mail_parser::Header<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | &bincode::serialize(&message.parts[0].headers).unwrap() [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Header<'_>`, which is required by `Vec>: serde::ser::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 124 others [INFO] [stdout] = note: required for `Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9c46b34ff4144cbc04e46c3aadb93389b96d00f8896f4ca1ff5025b3f9eb6faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c46b34ff4144cbc04e46c3aadb93389b96d00f8896f4ca1ff5025b3f9eb6faa", kill_on_drop: false }` [INFO] [stdout] 9c46b34ff4144cbc04e46c3aadb93389b96d00f8896f4ca1ff5025b3f9eb6faa