[INFO] fetching crate mail-parser 0.11.1... [INFO] checking mail-parser-0.11.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mail-parser 0.11.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mail-parser 0.11.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42c42f2927ca9f61aac7b17f17b55a631503e4f05d70ee9f767ae8957be22ecd [INFO] running `Command { std: "docker" "start" "-a" "42c42f2927ca9f61aac7b17f17b55a631503e4f05d70ee9f767ae8957be22ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42c42f2927ca9f61aac7b17f17b55a631503e4f05d70ee9f767ae8957be22ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c42f2927ca9f61aac7b17f17b55a631503e4f05d70ee9f767ae8957be22ecd", kill_on_drop: false }` [INFO] [stdout] 42c42f2927ca9f61aac7b17f17b55a631503e4f05d70ee9f767ae8957be22ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1338127fa3dd86d10c9ce23598c01f99eed8b865caaa48da8a94320d96a6dfa1 [INFO] running `Command { std: "docker" "start" "-a" "1338127fa3dd86d10c9ce23598c01f99eed8b865caaa48da8a94320d96a6dfa1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling hashify v0.2.6 [INFO] [stderr] Checking mail-parser v0.11.1 (/opt/rustwide/workdir) [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:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | bincode::deserialize::>( [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>` 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 [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>` 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(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[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(value: &T) -> Result [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 `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(value: &T) -> Result [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] [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] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mail-parser` (test "integration_test") due to 2 previous errors [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Address<'_>` [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(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:525:21 [INFO] [stdout] | [INFO] [stdout] 525 | for test in load_tests("content_type.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `ContentType<'_>` [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>` 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:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | 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:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | for test in load_tests("date.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `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` 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:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | 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:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | for test in load_tests("received.json") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Received<'_>` [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(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:578:69 [INFO] [stdout] | [INFO] [stdout] 578 | 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] = 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(value: &T) -> Result [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Message<'_>` [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 [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] | ---------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `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 `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(value: &T) -> Result [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" "1338127fa3dd86d10c9ce23598c01f99eed8b865caaa48da8a94320d96a6dfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1338127fa3dd86d10c9ce23598c01f99eed8b865caaa48da8a94320d96a6dfa1", kill_on_drop: false }` [INFO] [stdout] 1338127fa3dd86d10c9ce23598c01f99eed8b865caaa48da8a94320d96a6dfa1