Skip to content

Move conversion methods to correct places and use convenient construc… #1184

Move conversion methods to correct places and use convenient construc…

Move conversion methods to correct places and use convenient construc… #1184

Triggered via push December 28, 2024 20:28
Status Failure
Total duration 5m 24s
Artifacts

ci.yml

on: push
Code Quality
49s
Code Quality
Build only (Android)
2m 43s
Build only (Android)
Build only (iOS)
1m 4s
Build only (iOS)
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

55 errors and 21 warnings
Code Quality: osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Code Quality: osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Code Quality: osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Code Quality: osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Code Quality
Process completed with exit code 1.
Test (macOS, macos-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (macOS, macos-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (macOS, macos-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (macOS, macos-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (macOS, macos-latest, Debug, SingleThread)
Process completed with exit code 1.
Build only (iOS): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Build only (iOS): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Build only (iOS): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Build only (iOS): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Build only (iOS)
Process completed with exit code 1.
Test (Linux, ubuntu-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Debug, SingleThread)
Process completed with exit code 1.
Test (Linux, ubuntu-latest, Release, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Release, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Release, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Release, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Release, SingleThread)
Process completed with exit code 1.
Test (Linux, ubuntu-latest, Release, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Release, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Release, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Release, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Release, MultiThreaded)
Process completed with exit code 1.
Test (Linux, ubuntu-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Linux, ubuntu-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
Process completed with exit code 1.
Test (macOS, macos-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (macOS, macos-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (macOS, macos-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (macOS, macos-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (macOS, macos-latest, Debug, MultiThreaded)
Process completed with exit code 1.
Build only (Android): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Build only (Android): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Build only (Android): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Build only (Android): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Build only (Android)
Process completed with exit code 1.
Test (Windows, windows-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Windows, windows-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Windows, windows-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Windows, windows-latest, Debug, MultiThreaded): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Windows, windows-latest, Debug, MultiThreaded)
Process completed with exit code 1.
Test (Windows, windows-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Windows, windows-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Windows, windows-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Test (Windows, windows-latest, Debug, SingleThread): osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
Test (Windows, windows-latest, Debug, SingleThread)
Process completed with exit code 1.
Code Quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (macOS, macos-latest, Debug, SingleThread)
No files were found with the provided path: /Users/runner/work/osu-framework/osu-framework/TestResults/TestResults-macOS-SingleThread-Debug.trx. No artifacts will be uploaded.
Test (macOS, macos-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in /Users/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (Linux, ubuntu-latest, Debug, SingleThread)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Linux, ubuntu-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (Linux, ubuntu-latest, Debug, SingleThread)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-SingleThread-Debug.trx. No artifacts will be uploaded.
Test (Linux, ubuntu-latest, Release, SingleThread)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Linux, ubuntu-latest, Release, SingleThread)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-SingleThread-Release.trx. No artifacts will be uploaded.
Test (Linux, ubuntu-latest, Release, SingleThread)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (Linux, ubuntu-latest, Release, MultiThreaded)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Linux, ubuntu-latest, Release, MultiThreaded)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-MultiThreaded-Release.trx. No artifacts will be uploaded.
Test (Linux, ubuntu-latest, Release, MultiThreaded)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-MultiThreaded-Debug.trx. No artifacts will be uploaded.
Test (macOS, macos-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in /Users/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
Test (macOS, macos-latest, Debug, MultiThreaded)
No files were found with the provided path: /Users/runner/work/osu-framework/osu-framework/TestResults/TestResults-macOS-MultiThreaded-Debug.trx. No artifacts will be uploaded.
Test (Windows, windows-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in D:\a\osu-framework\osu-framework. Supported file pattern: go.sum
Test (Windows, windows-latest, Debug, MultiThreaded)
No files were found with the provided path: D:\a\osu-framework\osu-framework/TestResults/TestResults-Windows-MultiThreaded-Debug.trx. No artifacts will be uploaded.
Test (Windows, windows-latest, Debug, SingleThread)
No files were found with the provided path: D:\a\osu-framework\osu-framework/TestResults/TestResults-Windows-SingleThread-Debug.trx. No artifacts will be uploaded.
Test (Windows, windows-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in D:\a\osu-framework\osu-framework. Supported file pattern: go.sum