update changelog #2619
Annotations
31 errors and 4 warnings
|
the method `append_nbt` exists for struct `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/mod.rs#L66
error[E0599]: the method `append_nbt` exists for struct `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/mod.rs:66:55
|
66 | return self.$registry.append_nbt(id, entries);
| ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
...
117 | registry_holder!(dimension_type, enchantment);
| --------------------------------------------- in this macro invocation
...
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ------------------------------------------------ method `append_nbt` not found for this struct
|
::: azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ------------------------------- doesn't satisfy `_: Deserialize`
|
note: trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` was not satisfied
--> azalea-core/src/registry_holder/mod.rs:151:9
|
151 | impl<T: simdnbt::Deserialize> RegistryType<T> {
| ^^^^^^^^^^^^^^^^^^^^ ---------------
| |
| unsatisfied trait bound introduced here
note: the trait `simdnbt::Deserialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:5:1
|
5 | pub trait Deserialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `registry_holder` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ----- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ----- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required for `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>` to implement `std::fmt::Debug`
--> azalea-core/src/registry_holder/mod.rs:138:10
|
138 | #[derive(Debug, Clone)]
| ^^^^^
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| -------------------- unsatisfied trait bound introduced in this `derive` macro
= note: required for the cast from `®istry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>` to `&dyn std::fmt::Debug`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ------- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the method `to_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/dimension_type.rs#L123
error[E0599]: the method `to_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/dimension_type.rs:123:48
|
123 | compound.insert("value", value.to_nbt_tag());
| ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
...
135 | pub struct MonsterSpawnLightLevelValues {
| --------------------------------------- method `to_nbt_tag` not found for this struct because it doesn't satisfy `_: Serialize` or `_: ToNbtTag`
|
= note: the following trait bounds were not satisfied:
`registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
`®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
`&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
note: the trait `simdnbt::Serialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:13:1
|
13 | pub trait Serialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_nbt_tag`, perhaps you need to implement it:
candidate #1: `simdnbt::ToNbtTag`
|
|
the function or associated item `from_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/dimension_type.rs#L108
error[E0599]: the function or associated item `from_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/dimension_type.rs:108:55
|
108 | let value = MonsterSpawnLightLevelValues::from_nbt_tag(value.get("value")?)?;
| ^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds
...
135 | pub struct MonsterSpawnLightLevelValues {
| --------------------------------------- function or associated item `from_nbt_tag` not found for this struct because it doesn't satisfy `_: Deserialize` or `_: FromNbtTag`
|
= note: the following trait bounds were not satisfied:
`registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
`®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
`&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
note: the trait `simdnbt::Deserialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:5:1
|
5 | pub trait Deserialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `from_nbt_tag`, perhaps you need to implement it:
candidate #1: `simdnbt::FromNbtTag`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L192
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:192:33
|
192 | impl RegistryDeserializesTo for dimension_type::DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryDeserializesTo`
--> azalea-core/src/registry_holder/mod.rs:171:35
|
171 | pub trait RegistryDeserializesTo: simdnbt::Deserialize {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryDeserializesTo`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:25
|
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/data_registry.rs#L45
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/data_registry.rs:45:39
|
45 | azalea_registry::DimensionType => registry_holder::dimension_type::DimensionTypeElement,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required for `<azalea_registry::DimensionType as data_registry::ResolvableDataRegistry>::DeserializesTo` to implement `registry_holder::RegistryDeserializesTo`
--> azalea-core/src/registry_holder/mod.rs:171:11
|
171 | pub trait RegistryDeserializesTo: simdnbt::Deserialize {
| ^^^^^^^^^^^^^^^^^^^^^^
note: required by a bound in `data_registry::ResolvableDataRegistry::DeserializesTo`
--> azalea-core/src/data_registry.rs:10:26
|
10 | type DeserializesTo: RegistryDeserializesTo;
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ResolvableDataRegistry::DeserializesTo`
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L243
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:243:18
|
243 | pub pattern: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L236
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:236:18
|
236 | pub options: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
failed to resolve: use of undeclared type `NbtTag`:
azalea-core/src/registry_holder/dimension_type.rs#L175
error[E0433]: failed to resolve: use of undeclared type `NbtTag`
--> azalea-core/src/registry_holder/dimension_type.rs:175:27
|
175 | Self::Snow => NbtTag::String("snow".into()),
| ^^^^^^ use of undeclared type `NbtTag`
|
help: a trait with a similar name exists
|
175 | Self::Snow => ToNbtTag::String("snow".into()),
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
failed to resolve: use of undeclared type `NbtTag`:
azalea-core/src/registry_holder/dimension_type.rs#L174
error[E0433]: failed to resolve: use of undeclared type `NbtTag`
--> azalea-core/src/registry_holder/dimension_type.rs:174:27
|
174 | Self::Rain => NbtTag::String("rain".into()),
| ^^^^^^ use of undeclared type `NbtTag`
|
help: a trait with a similar name exists
|
174 | Self::Rain => ToNbtTag::String("rain".into()),
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
failed to resolve: use of undeclared type `NbtTag`:
azalea-core/src/registry_holder/dimension_type.rs#L173
error[E0433]: failed to resolve: use of undeclared type `NbtTag`
--> azalea-core/src/registry_holder/dimension_type.rs:173:27
|
173 | Self::None => NbtTag::String("none".into()),
| ^^^^^^ use of undeclared type `NbtTag`
|
help: a trait with a similar name exists
|
173 | Self::None => ToNbtTag::String("none".into()),
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
cannot find type `NbtTag` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L171
error[E0412]: cannot find type `NbtTag` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:171:28
|
171 | fn to_nbt_tag(self) -> NbtTag {
| ^^^^^^
|
::: /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:33:1
|
33 | pub trait ToNbtTag: Sized {
| ------------------------- similarly named trait `ToNbtTag` defined here
|
help: a trait with a similar name exists
|
171 | fn to_nbt_tag(self) -> ToNbtTag {
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L16
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:16:35
|
16 | pub override_armor_materials: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
clippy_check
Clippy had exited with the 101 exit code
|
|
the method `append_nbt` exists for struct `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/mod.rs#L66
error[E0599]: the method `append_nbt` exists for struct `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/mod.rs:66:55
|
66 | return self.$registry.append_nbt(id, entries);
| ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
...
117 | registry_holder!(dimension_type, enchantment);
| --------------------------------------------- in this macro invocation
...
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ------------------------------------------------ method `append_nbt` not found for this struct
|
::: azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ------------------------------- doesn't satisfy `_: Deserialize`
|
note: trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` was not satisfied
--> azalea-core/src/registry_holder/mod.rs:151:9
|
151 | impl<T: simdnbt::Deserialize> RegistryType<T> {
| ^^^^^^^^^^^^^^^^^^^^ ---------------
| |
| unsatisfied trait bound introduced here
note: the trait `simdnbt::Deserialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:5:1
|
5 | pub trait Deserialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `registry_holder` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ----- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ----- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required for `registry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>` to implement `std::fmt::Debug`
--> azalea-core/src/registry_holder/mod.rs:138:10
|
138 | #[derive(Debug, Clone)]
| ^^^^^
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| -------------------- unsatisfied trait bound introduced in this `derive` macro
= note: required for the cast from `®istry_holder::RegistryType<registry_holder::dimension_type::DimensionTypeElement>` to `&dyn std::fmt::Debug`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:5
|
34 | #[derive(Default, Debug, Clone)]
| ------- in this derive macro expansion
...
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the method `to_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/dimension_type.rs#L123
error[E0599]: the method `to_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/dimension_type.rs:123:48
|
123 | compound.insert("value", value.to_nbt_tag());
| ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
...
135 | pub struct MonsterSpawnLightLevelValues {
| --------------------------------------- method `to_nbt_tag` not found for this struct because it doesn't satisfy `_: Serialize` or `_: ToNbtTag`
|
= note: the following trait bounds were not satisfied:
`registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
`®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
`&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Serialize`
which is required by `&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::ToNbtTag`
note: the trait `simdnbt::Serialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:13:1
|
13 | pub trait Serialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_nbt_tag`, perhaps you need to implement it:
candidate #1: `simdnbt::ToNbtTag`
|
|
the function or associated item `from_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied:
azalea-core/src/registry_holder/dimension_type.rs#L108
error[E0599]: the function or associated item `from_nbt_tag` exists for struct `registry_holder::dimension_type::MonsterSpawnLightLevelValues`, but its trait bounds were not satisfied
--> azalea-core/src/registry_holder/dimension_type.rs:108:55
|
108 | let value = MonsterSpawnLightLevelValues::from_nbt_tag(value.get("value")?)?;
| ^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds
...
135 | pub struct MonsterSpawnLightLevelValues {
| --------------------------------------- function or associated item `from_nbt_tag` not found for this struct because it doesn't satisfy `_: Deserialize` or `_: FromNbtTag`
|
= note: the following trait bounds were not satisfied:
`registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
`®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `®istry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
`&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::Deserialize`
which is required by `&mut registry_holder::dimension_type::MonsterSpawnLightLevelValues: simdnbt::FromNbtTag`
note: the trait `simdnbt::Deserialize` must be implemented
--> /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:5:1
|
5 | pub trait Deserialize: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `from_nbt_tag`, perhaps you need to implement it:
candidate #1: `simdnbt::FromNbtTag`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L192
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:192:33
|
192 | impl RegistryDeserializesTo for dimension_type::DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryDeserializesTo`
--> azalea-core/src/registry_holder/mod.rs:171:35
|
171 | pub trait RegistryDeserializesTo: simdnbt::Deserialize {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryDeserializesTo`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/registry_holder/mod.rs#L42
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/registry_holder/mod.rs:42:25
|
42 | pub dimension_type: RegistryType<dimension_type::DimensionTypeElement>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required by a bound in `registry_holder::RegistryType`
--> azalea-core/src/registry_holder/mod.rs:139:28
|
139 | pub struct RegistryType<T: simdnbt::Deserialize> {
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RegistryType`
|
|
the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied:
azalea-core/src/data_registry.rs#L45
error[E0277]: the trait bound `registry_holder::dimension_type::DimensionTypeElement: simdnbt::Deserialize` is not satisfied
--> azalea-core/src/data_registry.rs:45:39
|
45 | azalea_registry::DimensionType => registry_holder::dimension_type::DimensionTypeElement,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `simdnbt::Deserialize` is not implemented for `registry_holder::dimension_type::DimensionTypeElement`
--> azalea-core/src/registry_holder/dimension_type.rs:53:1
|
53 | pub struct DimensionTypeElement {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the following other types implement trait `simdnbt::Deserialize`:
azalea_chat::style::Style
position::Vec2
registry_holder::block_predicate::BlockPredicate
registry_holder::block_state_provider::BlockStateProvider
registry_holder::components::AmmoUse
registry_holder::components::ArmorEffectiveness
registry_holder::components::BlockExperience
registry_holder::components::ConditionalEffect<T>
and 51 others
note: required for `<azalea_registry::DimensionType as data_registry::ResolvableDataRegistry>::DeserializesTo` to implement `registry_holder::RegistryDeserializesTo`
--> azalea-core/src/registry_holder/mod.rs:171:11
|
171 | pub trait RegistryDeserializesTo: simdnbt::Deserialize {
| ^^^^^^^^^^^^^^^^^^^^^^
note: required by a bound in `data_registry::ResolvableDataRegistry::DeserializesTo`
--> azalea-core/src/data_registry.rs:10:26
|
10 | type DeserializesTo: RegistryDeserializesTo;
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ResolvableDataRegistry::DeserializesTo`
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L243
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:243:18
|
243 | pub pattern: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L236
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:236:18
|
236 | pub options: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
failed to resolve: use of undeclared type `NbtTag`:
azalea-core/src/registry_holder/dimension_type.rs#L175
error[E0433]: failed to resolve: use of undeclared type `NbtTag`
--> azalea-core/src/registry_holder/dimension_type.rs:175:27
|
175 | Self::Snow => NbtTag::String("snow".into()),
| ^^^^^^ use of undeclared type `NbtTag`
|
help: a trait with a similar name exists
|
175 | Self::Snow => ToNbtTag::String("snow".into()),
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
cannot find type `NbtTag` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L171
error[E0412]: cannot find type `NbtTag` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:171:28
|
171 | fn to_nbt_tag(self) -> NbtTag {
| ^^^^^^
|
::: /home/runner/.cargo/git/checkouts/simdnbt-3bccbb106678a0aa/c8bb302/simdnbt/src/traits.rs:33:1
|
33 | pub trait ToNbtTag: Sized {
| ------------------------- similarly named trait `ToNbtTag` defined here
|
help: a trait with a similar name exists
|
171 | fn to_nbt_tag(self) -> ToNbtTag {
| ++
help: consider importing one of these items
|
6 + use crate::registry_holder::borrow::NbtTag;
|
6 + use simdnbt::borrow::NbtTag;
|
6 + use simdnbt::owned::NbtTag;
|
|
|
cannot find type `HashMap` in this scope:
azalea-core/src/registry_holder/dimension_type.rs#L16
error[E0412]: cannot find type `HashMap` in this scope
--> azalea-core/src/registry_holder/dimension_type.rs:16:35
|
16 | pub override_armor_materials: HashMap<String, String>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::registry_holder::HashMap;
|
6 + use std::collections::HashMap;
|
|
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|