Skip to content

perf&feat: Java 搜索的性能优化 & 从MOJANG 服务器在线下载 #82

perf&feat: Java 搜索的性能优化 & 从MOJANG 服务器在线下载

perf&feat: Java 搜索的性能优化 & 从MOJANG 服务器在线下载 #82

Triggered via pull request May 2, 2025 05:31
Status Success
Total duration 1m 55s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build-MacOsApp: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build-MacOsApp: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-MacOsApp: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
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: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-MacOsApp: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-MacOsApp: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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-MacOsApp: PCL2.Neo/Views/MainWindow.axaml.cs#L85
Dereference of a possibly null reference.
build-WinExe: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build-WinExe: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build-WinExe: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-WinExe: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
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: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-WinExe: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-WinExe: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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: PCL2.Neo/Views/MainWindow.axaml.cs#L85
Dereference of a possibly null reference.
build-AppImage: PCL2.Neo/App.axaml.cs#L48
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-AppImage: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build-AppImage: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-AppImage: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
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: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-AppImage: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-AppImage: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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-AppImage: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL2.Neo/Views/MainWindow.axaml.cs#L85
Dereference of a possibly null reference.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.4 MB
sha256:2d74e8bbb843f937a9fd7bf5a1a89372cb3ad37150b59484afea059f3a05d24e
linux.x64 Expired
17.4 MB
sha256:2a3ab82f2698708ebc1d65b74b61c5abf659c4da7c02d638e76ef5b09e821613
osx.mac.arm64 Expired
19 MB
sha256:8db76ba56a68f0542b702949ebb6644621f433e48778cde2c657d6b7d72f1202
osx.mac.x64 Expired
19.8 MB
sha256:9744f02b1a127cbf132a9cebc710dc87ad8bec47e8da3eef94cf9b6ed737eddd
win.arm64 Expired
14.2 MB
sha256:ce1a83965a640d3b2bf6d7cdb9d85dc896f44923cb4a5b71807d579a403ca318
win.x64 Expired
14.9 MB
sha256:3c1c756343a27cdedaf1456fe38f12f46e8028ca738bdbcfbff936fbe96923ed
win.x86 Expired
13.6 MB
sha256:6c2a1f6f658c14363454a21b96966f09efe9f357a487c16a7cb1a1ab86fda4b5