[INFO] fetching crate merge-struct 0.1.0... [INFO] testing merge-struct-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate merge-struct 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate merge-struct 0.1.0 [INFO] finished tweaking crates.io crate merge-struct 0.1.0 [INFO] tweaked toml for crates.io crate merge-struct 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate merge-struct 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding insta v1.18.2 (available: v1.43.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f6a3d4689e70bc8091bfabb31e9ecb78e868bbdc0dc284601f0c1d792a8e534 [INFO] running `Command { std: "docker" "start" "-a" "4f6a3d4689e70bc8091bfabb31e9ecb78e868bbdc0dc284601f0c1d792a8e534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f6a3d4689e70bc8091bfabb31e9ecb78e868bbdc0dc284601f0c1d792a8e534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6a3d4689e70bc8091bfabb31e9ecb78e868bbdc0dc284601f0c1d792a8e534", kill_on_drop: false }` [INFO] [stdout] 4f6a3d4689e70bc8091bfabb31e9ecb78e868bbdc0dc284601f0c1d792a8e534 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c9b3fb0df8f66c24594a011652355f6ecd98346a6be8777d1035451438878e [INFO] running `Command { std: "docker" "start" "-a" "89c9b3fb0df8f66c24594a011652355f6ecd98346a6be8777d1035451438878e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "89c9b3fb0df8f66c24594a011652355f6ecd98346a6be8777d1035451438878e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c9b3fb0df8f66c24594a011652355f6ecd98346a6be8777d1035451438878e", kill_on_drop: false }` [INFO] [stdout] 89c9b3fb0df8f66c24594a011652355f6ecd98346a6be8777d1035451438878e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 185820ce79a2f501cb56c667ae71ae9ed6b67cb4db6b0ed2d460ce24302ab190 [INFO] running `Command { std: "docker" "start" "-a" "185820ce79a2f501cb56c667ae71ae9ed6b67cb4db6b0ed2d460ce24302ab190", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling insta v1.18.2 [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `assert_yaml_snapshot`: assert_yaml_snapshot! will require the "yaml" feature. Add the "yaml" feature to your Cargo.toml to silence this warning. [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `assert_yaml_snapshot`: assert_yaml_snapshot! will require the "yaml" feature. Add the "yaml" feature to your Cargo.toml to silence this warning. [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `assert_yaml_snapshot`: assert_yaml_snapshot! will require the "yaml" feature. Add the "yaml" feature to your Cargo.toml to silence this warning. [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `insta::assert_yaml_snapshot`: assert_yaml_snapshot! will require the "yaml" feature. Add the "yaml" feature to your Cargo.toml to silence this warning. [INFO] [stdout] --> src/lib.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | use insta::assert_yaml_snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `insta::deprecated_backtrace_support::backtrace_dummy`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `insta::deprecated_backtrace_support`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `insta::deprecated_backtrace_support::backtrace_dummy`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `insta::deprecated_backtrace_support`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `insta::deprecated_backtrace_support::backtrace_dummy`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `insta::deprecated_backtrace_support`: You are using insta with the deprecated "backtrace" feature. Remove this feature from your Cargo.toml as it will go away in future insta versions. The functionality provided by this feature is now available out of the box. [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::assert_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let left: Data = serde_json::from_str( [INFO] [stdout] | __________________________^ [INFO] [stdout] 150 | | r###" [INFO] [stdout] 151 | | { [INFO] [stdout] 152 | | "is_root": false, [INFO] [stdout] ... | [INFO] [stdout] 155 | | "###, [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | let right: Data = serde_json::from_str( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 159 | | r###" [INFO] [stdout] 160 | | { [INFO] [stdout] 161 | | "is_root": true, [INFO] [stdout] ... | [INFO] [stdout] 175 | | "###, [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [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 141 others [INFO] [stdout] = note: required for `tests::Data` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `insta::_macro_support::serialize_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.18.2/src/serialization.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn serialize_value( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_value` [INFO] [stdout] = note: this error originates in the macro `$crate::_assert_serialized_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | let right: Data = serde_json::from_str( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 183 | | r###" [INFO] [stdout] 184 | | { [INFO] [stdout] 185 | | "is_root": false, [INFO] [stdout] ... | [INFO] [stdout] 188 | | "###, [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let left: Data = serde_json::from_str( [INFO] [stdout] | __________________________^ [INFO] [stdout] 192 | | r###" [INFO] [stdout] 193 | | { [INFO] [stdout] 194 | | "is_root": true, [INFO] [stdout] ... | [INFO] [stdout] 208 | | "###, [INFO] [stdout] 209 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [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 141 others [INFO] [stdout] = note: required for `tests::Data` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `insta::_macro_support::serialize_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.18.2/src/serialization.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn serialize_value( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_value` [INFO] [stdout] = note: this error originates in the macro `$crate::_assert_serialized_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | let left: Data = serde_json::from_str( [INFO] [stdout] | __________________________^ [INFO] [stdout] 217 | | r###" [INFO] [stdout] 218 | | { [INFO] [stdout] 219 | | "is_root": false, [INFO] [stdout] ... | [INFO] [stdout] 233 | | "###, [INFO] [stdout] 234 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let right: Data = serde_json::from_str( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 237 | | r###" [INFO] [stdout] 238 | | { [INFO] [stdout] 239 | | "folders":[], [INFO] [stdout] ... | [INFO] [stdout] 247 | | "###, [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tests::Data` 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 141 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.145/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 `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [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 141 others [INFO] [stdout] = note: required for `tests::Data` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `merge` [INFO] [stdout] --> src/lib.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Data: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | assert_yaml_snapshot!(merge(&left, &right).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tests::Data` 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 130 others [INFO] [stdout] note: required by a bound in `insta::_macro_support::serialize_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.18.2/src/serialization.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn serialize_value( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_value` [INFO] [stdout] = note: this error originates in the macro `$crate::_assert_serialized_snapshot` which comes from the expansion of the macro `assert_yaml_snapshot` (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 `merge-struct` (lib test) due to 21 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "185820ce79a2f501cb56c667ae71ae9ed6b67cb4db6b0ed2d460ce24302ab190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185820ce79a2f501cb56c667ae71ae9ed6b67cb4db6b0ed2d460ce24302ab190", kill_on_drop: false }` [INFO] [stdout] 185820ce79a2f501cb56c667ae71ae9ed6b67cb4db6b0ed2d460ce24302ab190