Skip to content

update workflow

update workflow #2079

Triggered via push December 25, 2025 17:09
Status Success
Total duration 6m 17s
Artifacts 4

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

40 warnings
build (Debug, arm64): src/Starward/Features/Database/DapperSqlMapper.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (Debug, arm64): src/Starward/Features/Database/DatabaseService.cs#L169
Using member 'System.ComponentModel.TypeDescriptor.GetConverter(Type)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.
build (Debug, arm64): src/Starward/Features/Database/DatabaseService.cs#L200
Using member 'System.ComponentModel.TypeDescriptor.GetConverter(Type)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.
build (Debug, arm64): src/Starward/Features/Database/DatabaseService.cs#L200
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.NonPublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents', 'DynamicallyAccessedMemberTypes.NonPublicEvents', 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.ComponentModel.TypeDescriptor.GetConverter(Type)'. The generic parameter 'T' of 'Starward.Features.Database.DatabaseService.TryGetValue<T>(String, out T, out DateTime, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (Debug, arm64): src/Starward/Features/Database/DatabaseService.cs#L169
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.NonPublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents', 'DynamicallyAccessedMemberTypes.NonPublicEvents', 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.ComponentModel.TypeDescriptor.GetConverter(Type)'. The generic parameter 'T' of 'Starward.Features.Database.DatabaseService.GetValue<T>(String, out DateTime, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (Debug, arm64): src/Starward/obj/arm64/Debug/net10.0-windows10.0.26100.0/win-arm64/XamlTypeInfo.g.cs#L1419
Using member 'Microsoft.Xaml.Interactivity.EventTriggerBehavior.EventTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build (Debug, arm64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Debug, arm64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Debug, x64): src/Starward/Features/Database/DatabaseService.cs#L169
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.NonPublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents', 'DynamicallyAccessedMemberTypes.NonPublicEvents', 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.ComponentModel.TypeDescriptor.GetConverter(Type)'. The generic parameter 'T' of 'Starward.Features.Database.DatabaseService.GetValue<T>(String, out DateTime, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (Debug, x64): src/Starward/AppConfig.Setting.cs#L656
Using member 'System.ComponentModel.TypeDescriptor.GetConverter(Type)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.
build (Debug, x64): src/Starward/AppConfig.Setting.cs#L656
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.NonPublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents', 'DynamicallyAccessedMemberTypes.NonPublicEvents', 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.ComponentModel.TypeDescriptor.GetConverter(Type)'. The generic parameter 'T' of 'Starward.AppConfig.ConvertFromString<T>(String, T)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (Debug, x64): src/Starward/obj/x64/Debug/net10.0-windows10.0.26100.0/win-x64/XamlTypeInfo.g.cs#L1419
Using member 'Microsoft.Xaml.Interactivity.EventTriggerBehavior.EventTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build (Debug, x64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Debug, x64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Debug, x64): src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Debug, x64): src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, arm64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L77
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.currentAbyss using
build (Release, arm64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L72
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.abyssList using
build (Release, arm64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L67
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.hasData using
build (Release, arm64): src/Starward/Features/GameRecord/BBSWebBridge.xaml.cs#L84
The field Starward.Features.GameRecord.BBSWebBridge._GameRecordRole using
build (Release, arm64): src/Starward/Features/Gacha/DeleteGachaLogDialog.xaml.cs#L46
The field Starward.Features.Gacha.DeleteGachaLogDialog.uidList using
build (Release, arm64): src/Starward/Features/Gacha/DeleteGachaLogDialog.xaml.cs#L51
The field Starward.Features.Gacha.DeleteGachaLogDialog.selectUid using
build (Release, arm64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Release, arm64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Release, x64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L77
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.currentAbyss using
build (Release, x64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L72
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.abyssList using
build (Release, x64): src/Starward/Features/GameRecord/Genshin/SpiralAbyssPage.xaml.cs#L67
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.hasData using
build (Release, x64): src/Starward/Features/GameRecord/BBSWebBridge.xaml.cs#L84
The field Starward.Features.GameRecord.BBSWebBridge._GameRecordRole using
build (Release, x64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Release, x64): src/Starward/Controls/CachedImage.cs#L74
The variable 'ex' is declared but never used
build (Release, x64): src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, x64): src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data

Artifacts

Produced during runtime
Name Size Digest
Starward_Debug_arm64_07a4182
74.3 MB
sha256:09e63d93c66fa662c130787195f1ba3be9177b0839078cf695c46b236b39b825
Starward_Debug_x64_07a4182
77.8 MB
sha256:86abd0e65287be1b05a160b90b5a60d1d5a7b0801d691db61b9c2a470b7896a4
Starward_Release_arm64_07a4182
91.2 MB
sha256:c3722e19c4516f3f55020efaf309bc2579f231f4e040a44dd677ae67113a3074
Starward_Release_x64_07a4182
97.8 MB
sha256:e4ed60e6ccb4ff87ee91fe4203fe9e61fefdf1fcb14efadbf22d0ef6c2cc47ad