[INFO] fetching crate merge-struct 0.1.0... [INFO] checking merge-struct-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate merge-struct 0.1.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate merge-struct 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding insta v1.18.2 (available: v1.43.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 968968209c1ccfbad486ec39f073080e5f90075aa5806c644e6ce4b350accecc [INFO] running `Command { std: "docker" "start" "-a" "968968209c1ccfbad486ec39f073080e5f90075aa5806c644e6ce4b350accecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "968968209c1ccfbad486ec39f073080e5f90075aa5806c644e6ce4b350accecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968968209c1ccfbad486ec39f073080e5f90075aa5806c644e6ce4b350accecc", kill_on_drop: false }` [INFO] [stdout] 968968209c1ccfbad486ec39f073080e5f90075aa5806c644e6ce4b350accecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9344eb20f63748a47572b6be719c6f4b6e4fa5d2acc321bed4939f03048364 [INFO] running `Command { std: "docker" "start" "-a" "1f9344eb20f63748a47572b6be719c6f4b6e4fa5d2acc321bed4939f03048364", kill_on_drop: false }` [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: 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] | ^^^^^ the trait `Serialize` is not implemented for `tests::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 132 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: 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] | ^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `tests::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 142 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: 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] | the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `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 132 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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: 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] | ^^^^^ the trait `Serialize` is not implemented for `tests::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 132 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: 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] | ^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `tests::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 142 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: 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] | the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `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 132 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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: Deserialize<'_>` 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] | |_________^ the trait `Deserialize<'_>` is not implemented for `tests::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 142 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.143/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: 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] | ^^^^^ the trait `Serialize` is not implemented for `tests::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 132 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: 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] | ^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `tests::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 142 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: 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] | the trait `Serialize` is not implemented for `tests::Data` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `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 132 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" "1f9344eb20f63748a47572b6be719c6f4b6e4fa5d2acc321bed4939f03048364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9344eb20f63748a47572b6be719c6f4b6e4fa5d2acc321bed4939f03048364", kill_on_drop: false }` [INFO] [stdout] 1f9344eb20f63748a47572b6be719c6f4b6e4fa5d2acc321bed4939f03048364