feat: Adapt to UIGF 4.0 #1385
Triggered via pull request
September 19, 2024 05:29
Status
Failure
Total duration
2m 27s
Artifacts
–
Annotations
14 errors and 14 warnings
build (Debug, x64):
src/Starward/Services/Gacha/ZZZGachaService.cs#L249
Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/ZZZGachaService.cs#L260
Cannot implicitly convert type 'long' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/StarRailGachaService.cs#L193
Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/StarRailGachaService.cs#L196
Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/StarRailGachaService.cs#L199
Cannot implicitly convert type 'long' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/GenshinGachaService.cs#L191
Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64):
src/Starward/Services/Gacha/GenshinGachaService.cs#L194
Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<long>'
|
build (Debug, x64)
Process completed with exit code 1.
|
build (Debug, arm64)
The job was canceled because "Debug_x64" failed.
|
build (Debug, arm64)
The operation was canceled.
|
build (Release, arm64)
The job was canceled because "Debug_x64" failed.
|
build (Release, arm64)
The operation was canceled.
|
build (Release, x64)
The job was canceled because "Debug_x64" failed.
|
build (Release, x64)
The operation was canceled.
|
build (Debug, x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (Debug, x64):
src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
|
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.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, 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/AppConfig.cs#L636
Possible null reference return.
|
build (Debug, x64):
src/Starward/Controls/InstallGameDialog.xaml.cs#L290
The variable 'ex' is declared but never used
|
build (Debug, x64):
src/Starward/Controls/GameBizSelector.xaml.cs#L136
The variable 'ex' is declared but never used
|
build (Debug, x64):
src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (Debug, x64):
src/Starward/Controls/ColorfulTextBlock.xaml.cs#L117
The variable 'ex' is declared but never used
|
build (Debug, x64):
src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
|
build (Debug, x64):
src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L168
Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
|
build (Release, arm64):
src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, 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 (Release, x64):
src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
|
build (Release, x64):
src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
|