[INFO] fetching crate merge-struct 0.1.0... [INFO] testing merge-struct-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate merge-struct 0.1.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate merge-struct 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbe9076f137580ba140f0da596a0787105d4a15962cdafc4937f20cc83bb74ff [INFO] running `Command { std: "docker" "start" "-a" "cbe9076f137580ba140f0da596a0787105d4a15962cdafc4937f20cc83bb74ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbe9076f137580ba140f0da596a0787105d4a15962cdafc4937f20cc83bb74ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe9076f137580ba140f0da596a0787105d4a15962cdafc4937f20cc83bb74ff", kill_on_drop: false }` [INFO] [stdout] cbe9076f137580ba140f0da596a0787105d4a15962cdafc4937f20cc83bb74ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9494dba341ec0aa2cf140e2deffe9f025e5b8da2ba5084e2ed69bd7250a4e0f [INFO] running `Command { std: "docker" "start" "-a" "d9494dba341ec0aa2cf140e2deffe9f025e5b8da2ba5084e2ed69bd7250a4e0f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "d9494dba341ec0aa2cf140e2deffe9f025e5b8da2ba5084e2ed69bd7250a4e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9494dba341ec0aa2cf140e2deffe9f025e5b8da2ba5084e2ed69bd7250a4e0f", kill_on_drop: false }` [INFO] [stdout] d9494dba341ec0aa2cf140e2deffe9f025e5b8da2ba5084e2ed69bd7250a4e0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5e78e66e9791461809380de7924e9785a88da85ad3c9927410b314b12fd3796 [INFO] running `Command { std: "docker" "start" "-a" "f5e78e66e9791461809380de7924e9785a88da85ad3c9927410b314b12fd3796", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling merge-struct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [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] | |_________^ 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 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] | |_________^ 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 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] | ^^^^^ 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 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] | ^^^^^ 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 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] | 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 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] | |_________^ 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 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] | |_________^ 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 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] | ^^^^^ 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 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] | ^^^^^ 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 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] | 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 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] | |_________^ 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 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] | |_________^ 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 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] | ^^^^^ 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 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] | ^^^^^ 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 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] | 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 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" "f5e78e66e9791461809380de7924e9785a88da85ad3c9927410b314b12fd3796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e78e66e9791461809380de7924e9785a88da85ad3c9927410b314b12fd3796", kill_on_drop: false }` [INFO] [stdout] f5e78e66e9791461809380de7924e9785a88da85ad3c9927410b314b12fd3796