Skip to content

fix errors when switching worlds #546

fix errors when switching worlds

fix errors when switching worlds #546

Triggered via push January 21, 2025 23:53
Status Cancelled
Total duration 1m 22s
Artifacts

doc.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
deploy
Canceling since a higher priority waiting request for 'pages' exists
deploy
The operation was canceled.
field `dimension` specified more than once: azalea-protocol/src/packets/common.rs#L11
error[E0062]: field `dimension` specified more than once --> azalea-protocol/src/packets/common.rs:11:9 | 10 | pub dimension: azalea_registry::DimensionType, | --------- first use of `dimension` 11 | pub dimension: ResourceLocation, | ^^^^^^^^^ used more than once
field `dimension` specified more than once: azalea-protocol/src/packets/common.rs#L11
error[E0062]: field `dimension` specified more than once --> azalea-protocol/src/packets/common.rs:11:5 | 10 | pub dimension: azalea_registry::DimensionType, | --------------------------------------------- first use of `dimension` 11 | pub dimension: ResourceLocation, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ used more than once
mismatched types: azalea-protocol/src/packets/common.rs#L10
error[E0308]: mismatched types --> azalea-protocol/src/packets/common.rs:10:5 | 8 | #[derive(Clone, Debug, AzBuf)] | ----- in this derive macro expansion 9 | pub struct CommonPlayerSpawnInfo { 10 | pub dimension: azalea_registry::DimensionType, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected `&ResourceLocation`, found `&DimensionType` | arguments to this function are incorrect | = note: expected reference `&azalea_core::resource_location::ResourceLocation` found reference `&azalea_registry::DimensionType` note: method defined here --> /rustc/f3d1d47fd84dfcf7f513be1dbad356e74c8f3b2b/library/core/src/clone.rs:165:8 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
field `dimension` is already declared: azalea-protocol/src/packets/common.rs#L11
error[E0124]: field `dimension` is already declared --> azalea-protocol/src/packets/common.rs:11:5 | 10 | pub dimension: azalea_registry::DimensionType, | --------------------------------------------- `dimension` first declared here 11 | pub dimension: ResourceLocation, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field already declared
deploy
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/
deploy
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/
deploy
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/
deploy
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/