[INFO] fetching crate merge-struct 0.1.0... [INFO] testing merge-struct-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate merge-struct 0.1.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate merge-struct 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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.47.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.8.6 [INFO] [stderr] Downloaded pest_derive v2.8.6 [INFO] [stderr] Downloaded pest_meta v2.8.6 [INFO] [stderr] Downloaded pest v2.8.6 [INFO] [stderr] Downloaded insta v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a183b7b04f9319d9e7b1896fd5e7d8beb0d977e5ec28f4022a0f995e7b2bc8ce [INFO] running `Command { std: "docker" "start" "-a" "a183b7b04f9319d9e7b1896fd5e7d8beb0d977e5ec28f4022a0f995e7b2bc8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a183b7b04f9319d9e7b1896fd5e7d8beb0d977e5ec28f4022a0f995e7b2bc8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a183b7b04f9319d9e7b1896fd5e7d8beb0d977e5ec28f4022a0f995e7b2bc8ce", kill_on_drop: false }` [INFO] [stdout] a183b7b04f9319d9e7b1896fd5e7d8beb0d977e5ec28f4022a0f995e7b2bc8ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00ddad2c5e55929cdfa8b2cf97e609853206051945396861a8c23d9817738c1d [INFO] running `Command { std: "docker" "start" "-a" "00ddad2c5e55929cdfa8b2cf97e609853206051945396861a8c23d9817738c1d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.82s [INFO] running `Command { std: "docker" "inspect" "00ddad2c5e55929cdfa8b2cf97e609853206051945396861a8c23d9817738c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ddad2c5e55929cdfa8b2cf97e609853206051945396861a8c23d9817738c1d", kill_on_drop: false }` [INFO] [stdout] 00ddad2c5e55929cdfa8b2cf97e609853206051945396861a8c23d9817738c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f27b97325c470b05536e103ef499813070618024282a7eca4ac734ab6391c232 [INFO] running `Command { std: "docker" "start" "-a" "f27b97325c470b05536e103ef499813070618024282a7eca4ac734ab6391c232", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling pest_derive v2.8.6 [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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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" "f27b97325c470b05536e103ef499813070618024282a7eca4ac734ab6391c232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27b97325c470b05536e103ef499813070618024282a7eca4ac734ab6391c232", kill_on_drop: false }` [INFO] [stdout] f27b97325c470b05536e103ef499813070618024282a7eca4ac734ab6391c232