[INFO] fetching crate dlc-messages 0.7.0... [INFO] checking dlc-messages-0.7.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate dlc-messages 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate dlc-messages 0.7.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dlc-messages 0.7.0 [INFO] finished tweaking crates.io crate dlc-messages 0.7.0 [INFO] tweaked toml for crates.io crate dlc-messages 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secp256k1-zkp v0.11.0 [INFO] [stderr] Downloaded bitcoin-private v0.1.0 [INFO] [stderr] Downloaded dlc v0.7.0 [INFO] [stderr] Downloaded possiblyrandom v0.2.0 [INFO] [stderr] Downloaded miniscript v12.2.0 [INFO] [stderr] Downloaded secp256k1-zkp-sys v0.10.1 [INFO] [stderr] Downloaded lightning v0.0.125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0298eb4d110c3267a82fbf0b12931584915546c2a2bc2bee9e6943b49eab453d [INFO] running `Command { std: "docker" "start" "-a" "0298eb4d110c3267a82fbf0b12931584915546c2a2bc2bee9e6943b49eab453d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0298eb4d110c3267a82fbf0b12931584915546c2a2bc2bee9e6943b49eab453d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0298eb4d110c3267a82fbf0b12931584915546c2a2bc2bee9e6943b49eab453d", kill_on_drop: false }` [INFO] [stdout] 0298eb4d110c3267a82fbf0b12931584915546c2a2bc2bee9e6943b49eab453d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d52db92a264595f1ef3b4fb6b16581dcb682c835b52b5c8d1ccd6ba2aded14a [INFO] running `Command { std: "docker" "start" "-a" "1d52db92a264595f1ef3b4fb6b16581dcb682c835b52b5c8d1ccd6ba2aded14a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking secp256k1-zkp v0.11.0 [INFO] [stderr] Checking lightning-types v0.1.0 [INFO] [stderr] Checking miniscript v12.2.0 [INFO] [stderr] Checking lightning-invoice v0.32.0 [INFO] [stderr] Checking lightning v0.0.125 [INFO] [stderr] Checking dlc v0.7.0 [INFO] [stderr] Checking dlc-messages v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] ... [INFO] [stdout] 285 | read_test!(OfferDlc, input); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `read_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AcceptDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `AcceptDlc` [INFO] [stdout] ... [INFO] [stdout] 291 | read_test!(AcceptDlc, input); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AcceptDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `read_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `SignDlc` [INFO] [stdout] ... [INFO] [stdout] 297 | read_test!(SignDlc, input); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `SignDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `read_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `segmentation::SegmentStart: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `segmentation::SegmentStart` [INFO] [stdout] ... [INFO] [stdout] 303 | read_test!(SegmentStart, input); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `segmentation::SegmentStart` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `read_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `segmentation::SegmentChunk: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `segmentation::SegmentChunk` [INFO] [stdout] ... [INFO] [stdout] 309 | read_test!(SegmentChunk, input); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `segmentation::SegmentChunk` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `read_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:328:29 [INFO] [stdout] | [INFO] [stdout] 328 | let msg: OfferDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AcceptDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | let msg: AcceptDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `AcceptDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AcceptDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AcceptDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | let msg: AcceptDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `AcceptDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AcceptDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `segmentation::SegmentStart: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:357:43 [INFO] [stdout] | [INFO] [stdout] 357 | let segment_start: SegmentStart = serde_json::from_str(input1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `segmentation::SegmentStart` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `segmentation::SegmentStart` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `segmentation::SegmentChunk: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/message_handler.rs:358:43 [INFO] [stdout] | [INFO] [stdout] 358 | let segment_chunk: SegmentChunk = serde_json::from_str(input2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `segmentation::SegmentChunk` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `segmentation::SegmentChunk` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] ... [INFO] [stdout] 614 | roundtrip_test!(OfferDlc, input); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `roundtrip_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AcceptDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `AcceptDlc` [INFO] [stdout] ... [INFO] [stdout] 620 | roundtrip_test!(AcceptDlc, input); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AcceptDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `roundtrip_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | let msg: $type = serde_json::from_str(&$input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `SignDlc` [INFO] [stdout] ... [INFO] [stdout] 626 | roundtrip_test!(SignDlc, input); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `SignDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: this error originates in the macro `roundtrip_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:632:37 [INFO] [stdout] | [INFO] [stdout] 632 | let valid_offer: OfferDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:641:31 [INFO] [stdout] | [INFO] [stdout] 641 | let offer: OfferDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OfferDlc: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:662:31 [INFO] [stdout] | [INFO] [stdout] 662 | let offer: OfferDlc = serde_json::from_str(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OfferDlc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OfferDlc` 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 [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 245 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.133/src/de.rs:2694:8 [INFO] [stdout] | [INFO] [stdout] 2692 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2693 | where [INFO] [stdout] 2694 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dlc-messages` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "1d52db92a264595f1ef3b4fb6b16581dcb682c835b52b5c8d1ccd6ba2aded14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d52db92a264595f1ef3b4fb6b16581dcb682c835b52b5c8d1ccd6ba2aded14a", kill_on_drop: false }` [INFO] [stdout] 1d52db92a264595f1ef3b4fb6b16581dcb682c835b52b5c8d1ccd6ba2aded14a