Skip to content

Fix a warning and Unity build #2096

Fix a warning and Unity build

Fix a warning and Unity build #2096

Triggered via pull request August 23, 2024 15:32
Status Failure
Total duration 42m 25s
Artifacts 27

pr.yml

on: pull_request
Matrix: Wrappers / Check Cache
Test Source Generation
8m 4s
Test Source Generation
Verify TODOs
5s
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
Package Unity
2m 8s
Package Unity
Matrix: test-net-core
Matrix: Cleanup BaaS
Build Unity linux
30m 13s
Build Unity linux
Build Unity windows
30m 4s
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

12 errors and 15 warnings
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.
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Links_AtlasToRealm(Set): TestResults.xml#L0
Failed test found in: TestResults.xml Error: at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass19_0.<<RealmObjectAPI_Links_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 565
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Object_RealmToAtlas. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Object_RealmToAtlas(All values): TestResults.xml#L0
Failed test found in: TestResults.xml Error: at Realms.SharedRealmHandle.CreateObjectWithPrimaryKey(Property pkProperty, RealmValue& primaryKey, TableKey tableKey, String parentType, Boolean update, Boolean& isNew) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SharedRealmHandle.cs:line 682
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests. ► Realms.Tests.Sync.SynchronizedInstanceTests ► SyncLogger_WhenLevelChanges_LogsAtNewLevel: TestResults.xml#L0
Failed test found in: TestResults.xml Error: at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs:line 840
Test Code Coverage
Failed test were found and 'fail-on-error' option is set to true
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.
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/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]
Package Unity: Tests/Realm.Tests/Sync/StaticQueriesTests.cs#L648
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 Maui.iOS
No file matches path TestResults.xml_transformed.xml
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
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
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.2096 Expired
85.5 MB
Realm.PlatformHelpers.12.3.0-pr-3663.2096 Expired
172 KB
Realm.UnityUtils.12.3.0-pr-3663.2096 Expired
20.4 KB
Realm.UnityWeaver.12.3.0-pr-3663.2096 Expired
133 KB
UnityTests Expired
1.91 MB
io.realm.unity-12.3.0-pr-3663.2096.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