Skip to content

simplify the tray icon #2082

simplify the tray icon

simplify the tray icon #2082

Triggered via push December 25, 2025 18:56
Status Success
Total duration 6m 8s
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/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
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#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/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, arm64): 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, 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/DapperSqlMapper.cs#L78
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, 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, x64): src/Starward/Features/Database/DapperSqlMapper.cs#L70
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, x64): src/Starward/Features/Database/DapperSqlMapper.cs#L99
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, 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, x64): 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, 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/Gacha/DeleteGachaLogDialog.xaml.cs#L51
The field Starward.Features.Gacha.DeleteGachaLogDialog.selectUid 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/GameRecord/BBSWebBridge.xaml.cs#L84
The field Starward.Features.GameRecord.BBSWebBridge._GameRecordRole 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#L67
The field Starward.Features.GameRecord.Genshin.SpiralAbyssPage.hasData using
build (Release, x64): src/Starward/Features/Gacha/DeleteGachaLogDialog.xaml.cs#L51
The field Starward.Features.Gacha.DeleteGachaLogDialog.selectUid using
build (Release, x64): src/Starward/Features/Gacha/DeleteGachaLogDialog.xaml.cs#L46
The field Starward.Features.Gacha.DeleteGachaLogDialog.uidList 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_63c81b3
74.3 MB
sha256:afb697b2f0bf624a8afa310ff48b4b0dc77148dfbf4e129f8cfc39eed6e728da
Starward_Debug_x64_63c81b3
77.8 MB
sha256:78e941e46600c1f9cbfcde10283b787f79d11a08f62ccbb84d0e3c7db35eceaa
Starward_Release_arm64_63c81b3
91.2 MB
sha256:4bb5bcdfd87da9fae3fc1dc2b2360b2be6f8f80effb3367bf1d2bf7e56472d7c
Starward_Release_x64_63c81b3
97.7 MB
sha256:9ba9bca39a10313ffd2932158888b1147bb0180088ac938beb72ab5116ece91f