[INFO] fetching crate tirea-state-derive 0.5.0...
[INFO] testing tirea-state-derive-0.5.0 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate tirea-state-derive 0.5.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate tirea-state-derive 0.5.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate tirea-state-derive 0.5.0
[INFO] tweaked toml for crates.io crate tirea-state-derive 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tirea-state-derive 0.5.0 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tirea-state-derive 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4358123ca98c5f5425708207c2c56c4ce811f6713543949efa0ccd5d6073b6b1
[INFO] running `Command { std: "docker" "start" "-a" "4358123ca98c5f5425708207c2c56c4ce811f6713543949efa0ccd5d6073b6b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4358123ca98c5f5425708207c2c56c4ce811f6713543949efa0ccd5d6073b6b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4358123ca98c5f5425708207c2c56c4ce811f6713543949efa0ccd5d6073b6b1", kill_on_drop: false }`
[INFO] [stdout] 4358123ca98c5f5425708207c2c56c4ce811f6713543949efa0ccd5d6073b6b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7585895e0af50ab2c81e92c451b70995e86f8ae09de7add2e0d12277b953a71
[INFO] running `Command { std: "docker" "start" "-a" "d7585895e0af50ab2c81e92c451b70995e86f8ae09de7add2e0d12277b953a71", kill_on_drop: false }`
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling tirea-state-derive v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.45s
[INFO] running `Command { std: "docker" "inspect" "d7585895e0af50ab2c81e92c451b70995e86f8ae09de7add2e0d12277b953a71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7585895e0af50ab2c81e92c451b70995e86f8ae09de7add2e0d12277b953a71", kill_on_drop: false }`
[INFO] [stdout] d7585895e0af50ab2c81e92c451b70995e86f8ae09de7add2e0d12277b953a71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 719a426688c844cfaa580aea55ba56bdcc802c5e24ca080c90ebb174530634c4
[INFO] running `Command { std: "docker" "start" "-a" "719a426688c844cfaa580aea55ba56bdcc802c5e24ca080c90ebb174530634c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v1.0.0+spec-1.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling toml_parser v1.0.9+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling tirea-state-derive v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling trybuild v1.0.116
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 28.35s
[INFO] running `Command { std: "docker" "inspect" "719a426688c844cfaa580aea55ba56bdcc802c5e24ca080c90ebb174530634c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "719a426688c844cfaa580aea55ba56bdcc802c5e24ca080c90ebb174530634c4", kill_on_drop: false }`
[INFO] [stdout] 719a426688c844cfaa580aea55ba56bdcc802c5e24ca080c90ebb174530634c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 71965258e20dbf79e7dd56785711b578242c6b6a5f73c5b3eae4a16f7a532074
[INFO] running `Command { std: "docker" "start" "-a" "71965258e20dbf79e7dd56785711b578242c6b6a5f73c5b3eae4a16f7a532074", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tirea_state_derive-2df1f71b19a620f5)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test field_kind::tests::test_lattice_attr ... ok
[INFO] [stdout] test field_kind::tests::test_map_type ... ok
[INFO] [stdout] test field_kind::tests::test_nested_attr ... ok
[INFO] [stdout] test field_kind::tests::test_primitive_types ... ok
[INFO] [stdout] test field_kind::tests::test_lattice_on_container_stays_container ... ok
[INFO] [stdout] test field_kind::tests::test_vec_type ... ok
[INFO] [stdout] test parse::tests::test_parse_scope_attribute ... ok
[INFO] [stdout] test parse::tests::test_parse_action_attribute ... ok
[INFO] [stdout] test parse::tests::test_parse_with_attributes ... ok
[INFO] [stdout] test field_kind::tests::test_option_type ... ok
[INFO] [stdout] test parse::tests::test_parse_scope_defaults_to_none ... ok
[INFO] [stdout] test parse::tests::test_parse_basic_struct ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-5e7cf203d34a69ae)
[INFO] [stdout] running 2 tests
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking syn v2.0.117
[INFO] [stderr]     Checking darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling tirea-state-derive v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tirea-state-derive-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/tirea-state-derive)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.67s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/derive_lattice_enum.rs ... ok
[INFO] [stderr] test tests/ui/derive_lattice_tuple_struct.rs ... ok
[INFO] [stderr] test tests/ui/derive_lattice_unit_struct.rs ... ok
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test derive_lattice_compile_errors ... ok
[INFO] [stderr]     Checking tirea-state-derive-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/tirea-state-derive)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/lattice_and_flatten.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] and #[tirea(flatten)] cannot be used together.
[INFO] [stderr]  --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]  --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Debug)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]  --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Clone)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice, flatten)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] and #[tirea(flatten)] cannot be used together.
[INFO] [stderr]  --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Debug)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Clone)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice, flatten)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_flatten.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/lattice_and_nested.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] and #[tirea(nested)] cannot be used together.
[INFO] [stderr]  --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]  --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Debug)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]  --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Clone)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice, nested)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] and #[tirea(nested)] cannot be used together.
[INFO] [stderr]  --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: GCounter,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Debug)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Clone)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice, nested)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: GCounter,
[INFO] [stderr]    |            ^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_and_nested.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/lattice_on_map.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]  --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `BTreeMap<K, V, A>`
[INFO] [stderr]  --> $RUST/alloc/src/collections/btree/map.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]   |
[INFO] [stderr] 12+ #[derive(Debug)]
[INFO] [stderr] 13| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]  --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: required for `BTreeMap<std::string::String, GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]   |
[INFO] [stderr] 12+ #[derive(Clone)]
[INFO] [stderr] 13| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `BTreeMap<std::string::String, GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 12 + #[derive(PartialEq)]
[INFO] [stderr] 13 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:6:35
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  7 | struct Bad {
[INFO] [stderr]  8 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<std::string::String, GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<std::string::String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<std::string::String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:6:46
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<std::string::String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `BTreeMap<K, V, A>`
[INFO] [stderr]   --> $RUST/alloc/src/collections/btree/map.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]    |
[INFO] [stderr] 12 + #[derive(Debug)]
[INFO] [stderr] 13 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required for `BTreeMap<String, GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]    |
[INFO] [stderr] 12 + #[derive(Clone)]
[INFO] [stderr] 13 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `BTreeMap<String, GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 12 + #[derive(PartialEq)]
[INFO] [stderr] 13 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:6:35
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  7 | struct Bad {
[INFO] [stderr]  8 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<String, GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 |     field: BTreeMap<String, GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:6:46
[INFO] [stderr]    |
[INFO] [stderr]  6 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_map.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `BTreeMap<String, GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/lattice_on_option.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: Option<GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]  --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: Option<GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `std::option::Option<T>`
[INFO] [stderr]  --> $RUST/core/src/option.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Debug)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]  --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: Option<GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: required for `std::option::Option<GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Clone)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option<GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: Option<GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `std::option::Option<T>`
[INFO] [stderr]   --> $RUST/core/src/option.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Debug)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Clone)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option<GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Option<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_option.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `std::option::Option<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/lattice_on_vec.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: Vec<GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]  --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: Vec<GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `Vec<T, A>`
[INFO] [stderr]  --> $RUST/alloc/src/vec/mod.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Debug)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]  --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]   |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 7 |     field: Vec<GCounter>,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]   |
[INFO] [stderr]   = note: required for `Vec<GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]   |
[INFO] [stderr] 10+ #[derive(Clone)]
[INFO] [stderr] 11| struct GCounter;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `Vec<GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: #[tirea(lattice)] is not supported on Option, Vec, or Map fields.
[INFO] [stderr]  --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 |     field: Vec<GCounter>,
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `GCounter` doesn't implement `Debug`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |          ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: add `#[derive(Debug)]` to `GCounter` or manually `impl Debug for GCounter`
[INFO] [stderr] help: the trait `Debug` is implemented for `Vec<T, A>`
[INFO] [stderr]   --> $RUST/alloc/src/vec/mod.rs
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Debug)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Debug)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: Clone` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                 ----- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `GCounter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Clone`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(Clone)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(Clone)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `Vec<GCounter>`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                        --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: an implementation of `PartialEq` might be missing for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr] help: consider annotating `GCounter` with `#[derive(PartialEq)]`
[INFO] [stderr]    |
[INFO] [stderr] 10 + #[derive(PartialEq)]
[INFO] [stderr] 11 | struct GCounter;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Serialize` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:4:35
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                   ^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]  5 | struct Bad {
[INFO] [stderr]  6 |     #[tirea(lattice)]
[INFO] [stderr]    |     - required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Serialize` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Serialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Serialize`:
[INFO] [stderr]              &'a T
[INFO] [stderr]              &'a mut T
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]              (T0, T1, T2, T3, T4)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Serialize`
[INFO] [stderr] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stderr]    |        --------------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: ?Sized + Serialize;
[INFO] [stderr]    |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_element`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stderr]    |        ------------ required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         T: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  7 |     field: Vec<GCounter>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `next_value`
[INFO] [stderr]   --> $CARGO/serde_core-$VERSION/src/de/mod.rs
[INFO] [stderr]    |
[INFO] [stderr]    |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stderr]    |        ---------- required by a bound in this associated function
[INFO] [stderr]    |     where
[INFO] [stderr]    |         V: Deserialize<'de>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `GCounter: serde::Deserialize<'de>` is not satisfied
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:4:46
[INFO] [stderr]    |
[INFO] [stderr]  4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, State)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stderr]    |
[INFO] [stderr] help: the trait `Deserialize<'_>` is not implemented for `GCounter`
[INFO] [stderr]   --> tests/ui/lattice_on_vec.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct GCounter;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `GCounter` type
[INFO] [stderr]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stderr]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stderr]              &'a Path
[INFO] [stderr]              &'a [u8]
[INFO] [stderr]              &'a str
[INFO] [stderr]              ()
[INFO] [stderr]              (T,)
[INFO] [stderr]              (T0, T1)
[INFO] [stderr]              (T0, T1, T2)
[INFO] [stderr]              (T0, T1, T2, T3)
[INFO] [stderr]            and $N others
[INFO] [stderr]    = note: required for `Vec<GCounter>` to implement `Deserialize<'_>`
[INFO] [stderr] note: required by a bound in `_::_serde::__private228::de::missing_field`
[INFO] [stderr]   --> $CARGO/serde-$VERSION/src/private/de.rs
[INFO] [stderr]    |
[INFO] [stderr]    | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stderr]    |        ------------- required by a bound in this function
[INFO] [stderr]    | where
[INFO] [stderr]    |     V: Deserialize<'de>,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stderr]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test lattice_compile_errors ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- lattice_compile_errors stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'lattice_compile_errors' (31) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stdout] 5 of 5 tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5d9bd0a0646a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d9bd0a0646a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized::<std[128c3efe2914e152]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d9bd0a0646a - std[128c3efe2914e152]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5d9bd0a0646a - <<std[128c3efe2914e152]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5d9bd0a1c8ea - <core[6771d259883166e6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5d9bd0a1c8ea - core[6771d259883166e6]::fmt::write
[INFO] [stdout]    6:     0x5d9bd0a0b4b2 - std[128c3efe2914e152]::io::default_write_fmt::<alloc[fef50e8eecedd288]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5d9bd0a0b4b2 - <alloc[fef50e8eecedd288]::vec::Vec<u8> as std[128c3efe2914e152]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5d9bd09e251f - <std[128c3efe2914e152]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5d9bd09e251f - std[128c3efe2914e152]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5d9bd09fd8e9 - std[128c3efe2914e152]::panicking::default_hook
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5d9bd0997b8c - <alloc[fef50e8eecedd288]::boxed::Box<dyn for<'a, 'b> core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5d9bd0997b8c - test[b137923399915ecf]::test_main_with_exit_callback::<test[b137923399915ecf]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5d9bd09fdaa2 - <alloc[fef50e8eecedd288]::boxed::Box<dyn for<'a, 'b> core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5d9bd09fdaa2 - std[128c3efe2914e152]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5d9bd09e25d8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5d9bd09d74f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace::<std[128c3efe2914e152]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5d9bd09e32ed - __rustc[752cc74e29381ccc]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5d9bd0a1d07c - core[6771d259883166e6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5d9bd08b7d94 - trybuild::run::<impl trybuild::Runner>::run::h1f2b377eacd2bf8d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stdout]   20:     0x5d9bd08b1df8 - <trybuild::TestCases as core::ops::drop::Drop>::drop::hda6c1d2844e16bc9
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stdout]   21:     0x5d9bd07510b7 - core::ptr::drop_in_place<trybuild::TestCases>::h3f2d05b12a942583
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ptr/mod.rs:810:1
[INFO] [stdout]   22:     0x5d9bd0750e03 - compile_fail::lattice_compile_errors::h4c31f109aed9ce71
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:7:1
[INFO] [stdout]   23:     0x5d9bd0750e37 - compile_fail::lattice_compile_errors::{{closure}}::he18342f83df300c0
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile_fail.rs:4:28
[INFO] [stdout]   24:     0x5d9bd0750fd6 - core::ops::function::FnOnce::call_once::h02ff79aa1b1e2863
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5d9bd098bc8b - <fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5d9bd098bc8b - test[b137923399915ecf]::__rust_begin_short_backtrace::<core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5d9bd099865b - test[b137923399915ecf]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5d9bd099865b - <core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<test[b137923399915ecf]::run_test_in_process::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5d9bd099865b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::<core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<test[b137923399915ecf]::run_test_in_process::{closure#0}>, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5d9bd099865b - std[128c3efe2914e152]::panicking::catch_unwind::<core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<test[b137923399915ecf]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5d9bd099865b - std[128c3efe2914e152]::panic::catch_unwind::<core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<test[b137923399915ecf]::run_test_in_process::{closure#0}>, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14
[INFO] [stderr] error: test failed, to rerun pass `--test compile_fail`
[INFO] [stdout]   32:     0x5d9bd099865b - test[b137923399915ecf]::run_test_in_process
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5d9bd099865b - test[b137923399915ecf]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5d9bd0992ab4 - test[b137923399915ecf]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5d9bd0992ab4 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace::<test[b137923399915ecf]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5d9bd099b262 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5d9bd099b262 - <core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5d9bd099b262 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::<core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5d9bd099b262 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5d9bd099b262 - std[128c3efe2914e152]::panic::catch_unwind::<core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe<std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5d9bd099b262 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5d9bd099b262 - <std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked<test[b137923399915ecf]::run_test::{closure#1}, ()>::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5d9bd0a057af - <alloc[fef50e8eecedd288]::boxed::Box<dyn core[6771d259883166e6]::ops::function::FnOnce<(), Output = ()> + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5d9bd0a057af - <std[128c3efe2914e152]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x701e4104caa4 - <unknown>
[INFO] [stdout]   46:     0x701e410d9a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     lattice_compile_errors
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.65s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "71965258e20dbf79e7dd56785711b578242c6b6a5f73c5b3eae4a16f7a532074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71965258e20dbf79e7dd56785711b578242c6b6a5f73c5b3eae4a16f7a532074", kill_on_drop: false }`
[INFO] [stdout] 71965258e20dbf79e7dd56785711b578242c6b6a5f73c5b3eae4a16f7a532074
