Skip to content

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

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

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

Triggered via pull request May 5, 2025 08:56
Status Success
Total duration 1m 52s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-AppImage: PCL2.Neo/App.axaml.cs#L72
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/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/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/ViewModels/MainWindowViewModel.cs#L34
Non-nullable property 'NavigationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL2.Neo/App.axaml.cs#L72
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-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/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/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/ViewModels/MainWindowViewModel.cs#L34
Non-nullable property 'NavigationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL2.Neo/App.axaml.cs#L72
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-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/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/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/ViewModels/MainWindowViewModel.cs#L34
Non-nullable property 'NavigationService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.5 MB
sha256:2346fc851bdf7bad5ddee8eefcecb54cceee1bcb4082b67396f67baa82c6c5ab
linux.x64 Expired
17.5 MB
sha256:845a925358bf921fb2d5680cc65e3dc24c0008e00cccb85971ef0d8ec347e0a4
osx.mac.arm64 Expired
19.1 MB
sha256:d2310e7197c77506257482689605860f978cfe04a55fba6602fe40fa25a72def
osx.mac.x64 Expired
19.9 MB
sha256:e10bc0c5fb7232ea3da56f371b3b83e6fbe056561cf7ae814b72c0707fd2341c
win.arm64 Expired
14.3 MB
sha256:93b69ca5cd341b7c0d759c11a0f2d16c02abe5a9505aadcef5de30de31e206f4
win.x64 Expired
15 MB
sha256:98a0a4f8873b6cc75bfd3210214a829e4e0b489c31148f85d9254ea32b154d96
win.x86 Expired
13.6 MB
sha256:90b86e44dbf748776b4f20421632c94a46d1c1a415cdd4f14140555427cc96d7