-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Both crates pass cargo check and are valid when used individually or combined with other crates. However, as soon as I add stylo together with sea-orm, I encounter unusual compiler errors. I've already tried using the next-generation trait solver, but this did not resolve the issue.
I tried this:
[dependencies]
stylo = { version = "0.8.0" }
sea-orm = { version = "1.1.17", default-features = false }I expected to see this happen: Finished dev profile [unoptimized + debuginfo] target(s) in 11.42s
Instead, this happened: Multiple error[E0275] overflow errors like
error[E0275]: overflow evaluating the requirement `GenericCalcNode<Leaf>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/color/component.rs:25:17
|
25 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToShmem)]
| ^^^^^
|
= note: required for `std::boxed::Box<GenericCalcNode<Leaf>>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&std::boxed::Box<GenericCalcNode<Leaf>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&std::boxed::Box<GenericCalcNode<Leaf>>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericTransformOperation<computed::angle::Angle, f32, CSSPixelLength, i32, length_percentage::LengthPercentage>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/custom_properties_map.rs:40:10
|
40 | #[derive(Debug, Clone)]
| ^^^^^
|
= note: required for `OwnedSlice<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, ...>>` to implement `std::fmt::Debug`
= note: 7 redundant requirements hidden
= note: required for `&IndexMap<Atom<AtomStaticSet>, Option<Value<...>>, ...>` to implement `std::fmt::Debug`
= note: required for the cast from `&&IndexMap<Atom<AtomStaticSet>, Option<Value<...>>, ...>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-8edfbe4a6e4dd12f.long-type-13530743951296697762.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericTransformOperation<computed::angle::Angle, f32, CSSPixelLength, i32, length_percentage::LengthPercentage>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/properties_and_values/value.rs:581:17
|
581 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `OwnedSlice<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, ...>>` to implement `std::fmt::Debug`
= note: 5 redundant requirements hidden
= note: required for `&Value<...>` to implement `std::fmt::Debug`
= note: required for the cast from `&&Value<...>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-8edfbe4a6e4dd12f.long-type-13530743951296697762.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `std::boxed::Box<GenericCalcNode<CalcLengthPercentageLeaf>>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/computed/length_percentage.rs:907:12
|
907 | Clone, Debug, Deserialize, MallocSizeOf, Serialize, ToAnimatedZero, ToResolvedValue, ToCss,
| ^^^^^
|
note: required for `GenericCalcNode<CalcLengthPercentageLeaf>` to implement `std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/generics/calc.rs:187:5
|
187 | Debug,
| ^^^^^ unsatisfied trait bound introduced in this `derive` macro
...
196 | pub enum GenericCalcNode<L> {
| ^^^^^^^^^^^^^^^^^^
= note: 1 redundant requirement hidden
= note: required for `&GenericCalcNode<CalcLengthPercentageLeaf>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericCalcNode<CalcLengthPercentageLeaf>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `std::boxed::Box<GenericCalcNode<Leaf>>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/specified/calc.rs:129:17
|
129 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToCss, ToShmem)]
| ^^^^^
|
note: required for `GenericCalcNode<Leaf>` to implement `std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/generics/calc.rs:187:5
|
187 | Debug,
| ^^^^^ unsatisfied trait bound introduced in this `derive` macro
...
196 | pub enum GenericCalcNode<L> {
| ^^^^^^^^^^^^^^^^^^
= note: 1 redundant requirement hidden
= note: required for `&GenericCalcNode<Leaf>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericCalcNode<Leaf>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-e8af7d86571b5602/out/properties.rs:15137:29
|
15137 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToCss, ToTyped)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 4 redundant requirements hidden
= note: required for `&ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, ...>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, ...>>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-8edfbe4a6e4dd12f.long-type-10743478807678153051.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
...Meta
rustc --version --verbose:
rustc --version --verbose
rustc 1.90.0 (1159e78c4 2025-09-14)
binary: rustc
commit-hash: 1159e78c4747b02ef996e55082b704c09b970588
commit-date: 2025-09-14
host: aarch64-apple-darwin
release: 1.90.0
LLVM version: 20.1.8
Backtrace
RUST_BACKTRACE=1 cargo build
Compiling stable_deref_trait v1.2.1
Compiling siphasher v1.0.1
Compiling smallvec v1.15.1
Compiling writeable v0.6.2
Compiling litemap v0.8.1
Compiling serde_core v1.0.228
Compiling libc v0.2.177
Compiling cfg-if v1.0.4
Compiling scopeguard v1.2.0
Compiling num-traits v0.2.19
Compiling zerofrom v0.1.6
Compiling new_debug_unreachable v1.0.6
Compiling precomputed-hash v0.1.1
Compiling dtoa v1.0.10
Compiling lock_api v0.4.14
Compiling yoke v0.8.1
Compiling icu_properties_data v2.1.1
Compiling icu_normalizer_data v2.1.1
Compiling phf_shared v0.11.3
Compiling dtoa-short v0.3.5
Compiling log v0.4.28
Compiling itoa v1.0.15
Compiling derive_more v2.0.1
Compiling smallbitvec v2.6.0
Compiling utf8_iter v1.0.4
Compiling thin-vec v0.2.14
Compiling phf_generator v0.11.3
Compiling zerovec v0.11.5
Compiling zerotrie v0.2.3
Compiling crossbeam-utils v0.8.21
Compiling rustc-hash v2.1.1
Compiling percent-encoding v2.3.2
Compiling bitflags v2.10.0
Compiling phf_codegen v0.11.3
Compiling string_cache_codegen v0.5.4
Compiling phf_macros v0.11.3
Compiling form_urlencoded v1.2.2
Compiling pin-project-lite v0.2.16
Compiling parking_lot_core v0.9.12
Compiling selectors v0.32.0
Compiling void v1.0.2
Compiling icu_locale_data v2.1.1
Compiling crossbeam-epoch v0.9.18
Compiling libm v0.2.15
Compiling futures-core v0.3.31
Compiling parking_lot v0.12.5
Compiling static_assertions v1.1.0
Compiling either v1.15.0
Compiling lazy_static v1.5.0
Compiling ordered-float v4.6.0
Compiling stylo_atoms v0.8.0
Compiling crossbeam-deque v0.8.6
Compiling web_atoms v0.1.3
Compiling stylo v0.8.0
Compiling rayon-core v1.13.0
Compiling icu_segmenter_data v2.1.1
Compiling aliasable v0.1.3
Compiling phf v0.11.3
Compiling pin-utils v0.1.0
Compiling futures-task v0.3.31
Compiling slab v0.4.11
Compiling tinystr v0.8.2
Compiling potential_utf v0.1.4
Compiling hashbrown v0.16.0
Compiling arrayvec v0.7.6
Compiling equivalent v1.0.2
Compiling icu_locale_core v2.1.1
Compiling icu_collections v2.1.1
Compiling tracing-core v0.1.34
Compiling uluru v3.1.0
Compiling core_maths v0.1.1
Compiling rayon v1.11.0
Compiling indexmap v2.12.0
Compiling tracing v0.1.41
Compiling futures-util v0.3.31
Compiling ouroboros v0.18.5
Compiling serde v1.0.228
Compiling sea-query v0.32.7
Compiling async-stream v0.3.6
Compiling icu_provider v2.1.1
Compiling thiserror v2.0.17
Compiling itertools v0.14.0
Compiling num-integer v0.1.46
Compiling string_cache v0.8.9
Compiling icu_properties v2.1.1
Compiling icu_normalizer v2.1.1
Compiling servo_arc v0.4.1
Compiling euclid v0.22.11
Compiling app_units v0.7.8
Compiling icu_locale v2.1.1
Compiling cssparser v0.35.0
Compiling num_cpus v1.17.0
Compiling encoding_rs v0.8.35
Compiling mime v0.3.17
Compiling stylo_config v0.8.0
Compiling matches v0.1.10
Compiling idna_adapter v1.2.1
Compiling atomic_refcell v0.1.13
Compiling strum v0.26.3
Compiling idna v1.1.0
Compiling icu_segmenter v2.1.1
Compiling stylo_static_prefs v0.8.0
Compiling byteorder v1.5.0
Compiling to_shmem v0.2.0
Compiling url v2.5.7
Compiling sea-orm v1.1.17
Compiling stylo_malloc_size_of v0.8.0
Compiling stylo_dom v0.8.0
Compiling stylo_traits v0.8.0
error[E0275]: overflow evaluating the requirement `GenericCalcNode<Leaf>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/color/component.rs:25:17
|
25 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToShmem)]
| ^^^^^
|
= note: required for `std::boxed::Box<GenericCalcNode<Leaf>>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&std::boxed::Box<GenericCalcNode<Leaf>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&std::boxed::Box<GenericCalcNode<Leaf>>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericTransformOperation<computed::angle::Angle, f32, CSSPixelLength, i32, length_percentage::LengthPercentage>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/custom_properties_map.rs:40:10
|
40 | #[derive(Debug, Clone)]
| ^^^^^
|
= note: required for `OwnedSlice<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, ...>>` to implement `std::fmt::Debug`
= note: 7 redundant requirements hidden
= note: required for `&IndexMap<Atom<AtomStaticSet>, Option<Value<...>>, ...>` to implement `std::fmt::Debug`
= note: required for the cast from `&&IndexMap<Atom<AtomStaticSet>, Option<Value<...>>, ...>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-9931116615739545653.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericTransformOperation<computed::angle::Angle, f32, CSSPixelLength, i32, length_percentage::LengthPercentage>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/properties_and_values/value.rs:581:17
|
581 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `OwnedSlice<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, ...>>` to implement `std::fmt::Debug`
= note: 5 redundant requirements hidden
= note: required for `&Value<...>` to implement `std::fmt::Debug`
= note: required for the cast from `&&Value<...>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-9931116615739545653.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `std::boxed::Box<GenericCalcNode<CalcLengthPercentageLeaf>>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/computed/length_percentage.rs:907:12
|
907 | Clone, Debug, Deserialize, MallocSizeOf, Serialize, ToAnimatedZero, ToResolvedValue, ToCss,
| ^^^^^
|
note: required for `GenericCalcNode<CalcLengthPercentageLeaf>` to implement `std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/generics/calc.rs:187:5
|
187 | Debug,
| ^^^^^ unsatisfied trait bound introduced in this `derive` macro
...
196 | pub enum GenericCalcNode<L> {
| ^^^^^^^^^^^^^^^^^^
= note: 1 redundant requirement hidden
= note: required for `&GenericCalcNode<CalcLengthPercentageLeaf>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericCalcNode<CalcLengthPercentageLeaf>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `std::boxed::Box<GenericCalcNode<Leaf>>: std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/specified/calc.rs:129:17
|
129 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToCss, ToShmem)]
| ^^^^^
|
note: required for `GenericCalcNode<Leaf>` to implement `std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/generics/calc.rs:187:5
|
187 | Debug,
| ^^^^^ unsatisfied trait bound introduced in this `derive` macro
...
196 | pub enum GenericCalcNode<L> {
| ^^^^^^^^^^^^^^^^^^
= note: 1 redundant requirement hidden
= note: required for `&GenericCalcNode<Leaf>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericCalcNode<Leaf>` to `&dyn std::fmt::Debug`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:15137:29
|
15137 | #[derive(Clone, Debug, MallocSizeOf, PartialEq, ToCss, ToTyped)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 4 redundant requirements hidden
= note: required for `&ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, ...>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, ...>>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:44316:10
|
44316 | #[derive(Debug, MallocSizeOf)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 6 redundant requirements hidden
= note: required for `&OwnedList<GenericFilter<Angle, f32, f32, CSSPixelLength, ..., ...>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&OwnedList<GenericFilter<Angle, f32, f32, CSSPixelLength, ..., ...>>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:67843:25
|
67843 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 2 redundant requirements hidden
= note: required for `&GenericColor<computed::percentage::Percentage>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericColor<computed::percentage::Percentage>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:68094:25
|
68094 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 2 redundant requirements hidden
= note: required for `&GenericColor<computed::percentage::Percentage>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericColor<computed::percentage::Percentage>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericTransformOperation<computed::angle::Angle, f32, CSSPixelLength, i32, length_percentage::LengthPercentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:68693:25
|
68693 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `OwnedSlice<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, ...>>` to implement `std::fmt::Debug`
= note: 2 redundant requirements hidden
= note: required for `&GenericTransform<GenericTransformOperation<Angle, f32, ..., i32, ...>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericTransform<GenericTransformOperation<Angle, f32, ..., i32, ...>>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-9931116615739545653.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:69604:25
|
69604 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 6 redundant requirements hidden
= note: required for `&OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, ..., ...>>` to implement `std::fmt::Debug`
= note: required for the cast from `&&OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, ..., ...>>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:71096:25
|
71096 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 2 redundant requirements hidden
= note: required for `&GenericColor<computed::percentage::Percentage>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericColor<computed::percentage::Percentage>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `Optional<GenericInset<computed::percentage::Percentage, length_percentage::LengthPercentage>>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:71334:25
|
71334 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
note: required for `GenericAnchorFunction<Percentage, GenericInset<Percentage, LengthPercentage>>` to implement `std::fmt::Debug`
--> /Users/xxx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stylo-0.8.0/values/generics/position.rs:338:5
|
338 | Debug,
| ^^^^^ unsatisfied trait bound introduced in this `derive` macro
...
351 | pub struct GenericAnchorFunction<Percentage, Fallback> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: 3 redundant requirements hidden
= note: required for `&GenericInset<computed::percentage::Percentage, length_percentage::LengthPercentage>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericInset<computed::percentage::Percentage, length_percentage::LengthPercentage>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-1410937979108995732.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `GenericColorMix<GenericColor<computed::percentage::Percentage>, computed::percentage::Percentage>: std::fmt::Debug`
--> /Users/xxx/Code/Experiments/rs_bug_check/target/debug/build/stylo-564a1ed23ea6674b/out/properties.rs:72492:25
|
72492 | #[derive(Clone, Debug, MallocSizeOf, PartialEq)]
| ^^^^^
|
= note: required for `Box<GenericColorMix<GenericColor<Percentage>, Percentage>>` to implement `std::fmt::Debug`
= note: 2 redundant requirements hidden
= note: required for `&GenericColor<computed::percentage::Percentage>` to implement `std::fmt::Debug`
= note: required for the cast from `&&GenericColor<computed::percentage::Percentage>` to `&dyn std::fmt::Debug`
= note: the full name for the type has been written to '/Users/xxx/Code/Experiments/rs_bug_check/target/debug/deps/style-b682a841dec35937.long-type-7945859961858661899.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0275`.
error: could not compile `stylo` (lib) due to 14 previous errors
Metadata
Metadata
Assignees
Labels
No labels