Skip to content

Fix iOS trim analyzer warnings and Android 16KB ELF page alignment #862

Fix iOS trim analyzer warnings and Android 16KB ELF page alignment

Fix iOS trim analyzer warnings and Android 16KB ELF page alignment #862

Re-run triggered March 27, 2026 16:34
Status Cancelled
Total duration 54m 25s
Artifacts 2

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 22 warnings
Code Quality: osu.Game/Rulesets/UI/ModSwitchTiny.cs#L127
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
Code Quality: osu.Game/Graphics/UserInterface/OsuCheckbox.cs#L38
Use expression body for accessor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0027)
Code Quality: osu.Game/Graphics/UserInterface/OsuCheckbox.cs#L29
Use expression body for accessor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0027)
Code Quality: osu.Game/Graphics/UserInterface/SegmentedGraph.cs#L287
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270)
Code Quality: osu.Game/Database/LegacyBeatmapExporter.cs#L231
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270)
Code Quality: osu.Game/Beatmaps/BeatmapManager.cs#L133
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270)
Code Quality: osu.Game/Beatmaps/WorkingBeatmap.cs#L281
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270)
Code Quality: osu.Game/Extensions/TypeExtensions.cs#L25
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270)
Code Quality: osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/DiscardScreen.cs#L147
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
Code Quality: osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/DiscardScreen.cs#L147
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
Test (Linux, ubuntu-latest, SingleThread)
Process completed with exit code 1.
Test (Linux, ubuntu-latest, MultiThreaded)
Process completed with exit code 1.
Test (Windows, windows-latest, SingleThread)
Canceling since a higher priority waiting request for Continuous Integration-refs/pull/108/merge exists
Test (Windows, windows-latest, SingleThread)
The operation was canceled.
Test (Windows, windows-latest, MultiThreaded)
Canceling since a higher priority waiting request for Continuous Integration-refs/pull/108/merge exists
Test (Windows, windows-latest, MultiThreaded)
The operation was canceled.
Continuous Integration
Canceling since a higher priority waiting request for Continuous Integration-refs/pull/108/merge exists
Build only (iOS): osu.Game.Tests/Skins/SkinDeserialisationTest.cs#L111
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 't' of method 'lambda expression' 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 only (iOS): osu.Game.Tests/Rulesets/Scoring/ScoreProcessorTest.cs#L134
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Rulesets.Scoring.ScoreProcessorTest.TestBeatmapWithALotOfObjectsDoesNotOverflowClassicScore(Type)' 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 only (iOS): osu.Game.Tests/Input/RealmKeyBindingTest.cs#L41
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Input.RealmKeyBindingTest.TestUnmapRulesetActions(Type, Object, Int32?)' 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 only (iOS): osu.Game.Tests/Mods/MultiModIncompatibilityTest.cs#L30
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'rulesetType' of method 'osu.Game.Tests.Mods.MultiModIncompatibilityTest.TestAllMultiModsFromRulesetAreIncompatible(Type)' 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 only (iOS): osu.Game.Tests/Online/TestSoloScoreInfoJsonSerialization.cs#L52
Using member 'Newtonsoft.Json.JsonConvert.SerializeObject(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Newtonsoft.Json relies on reflection over types that may be removed when trimming.
Build only (iOS): osu.Game.Tests/Online/TestSoloScoreInfoJsonSerialization.cs#L35
Using member 'Newtonsoft.Json.JsonConvert.SerializeObject(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Newtonsoft.Json relies on reflection over types that may be removed when trimming.
Build only (iOS): osu.iOS/AppDelegate.cs#L20
This call site is reachable on all platforms. 'UIWindowScene.InterfaceOrientation' is obsoleted on: 'ios' 26.0 and later (Use 'EffectiveGeometry.InterfaceOrientation' instead.), 'maccatalyst' 26.0 and later (Use 'EffectiveGeometry.InterfaceOrientation' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build only (iOS): osu.iOS/AppDelegate.cs#L44
Nullability of reference types in type of parameter 'forWindow' of 'UIInterfaceOrientationMask AppDelegate.GetSupportedInterfaceOrientations(UIApplication application, UIWindow forWindow)' doesn't match implicitly implemented member 'UIInterfaceOrientationMask IUIApplicationDelegate.GetSupportedInterfaceOrientations(UIApplication application, UIWindow? forWindow)' (possibly because of nullability attributes).
Build only (iOS): osu.iOS/AppDelegate.cs#L12
Nullability of reference types in type of parameter 'launchOptions' of 'bool GameApplicationDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions)' doesn't match implicitly implemented member 'bool IUIApplicationDelegate.FinishedLaunching(UIApplication application, NSDictionary? launchOptions)' (possibly because of nullability attributes).
Build only (iOS): osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModSpunOut.cs#L68
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'additionalModType' of method 'osu.Game.Rulesets.Osu.Tests.Mods.TestSceneOsuModSpunOut.TestSpinRateUnaffectedByMods(Type)' 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 only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Build only (Android)
Android 16 will require 16 KB page sizes, shared library 'libveldrid-spirv.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'ppy.Veldrid.SPIRV' version '1.0.15-g5911265ec3' which contains 'runtimes/android-arm64/native/libveldrid-spirv.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Test (Windows, windows-latest, SingleThread)
No files were found with the provided path: D:\a\osu\osu/TestResults/TestResults-Windows-SingleThread.trx. No artifacts will be uploaded.
Test (Windows, windows-latest, MultiThreaded)
No files were found with the provided path: D:\a\osu\osu/TestResults/TestResults-Windows-MultiThreaded.trx. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
osu-test-results-Linux-MultiThreaded Expired
3.75 MB
sha256:292708072e21d5d362ae269fecc5a972bc9dfbf7aff9dd4ae76b1db424e827af
osu-test-results-Linux-SingleThread Expired
3.7 MB
sha256:8456925111b9c7f9896682d9766a2a5ae5a5536b613ae8b3aad93db4c415fd66