[INFO] fetching crate gregorian 0.2.4... [INFO] checking gregorian-0.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gregorian 0.2.4 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate gregorian 0.2.4 [INFO] finished tweaking crates.io crate gregorian 0.2.4 [INFO] tweaked toml for crates.io crate gregorian 0.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gregorian 0.2.4 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dace2adf9a83a6c6c7c1e6dc22198e51524db9497e4c4e61ef5193acec908488 [INFO] running `Command { std: "docker" "start" "-a" "dace2adf9a83a6c6c7c1e6dc22198e51524db9497e4c4e61ef5193acec908488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dace2adf9a83a6c6c7c1e6dc22198e51524db9497e4c4e61ef5193acec908488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dace2adf9a83a6c6c7c1e6dc22198e51524db9497e4c4e61ef5193acec908488", kill_on_drop: false }` [INFO] [stdout] dace2adf9a83a6c6c7c1e6dc22198e51524db9497e4c4e61ef5193acec908488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e448206ff8dff4a6af1ba21452ab75f7847bc041d6b12ee98ba4e3549398cba3 [INFO] running `Command { std: "docker" "start" "-a" "e448206ff8dff4a6af1ba21452ab75f7847bc041d6b12ee98ba4e3549398cba3", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling assert2-macros v0.3.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gregorian v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking assert2 v0.3.16 [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/date.rs:608:19 [INFO] [stdout] | [INFO] [stdout] 608 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/date.rs:608:39 [INFO] [stdout] | [INFO] [stdout] 608 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/month.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/month.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/year.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `serde` is not a crate or module [INFO] [stdout] --> src/year.rs:241:39 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ function `serde` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `date::test::serde::Container: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/date.rs:613:54 [INFO] [stdout] | [INFO] [stdout] 613 | let_assert!(Ok(serialized) = serde_yaml::to_string(&Container { [INFO] [stdout] | ______________________________________---------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 614 | | date: Date::new(2020, Month::January, 2).unwrap(), [INFO] [stdout] 615 | | })); [INFO] [stdout] | |_________^ the trait `serde::ser::Serialize` is not implemented for `date::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `date::test::serde::Container` 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 132 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/ser.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 708 | where [INFO] [stdout] 709 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `date::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/date.rs:618:51 [INFO] [stdout] | [INFO] [stdout] 618 | let_assert!(Ok(parsed) = serde_yaml::from_str::("date: 2020-01-02")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `date::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `date::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `date::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/date.rs:621:47 [INFO] [stdout] | [INFO] [stdout] 621 | let_assert!(Err(e) = serde_yaml::from_str::("date: 2021-02-29")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `date::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `date::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `month::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/month.rs:300:47 [INFO] [stdout] | [INFO] [stdout] 300 | let_assert!(Err(e) = serde_yaml::from_str::("month: 0")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `month::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `month::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `month::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/month.rs:302:47 [INFO] [stdout] | [INFO] [stdout] 302 | let_assert!(Err(e) = serde_yaml::from_str::("month: 13")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `month::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `month::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `month::test::serde::Container: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/month.rs:264:55 [INFO] [stdout] | [INFO] [stdout] 264 | let_assert!(Ok(serialized) = serde_yaml::to_string(&Container { month })); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `month::test::serde::Container` [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 `month::test::serde::Container` 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 132 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/ser.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 708 | where [INFO] [stdout] 709 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `month::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/month.rs:270:58 [INFO] [stdout] | [INFO] [stdout] 270 | let_assert!(Ok(deserialized) = serde_yaml::from_str::(data)); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `month::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `month::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `year::test::serde::Container: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/year.rs:246:54 [INFO] [stdout] | [INFO] [stdout] 246 | let_assert!(Ok(serialized) = serde_yaml::to_string(&Container { [INFO] [stdout] | ______________________________________---------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 247 | | year: Year::new(2020), [INFO] [stdout] 248 | | })); [INFO] [stdout] | |_________^ the trait `serde::ser::Serialize` is not implemented for `year::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `year::test::serde::Container` 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 132 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/ser.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 708 | where [INFO] [stdout] 709 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `year::test::serde::Container: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/year.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | let_assert!(Ok(parsed) = serde_yaml::from_str::("year: 2020")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `year::test::serde::Container` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `year::test::serde::Container` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `year_month::YearMonth: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/year_month.rs:241:54 [INFO] [stdout] | [INFO] [stdout] 241 | let_assert!(Ok(serialized) = serde_yaml::to_string(&YearMonth::new(2020, Month::January))); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `year_month::YearMonth` [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 `year_month::YearMonth` 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 132 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/ser.rs:709:17 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 708 | where [INFO] [stdout] 709 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `year_month::YearMonth: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/year_month.rs:244:51 [INFO] [stdout] | [INFO] [stdout] 244 | let_assert!(Ok(parsed) = serde_yaml::from_str::("year: 2020\nmonth: 1\n")); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `year_month::YearMonth` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `year_month::YearMonth` 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 143 others [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gregorian` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "e448206ff8dff4a6af1ba21452ab75f7847bc041d6b12ee98ba4e3549398cba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e448206ff8dff4a6af1ba21452ab75f7847bc041d6b12ee98ba4e3549398cba3", kill_on_drop: false }` [INFO] [stdout] e448206ff8dff4a6af1ba21452ab75f7847bc041d6b12ee98ba4e3549398cba3