Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for compiling the SDK with Kotlin 2 #1721

Merged
merged 6 commits into from
Apr 19, 2024

Add comments to highlight hacks to work across Kotlin version

a8428ca
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Support for compiling the SDK with Kotlin 2 #1721

Add comments to highlight hacks to work across Kotlin version
a8428ca
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results - iOS x64 Base succeeded Apr 19, 2024 in 1s

893 passed, 0 failed and 43 skipped

Tests passed successfully

Report Passed Failed Skipped Time
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.BacklinksTests.xml 21✅ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.BsonObjectIdTests.xml 2✅ 1s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ByteArrayTests.xml 4✅ 10s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.CompactOnLaunchTests.xml 7✅ 185s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.CopyFromRealmTests.xml 25✅ 24s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.Decimal128Tests.xml 1✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicMutableRealmObjectTests.xml 28✅ 799ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicMutableRealmTests.xml 36✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicRealmObjectTests.xml 18✅ 4s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicRealmTests.xml 2✅ 999ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.EmbeddedRealmObjectTests.xml 23✅ 18s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.EncryptionTests.xml 3✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.FqNameImportTests.xml 1✅ 245ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.GeoSpatialTests.xml 19✅ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ImportTests.xml 9✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.InitialDataTests.xml 7✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.LinkTests.xml 1✅ 368ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.migration.RealmMigrationTests.xml 9✅ 4s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MigrationTests.xml 7✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MutableRealmIntTests.xml 52✅ 15s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MutableRealmTests.xml 37✅ 12s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.nonlatin.NonLatinTests.xml 4✅ 1s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.BacklinksNotificationsTests.xml 14✅ 1⚪ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedCollectionNotificationTest.xml 1✅ 392ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedDictionaryNotificationTest.xml 4✅ 2⚪ 1s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedListNotificationTest.xml 5✅ 3⚪ 914ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmDictionaryNotificationsTests.xml 11✅ 1⚪ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmListNotificationsTests.xml 14✅ 2⚪ 4s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmNotificationsTests.xml 7✅ 2⚪ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmObjectNotificationsTests.xml 13✅ 1⚪ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmResultsNotificationsTests.xml 10✅ 1⚪ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmSetNotificationsTests.xml 13✅ 1⚪ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.SystemNotificationTests.xml 1✅ 375ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.NullabilityTests.xml 2✅ 497ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ObjectIdTests.xml 6✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.PersistedNameTests.xml 17✅ 7s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.PrimaryKeyTests.xml 7✅ 1s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.QueryTests.xml 86✅ 12⚪ 40s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ReadMeTests.xml 7✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmAnyNestedCollectionTests.xml 12✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmAnyTests.xml 19✅ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmConfigurationTests.xml 43✅ 442ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmDictionaryTests.xml 64✅ 8⚪ 29s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmInMemoryTests.xml 7✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmInstantTests.xml 9✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmListTests.xml 35✅ 5⚪ 24s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmLogTests.xml 16✅ 202ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmObjectTests.xml 18✅ 5s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmResultsTests.xml 5✅ 1s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmSchemaTests.xml 8✅ 3s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmSetTests.xml 32✅ 14s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmTests.xml 40✅ 2⚪ 18s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmUUIDTests.xml 5✅ 1ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SampleTests.xml 13✅ 4s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SchemaTests.xml 8✅ 10ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SerializationTests.xml 5✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.utils.PlatformUtilsTests.xml 2✅ 1ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.utils.SecureRandomTest.xml 3✅ 0ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.VersionIdTests.xml 2✅ 1ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.VersionTrackingTests.xml 6✅ 2s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.CoroutineTests.xml 3✅ 1⚪ 4ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.InstrumentedTests.xml 1✅ 1ms
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.MemoryTests.xml 2✅ 1⚪ 30s
./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.ios.PlatformInfoTest.xml 1✅ 25ms

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.BacklinksTests.xml

21 tests were completed in 5s with 21 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.BsonObjectIdTests.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ByteArrayTests.xml

4 tests were completed in 10s with 4 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.CompactOnLaunchTests.xml

