Skip to content

Fix a warning and Unity build #2094

Fix a warning and Unity build

Fix a warning and Unity build #2094

Triggered via pull request August 23, 2024 13:45
Status Failure
Total duration 42m 37s
Artifacts 28

pr.yml

on: pull_request
Matrix: Wrappers / Check Cache
Test Source Generation
8m 16s
Test Source Generation
Verify TODOs
3s
Verify TODOs
Matrix: Deploy BaaS
Matrix: Test Weaver
Matrix: Wrappers / Android
Matrix: Wrappers / Apple Platform
Matrix: Wrappers / Linux
Matrix: Wrappers / UWP
Matrix: Wrappers / Windows
Wrappers  /  MacOS
0s
Wrappers / MacOS
Wrappers  /  Catalyst
0s
Wrappers / Catalyst
Matrix: test-net-core
Matrix: Cleanup BaaS
Build Unity linux
30m 14s
Build Unity linux
Build Unity windows
30m 2s
Build Unity windows
Test Unity linux
0s
Test Unity linux
Test Unity windows
0s
Test Unity windows
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 33 warnings
Test Code Coverage
No test report files were found
Test Code Coverage
Process completed with exit code 1.
Test Maui.iOS
No test report files were found
Test Maui.iOS
Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false.
Test Maui.iOS
Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false.
Test Maui.iOS
Process completed with exit code 1.
Build Unity windows
The job running on runner gh-unity-win2019-01 has exceeded the maximum execution time of 30 minutes.
Build Unity windows
The operation was canceled.
Build Unity linux
The job running on runner gh-unity-lin01 has exceeded the maximum execution time of 30 minutes.
Build Unity linux
The operation was canceled.
Test Code Coverage
No file matches path TestResults.xml
Test Code Coverage: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [/home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Realm.Tests.csproj::TargetFramework=net8.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L71
Nullability of reference types in value of type 'Task<SyncCollectionsObject>' doesn't match target type 'Task<SyncCollectionsObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L177
Nullability of reference types in value of type 'Task<SyncAllTypesObject>' doesn't match target type 'Task<SyncAllTypesObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L240
Nullability of reference types in value of type 'Task<SyncAllTypesObject>' doesn't match target type 'Task<SyncAllTypesObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L263
Nullability of reference types in value of type 'Task<SyncAllTypesObject>' doesn't match target type 'Task<SyncAllTypesObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L344
Nullability of reference types in value of type 'Task<CounterObject>' doesn't match target type 'Task<CounterObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L372
Nullability of reference types in value of type 'Task<BasicAsymmetricObject>' doesn't match target type 'Task<BasicAsymmetricObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L435
Nullability of reference types in value of type 'Task<SyncAllTypesObject>' doesn't match target type 'Task<SyncAllTypesObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L436
Nullability of reference types in value of type 'Task<IntPropertyObject>' doesn't match target type 'Task<IntPropertyObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L608
Nullability of reference types in value of type 'Task<LinksObject>' doesn't match target type 'Task<LinksObject?>'. [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Test net6.0, linux-x64: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test net8.0, osx-arm64: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Maui.iOS
No file matches path TestResults.xml_transformed.xml
Test Maui.iOS: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Maui.iOS: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test .NET Framework: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=net461]
Test Woven Classes: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=net8.0]
Test net6.0, win-x64: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test net6.0, osx-x64: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Xamarin.iOS: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [/Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Realm.Tests.csproj]
Test Xamarin.macOS: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [/Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Realm.Tests.csproj]
Test UWP: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Test Xamarin.tvOS: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [/Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Realm.Tests.csproj]
Test Maui.MacCatalyst: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Maui.MacCatalyst: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Xamarin.Android
The following actions use a deprecated Node.js version and will be forced to run on node20: realm/aws-devicefarm/test-application@c929c9a9465e36c2372e0c62208fe76db3950f2e. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Xamarin.Android: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).' [D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Realm.Tests.csproj::TargetFramework=netstandard2.0]
Test Xamarin.Android
The TargetFrameworkVersion (Android API level 30) is lower than the targetSdkVersion (34). Please increase the `$(TargetFrameworkVersion)` or decrease the `android:targetSdkVersion` in the `AndroidManifest.xml` so that the API levels match. [D:\a\realm-dotnet\realm-dotnet\Tests\Tests.Android\Tests.Android.csproj]
Test Maui.Android
The following actions use a deprecated Node.js version and will be forced to run on node20: realm/aws-devicefarm/test-application@c929c9a9465e36c2372e0c62208fe76db3950f2e. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Maui.Android: Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs#L806
'RealmLogger.Function(Action<LogLevel, string>)' is obsolete: 'Use Function(Action<LogLevel, LogCategory, string> logFunction).'
Test Maui.Android
The TargetFrameworkVersion (Android API level 34) is higher than the targetSdkVersion (31). Please increase the `android:targetSdkVersion` in the `AndroidManifest.xml` so that the API levels match.

Artifacts

Produced during runtime
Name Size
ExtractedChangelog Expired
3.1 KB
Realm.12.3.0-pr-3663.2094 Expired
85.5 MB
Realm.PlatformHelpers.12.3.0-pr-3663.2094 Expired
171 KB
Realm.UnityUtils.12.3.0-pr-3663.2094 Expired
20.4 KB
Realm.UnityWeaver.12.3.0-pr-3663.2094 Expired
133 KB
UnityTests Expired
1.91 MB
crash-report-net-core-Linux-X64 Expired
8.78 MB
io.realm.unity-12.3.0-pr-3663.2094.tgz Expired
66.2 MB
wrappers-android-arm64-v8a Expired
5.06 MB
wrappers-android-armeabi-v7a Expired
3.84 MB
wrappers-android-x86 Expired
4.87 MB
wrappers-android-x86_64 Expired
4.78 MB
wrappers-catalyst Expired
21.1 MB
wrappers-iOS-Device Expired
4.68 MB
wrappers-iOS-Simulator Expired
9.9 MB
wrappers-linux-aarch64 Expired
5.97 MB
wrappers-linux-armhf Expired
5.23 MB
wrappers-linux-x86_64 Expired
5.91 MB
wrappers-macos Expired
5.38 MB
wrappers-tvOS-Device Expired
4.67 MB
wrappers-tvOS-Simulator Expired
9.89 MB
wrappers-windows-ARM64 Expired
13.7 MB
wrappers-windows-Win32 Expired
13.2 MB
wrappers-windows-uwp-ARM Expired
11.3 MB
wrappers-windows-uwp-ARM64 Expired
11.6 MB
wrappers-windows-uwp-Win32 Expired
11.5 MB
wrappers-windows-uwp-x64 Expired
11.9 MB
wrappers-windows-x64 Expired
14.9 MB