[INFO] fetching crate mail-parser 0.11.1...
[INFO] testing mail-parser-0.11.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate mail-parser 0.11.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate mail-parser 0.11.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate mail-parser 0.11.1
[INFO] tweaked toml for crates.io crate mail-parser 0.11.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mail-parser 0.11.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mail-parser 0.11.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29874966463f75572725dbc3df3acaff0d7b65d07ea1ee5ea69e401f91b0edb6
[INFO] running `Command { std: "docker" "start" "-a" "29874966463f75572725dbc3df3acaff0d7b65d07ea1ee5ea69e401f91b0edb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29874966463f75572725dbc3df3acaff0d7b65d07ea1ee5ea69e401f91b0edb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29874966463f75572725dbc3df3acaff0d7b65d07ea1ee5ea69e401f91b0edb6", kill_on_drop: false }`
[INFO] [stdout] 29874966463f75572725dbc3df3acaff0d7b65d07ea1ee5ea69e401f91b0edb6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10c0f53ed5d922a5cb5286a65e552719e40a135ecb796265dc295135f869cdd6
[INFO] running `Command { std: "docker" "start" "-a" "10c0f53ed5d922a5cb5286a65e552719e40a135ecb796265dc295135f869cdd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling hashify v0.2.6
[INFO] [stderr]    Compiling mail-parser v0.11.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.54s
[INFO] running `Command { std: "docker" "inspect" "10c0f53ed5d922a5cb5286a65e552719e40a135ecb796265dc295135f869cdd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10c0f53ed5d922a5cb5286a65e552719e40a135ecb796265dc295135f869cdd6", kill_on_drop: false }`
[INFO] [stdout] 10c0f53ed5d922a5cb5286a65e552719e40a135ecb796265dc295135f869cdd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c6a7553bc8b378efa75599513530353fccee161c6ce72ec2147bfa5cc17956c
[INFO] running `Command { std: "docker" "start" "-a" "8c6a7553bc8b378efa75599513530353fccee161c6ce72ec2147bfa5cc17956c", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling mail-parser v0.11.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> examples/message_parse.rs:138:49
[INFO] [stdout]      |
[INFO] [stdout]  138 |     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]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `mail_parser::Message<'_>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]                (T,)
[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 131 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2258:17
[INFO] [stdout]      |
[INFO] [stdout] 2256 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2257 | where
[INFO] [stdout] 2258 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[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 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `mail_parser::Header<'_>: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]    --> tests/integration_test.rs:68:32
[INFO] [stdout]     |
[INFO] [stdout]  68 |         bincode::deserialize::<Vec<Header>>(
[INFO] [stdout]     |                                ^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `mail_parser::Header<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `mail_parser::Header<'_>` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]             and 139 others
[INFO] [stdout]     = note: required for `Vec<mail_parser::Header<'_>>` 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-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result<T>
[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::Header<'_>: serde::ser::Serialize` is not satisfied
[INFO] [stdout]    --> tests/integration_test.rs:69:33
[INFO] [stdout]     |
[INFO] [stdout]  69 |             &bincode::serialize(&message.parts[0].headers).unwrap()
[INFO] [stdout]     |              ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `mail_parser::Header<'_>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `mail_parser::Header<'_>` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]               (T,)
[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 128 others
[INFO] [stdout]     = note: required for `Vec<mail_parser::Header<'_>>` 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-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn serialize<T: ?Sized>(value: &T) -> Result<Vec<u8>>
[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] 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 2 previous errors
[INFO] [stdout] error[E0277]: the trait bound `mail_parser::Message<'_>: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> examples/mailbox_parse_mbox.rs:17:46
[INFO] [stdout]      |
[INFO] [stdout]   17 |         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]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `mail_parser::Message<'_>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]                (T,)
[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 131 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[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 1 previous error
[INFO] [stdout] error[E0277]: the trait bound `Address<'_>: DeserializeOwned` is not satisfied
[INFO] [stdout]    --> src/parsers/fields/address.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 |         for test in load_tests("address.json") {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Address<'_>`
[INFO] [stdout]    --> src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub enum Address<'x> {
[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]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]             and 144 others
[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:28:22
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub fn load_tests<T: serde::de::DeserializeOwned>(test_name: &str) -> Vec<Test<T>> {
[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:525:21
[INFO] [stdout]     |
[INFO] [stdout] 525 |         for test in load_tests("content_type.json") {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `ContentType<'_>`
[INFO] [stdout]    --> src/lib.rs:329:1
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub struct ContentType<'x> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ContentType<'_>` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]             and 144 others
[INFO] [stdout]     = note: required for `std::option::Option<ContentType<'_>>` to implement `for<'de> Deserialize<'de>`
[INFO] [stdout]     = note: required for `std::option::Option<ContentType<'_>>` to implement `DeserializeOwned`
[INFO] [stdout] note: required by a bound in `load_tests`
[INFO] [stdout]    --> src/parsers/fields/mod.rs:28:22
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub fn load_tests<T: serde::de::DeserializeOwned>(test_name: &str) -> Vec<Test<T>> {
[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:498:21
[INFO] [stdout]     |
[INFO] [stdout] 498 |         for test in load_tests("date.json") {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `DateTime`
[INFO] [stdout]    --> src/lib.rs:359:1
[INFO] [stdout]     |
[INFO] [stdout] 359 | pub struct DateTime {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]             and 144 others
[INFO] [stdout]     = note: required for `std::option::Option<DateTime>` to implement `for<'de> Deserialize<'de>`
[INFO] [stdout]     = note: required for `std::option::Option<DateTime>` to implement `DeserializeOwned`
[INFO] [stdout] note: required by a bound in `load_tests`
[INFO] [stdout]    --> src/parsers/fields/mod.rs:28:22
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub fn load_tests<T: serde::de::DeserializeOwned>(test_name: &str) -> Vec<Test<T>> {
[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:823:21
[INFO] [stdout]     |
[INFO] [stdout] 823 |         for test in load_tests("received.json") {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Received<'_>`
[INFO] [stdout]    --> src/lib.rs:377:1
[INFO] [stdout]     |
[INFO] [stdout] 377 | pub struct Received<'x> {
[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]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]             and 144 others
[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:28:22
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub fn load_tests<T: serde::de::DeserializeOwned>(test_name: &str) -> Vec<Test<T>> {
[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:578:69
[INFO] [stdout]      |
[INFO] [stdout]  578 |                     let json_message = serde_json::to_string_pretty(&message).unwrap();
[INFO] [stdout]      |                                        ---------------------------- ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                        |
[INFO] [stdout]      |                                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `Message<'_>`
[INFO] [stdout]     --> src/lib.rs:34:1
[INFO] [stdout]      |
[INFO] [stdout]   34 | pub struct Message<'x> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Message<'_>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[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 132 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2258:17
[INFO] [stdout]      |
[INFO] [stdout] 2256 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2257 | where
[INFO] [stdout] 2258 |     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<'_>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/parsers/message.rs:581:49
[INFO] [stdout]      |
[INFO] [stdout]  581 |                     let _: super::Message<'_> = serde_json::from_str(&json_message).unwrap();
[INFO] [stdout]      |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Message<'_>`
[INFO] [stdout]     --> src/lib.rs:34:1
[INFO] [stdout]      |
[INFO] [stdout]   34 | pub struct Message<'x> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Message<'_>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[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]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 143 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8
[INFO] [stdout]      |
[INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2698 | where
[INFO] [stdout] 2699 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Serialize` is not satisfied
[INFO] [stdout]     --> src/parsers/message.rs:598:69
[INFO] [stdout]      |
[INFO] [stdout]  598 |                     let json_message = serde_json::to_string_pretty(&message).unwrap();
[INFO] [stdout]      |                                        ---------------------------- ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                        |
[INFO] [stdout]      |                                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `Message<'_>`
[INFO] [stdout]     --> src/lib.rs:34:1
[INFO] [stdout]      |
[INFO] [stdout]   34 | pub struct Message<'x> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Message<'_>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[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 132 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2258:17
[INFO] [stdout]      |
[INFO] [stdout] 2256 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2257 | where
[INFO] [stdout] 2258 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[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
[INFO] running `Command { std: "docker" "inspect" "8c6a7553bc8b378efa75599513530353fccee161c6ce72ec2147bfa5cc17956c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c6a7553bc8b378efa75599513530353fccee161c6ce72ec2147bfa5cc17956c", kill_on_drop: false }`
[INFO] [stdout] 8c6a7553bc8b378efa75599513530353fccee161c6ce72ec2147bfa5cc17956c
