Skip to content

fix: 修复客户端本体类路径错误的问题 #234

fix: 修复客户端本体类路径错误的问题

fix: 修复客户端本体类路径错误的问题 #234

Triggered via pull request June 13, 2025 23:01
Status Success
Total duration 2m 22s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L69
Possible null reference return.
build-MacOsApp: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L163
Non-nullable property 'IdentityToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L55
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL.Neo.Core/Service/Audio/AudioService.cs#L119
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build-MacOsApp: PCL.Neo.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL.Neo.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
build-MacOsApp: PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.
build-AppImage: PCL.Neo.Core/Service/Accounts/OAuthService/MinecraftInfo.cs#L39
Possible null reference argument for parameter 'Alias' in 'Cape.Cape(string Id, AccountState State, Uri Url, string Alias)'.
build-AppImage: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L69
Possible null reference return.
build-AppImage: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L163
Non-nullable property 'IdentityToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-AppImage: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L55
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-AppImage: PCL.Neo.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL.Neo.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
build-AppImage: PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.
build-WinExe: PCL.Neo.Core/Service/Accounts/AccountService.cs#L497
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-WinExe: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L69
Possible null reference return.
build-WinExe: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L163
Non-nullable property 'IdentityToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL.Neo.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L55
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL.Neo.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
build-WinExe: PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
41.1 MB
sha256:86d7a026aa730f962700c11b5ecf945264644e1d073885f1250d109279cf4afc
linux.x64 Expired
43.1 MB
sha256:1aed3a402ff2468bc7faa14dbcc1641ce469c00493505fda66294a77faa3ec1c
osx.mac.arm64 Expired
14.5 MB
sha256:3e05d090ffa359ef3d02ea65ec861f1c7d51eadc97576302f81f12f7a12a96ff
osx.mac.x64 Expired
14.5 MB
sha256:d2a2eff802e7e2b2e9814b4fb1ea2980c7f99efce63b3abe60e7efc2972b70e3
win.arm64 Expired
39.5 MB
sha256:bd86a1084c0e6d93f13b6259f4eb4733dbdd7a3cbba7dff1a30999d21b352ff5
win.x64 Expired
41.1 MB
sha256:f3dc26bef68f10ad94eb1cbc31fdfd2ee55c331700aa336f549adb249056ed02
win.x86 Expired
38.1 MB
sha256:978ad0e8bb71ba4f5b9e8bb3a60e977c3982ba1c4765c6a68c39ab185faf403d