[INFO] fetching crate duration-flex 0.2.0... [INFO] testing duration-flex-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate duration-flex 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate duration-flex 0.2.0 [INFO] finished tweaking crates.io crate duration-flex 0.2.0 [INFO] tweaked toml for crates.io crate duration-flex 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate duration-flex 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2e742424779ab3304a45d2e9c3e2da7deef7960dafc2a417607d90e442fd3e9 [INFO] running `Command { std: "docker" "start" "-a" "e2e742424779ab3304a45d2e9c3e2da7deef7960dafc2a417607d90e442fd3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2e742424779ab3304a45d2e9c3e2da7deef7960dafc2a417607d90e442fd3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e742424779ab3304a45d2e9c3e2da7deef7960dafc2a417607d90e442fd3e9", kill_on_drop: false }` [INFO] [stdout] e2e742424779ab3304a45d2e9c3e2da7deef7960dafc2a417607d90e442fd3e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7457ad4f254360ea2a33184d78e5a82063d2aa23a6d0d347033f96ed5bfc11 [INFO] running `Command { std: "docker" "start" "-a" "3c7457ad4f254360ea2a33184d78e5a82063d2aa23a6d0d347033f96ed5bfc11", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling duration-flex v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "3c7457ad4f254360ea2a33184d78e5a82063d2aa23a6d0d347033f96ed5bfc11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7457ad4f254360ea2a33184d78e5a82063d2aa23a6d0d347033f96ed5bfc11", kill_on_drop: false }` [INFO] [stdout] 3c7457ad4f254360ea2a33184d78e5a82063d2aa23a6d0d347033f96ed5bfc11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2afc32957fcd13a41f7b2a6368a12d10c242dc1d99f7dc5ed80db1a7ed8a3823 [INFO] running `Command { std: "docker" "start" "-a" "2afc32957fcd13a41f7b2a6368a12d10c242dc1d99f7dc5ed80db1a7ed8a3823", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling duration-flex v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | assert_de_tokens(&value, &[Token::Str("1w2d")]); [INFO] [stdout] | ---------------- ^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn assert_de_tokens<'de, T>(value: &T, tokens: &'de [Token]) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | assert_de_tokens(&value, &[Token::Str("1w2d3h4m5s")]); [INFO] [stdout] | ---------------- ^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn assert_de_tokens<'de, T>(value: &T, tokens: &'de [Token]) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | assert_de_tokens(&value, &[Token::Str("5s")]); [INFO] [stdout] | ---------------- ^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn assert_de_tokens<'de, T>(value: &T, tokens: &'de [Token]) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | assert_de_tokens(&value, &[Token::Str("2w1d3h4m5s")]); [INFO] [stdout] | ---------------- ^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn assert_de_tokens<'de, T>(value: &T, tokens: &'de [Token]) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | assert_de_tokens(&value, &[Token::Str("2w1d4h4m5s")]); [INFO] [stdout] | ---------------- ^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn assert_de_tokens<'de, T>(value: &T, tokens: &'de [Token]) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | assert_ser_tokens(&value, &[Token::Str("1w2d")]); [INFO] [stdout] | ----------------- ^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assert_ser_tokens(value: &T, tokens: &[Token]) [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ser_tokens(&value, &[Token::Str("1w2d3h4m5s")]); [INFO] [stdout] | ----------------- ^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assert_ser_tokens(value: &T, tokens: &[Token]) [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | assert_ser_tokens(&value, &[Token::Str("5s")]); [INFO] [stdout] | ----------------- ^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assert_ser_tokens(value: &T, tokens: &[Token]) [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ser_tokens(&value, &[Token::Str("2w1d3h4m5s")]); [INFO] [stdout] | ----------------- ^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assert_ser_tokens(value: &T, tokens: &[Token]) [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | assert_ser_tokens(&value, &[Token::Str("2w1d4h4m5s")]); [INFO] [stdout] | ----------------- ^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_test-1.0.177/src/assert.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn assert_ser_tokens(value: &T, tokens: &[Token]) [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `DurationFlex` [INFO] [stdout] 397 | struct SomeStruct { [INFO] [stdout] 398 | duration: DurationFlex, [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 `DurationFlex` 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 129 others [INFO] [stdout] note: required by a bound in `test::in_struct::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | duration: DurationFlex, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | duration: DurationFlex, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DurationFlex: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DurationFlex` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DurationFlex` 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 142 others [INFO] [stdout] note: required by a bound in `test::in_struct::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `duration-flex` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "2afc32957fcd13a41f7b2a6368a12d10c242dc1d99f7dc5ed80db1a7ed8a3823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afc32957fcd13a41f7b2a6368a12d10c242dc1d99f7dc5ed80db1a7ed8a3823", kill_on_drop: false }` [INFO] [stdout] 2afc32957fcd13a41f7b2a6368a12d10c242dc1d99f7dc5ed80db1a7ed8a3823