7 tests were completed in 185s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.CopyFromRealmTests.xml

25 tests were completed in 24s with 25 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.Decimal128Tests.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicMutableRealmObjectTests.xml

28 tests were completed in 799ms with 28 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicMutableRealmTests.xml

36 tests were completed in 2s with 36 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicRealmObjectTests.xml

18 tests were completed in 4s with 18 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.dynamic.DynamicRealmTests.xml

2 tests were completed in 999ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.EmbeddedRealmObjectTests.xml

23 tests were completed in 18s with 23 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.EncryptionTests.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.FqNameImportTests.xml

1 tests were completed in 245ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.GeoSpatialTests.xml

19 tests were completed in 5s with 19 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ImportTests.xml

9 tests were completed in 2s with 9 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.InitialDataTests.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.LinkTests.xml

1 tests were completed in 368ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.migration.RealmMigrationTests.xml

9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MigrationTests.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MutableRealmIntTests.xml

52 tests were completed in 15s with 52 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.MutableRealmTests.xml

37 tests were completed in 12s with 37 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.nonlatin.NonLatinTests.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.BacklinksNotificationsTests.xml

15 tests were completed in 5s with 14 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedCollectionNotificationTest.xml

1 tests were completed in 392ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedDictionaryNotificationTest.xml

6 tests were completed in 1s with 4 passed, 0 failed and 2 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmAnyNestedListNotificationTest.xml

8 tests were completed in 914ms with 5 passed, 0 failed and 3 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmDictionaryNotificationsTests.xml

12 tests were completed in 3s with 11 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmListNotificationsTests.xml

16 tests were completed in 4s with 14 passed, 0 failed and 2 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmNotificationsTests.xml

9 tests were completed in 5s with 7 passed, 0 failed and 2 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmObjectNotificationsTests.xml

14 tests were completed in 3s with 13 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmResultsNotificationsTests.xml

11 tests were completed in 2s with 10 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.RealmSetNotificationsTests.xml

14 tests were completed in 3s with 13 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.notifications.SystemNotificationTests.xml

1 tests were completed in 375ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.NullabilityTests.xml

2 tests were completed in 497ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ObjectIdTests.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.PersistedNameTests.xml

17 tests were completed in 7s with 17 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.PrimaryKeyTests.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.QueryTests.xml

98 tests were completed in 40s with 86 passed, 0 failed and 12 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.ReadMeTests.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmAnyNestedCollectionTests.xml

12 tests were completed in 3s with 12 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmAnyTests.xml

19 tests were completed in 5s with 19 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmConfigurationTests.xml

43 tests were completed in 442ms with 43 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmDictionaryTests.xml

72 tests were completed in 29s with 64 passed, 0 failed and 8 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmInMemoryTests.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmInstantTests.xml

9 tests were completed in 2s with 9 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmListTests.xml

40 tests were completed in 24s with 35 passed, 0 failed and 5 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmLogTests.xml

16 tests were completed in 202ms with 16 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmObjectTests.xml

18 tests were completed in 5s with 18 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmResultsTests.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmSchemaTests.xml

8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmSetTests.xml

32 tests were completed in 14s with 32 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmTests.xml

42 tests were completed in 18s with 40 passed, 0 failed and 2 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.RealmUUIDTests.xml

5 tests were completed in 1ms with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SampleTests.xml

13 tests were completed in 4s with 13 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SchemaTests.xml

8 tests were completed in 10ms with 8 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.SerializationTests.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.utils.PlatformUtilsTests.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.utils.SecureRandomTest.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.VersionIdTests.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.common.VersionTrackingTests.xml

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.CoroutineTests.xml

4 tests were completed in 4ms with 3 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.InstrumentedTests.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.darwin.MemoryTests.xml

3 tests were completed in 30s with 2 passed, 0 failed and 1 skipped.

✅ ./packages/test-base/build/test-results/iosTest/TEST-io.realm.kotlin.test.ios.PlatformInfoTest.xml

1 tests were completed in 25ms with 1 passed, 0 failed and 0 skipped.