Skip to content

Make Swift library evolution configurable and turn it off by default. #119

Make Swift library evolution configurable and turn it off by default.

Make Swift library evolution configurable and turn it off by default. #119

Triggered via push April 2, 2024 12:31
Status Failure
Total duration 40m 29s
Artifacts

smoke-tests.yml

on: push
Type Mapping Tests
0s
Type Mapping Tests
External Libraries Tests
0s
External Libraries Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
AcceptanceTests._[functional__kgp_1.9.20]: SKIE/acceptance-tests/tests/functional/kgp_common/kotlin/co/touchlab/skie/acceptancetests/AcceptanceTests.kt#L36
java.lang.AssertionError: Test failed: Expected: Tested program ended successfully by explicitly calling exit(0). Actual: Tested program ended with the following error: 2024-04-02 14:40:48.743 swift-binary[43076:169072230] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread' *** First throw call stack: ( 0 CoreFoundation 0x00000001a9ec7104 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a99e5fd0 objc_exception_throw + 60 2 CoreFoundation 0x00000001a9ec6fa8 +[NSException exceptionWithName:reason:userInfo:] + 0 3 swift-binary 0x0000000100a01848 Kotlin_ObjCExport_createContinuationArgument + 96 4 swift-binary 0x00000001009cdfe4 objc2kotlin_kfun:tests.coroutines.suspend.global_functions.throwing.can_be_called_from_background_thread#foo#suspend(kotlin.coroutines.Continuation<kotlin.Int>){}kotlin.Any + 160 5 swift-binary 0x00000001008a69b8 $s4main4MainVAAyyYaFZSo9KotlinIntCyYaYbcfU_TY0_ + 204 6 swift-binary 0x00000001008a75a5 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTQ0_ + 1 7 swift-binary 0x00000001008a76f5 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTATQ0_ + 1 8 libswift_Concurrency.dylib 0x0000000237547215 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1 ) libc++abi: terminating due to uncaught exception of type NSException
AcceptanceTests._[functional__kgp_1.9.20]: SKIE/acceptance-tests/tests/functional/kgp_common/kotlin/co/touchlab/skie/acceptancetests/AcceptanceTests.kt#L53
java.lang.AssertionError: Test failed: Expected: Tested program ended with an error containing: Fatal error: 'try!' expression unexpectedly raised an error: Swift.CancellationError() Actual: Tested program ended with the following error: 2024-04-02 14:41:28.730 swift-binary[43546:169074640] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread' *** First throw call stack: ( 0 CoreFoundation 0x00000001a9ec7104 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a99e5fd0 objc_exception_throw + 60 2 CoreFoundation 0x00000001a9ec6fa8 +[NSException exceptionWithName:reason:userInfo:] + 0 3 swift-binary 0x0000000104a71848 Kotlin_ObjCExport_createContinuationArgument + 96 4 swift-binary 0x0000000104a3dfe4 objc2kotlin_kfun:tests.coroutines.suspend.global_functions.throwing.converts_cancellation_exception.explicitly_declared#foo#suspend(kotlin.coroutines.Continuation<kotlin.Int>){}kotlin.Any + 160 5 swift-binary 0x0000000104916994 $s4main4MainVAAyyYaFZSo9KotlinIntCyYaYbcfU_TY0_ + 204 6 swift-binary 0x0000000104917581 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTQ0_ + 1 7 swift-binary 0x00000001049176d1 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTATQ0_ + 1 8 libswift_Concurrency.dylib 0x0000000237547215 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1 ) libc++abi: terminating due to uncaught exception of type NSException
AcceptanceTests._[functional__kgp_1.9.20]: SKIE/acceptance-tests/tests/functional/kgp_common/kotlin/co/touchlab/skie/acceptancetests/AcceptanceTests.kt#L36
java.lang.AssertionError: Test failed: Expected: Tested program ended with an error containing: Uncaught Kotlin exception: kotlin.IllegalStateException: Undeclared exception Actual: Tested program ended with the following error: 2024-04-02 14:40:32.000 swift-binary[42837:169071054] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread' *** First throw call stack: ( 0 CoreFoundation 0x00000001a9ec7104 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a99e5fd0 objc_exception_throw + 60 2 CoreFoundation 0x00000001a9ec6fa8 +[NSException exceptionWithName:reason:userInfo:] + 0 3 swift-binary 0x00000001042ad848 Kotlin_ObjCExport_createContinuationArgument + 96 4 swift-binary 0x0000000104279fe4 objc2kotlin_kfun:tests.coroutines.suspend.global_functions.throwing.crashes_on_undeclared_exception#foo#suspend(kotlin.coroutines.Continuation<kotlin.Int>){}kotlin.Any + 160 5 swift-binary 0x000000010415298c $s4main4MainVAAyyYaFZSo9KotlinIntCyYaYbcfU_TY0_ + 204 6 swift-binary 0x0000000104153579 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTQ0_ + 1 7 swift-binary 0x00000001041536c9 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTATQ0_ + 1 8 libswift_Concurrency.dylib 0x0000000237547215 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1 ) libc++abi: terminating due to uncaught exception of type NSException
AcceptanceTests._[functional__kgp_1.9.20]: SKIE/acceptance-tests/tests/functional/kgp_common/kotlin/co/touchlab/skie/acceptancetests/AcceptanceTests.kt#L36
java.lang.AssertionError: Test failed: Expected: Tested program ended with an error containing: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=KotlinException Code=0 "Declared exception" UserInfo={NSLocalizedDescription=Declared exception, KotlinException=kotlin.IllegalStateException: Declared exception, KotlinExceptionOrigin=} Actual: Tested program ended with the following error: 2024-04-02 14:41:45.806 swift-binary[43771:169075782] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread' *** First throw call stack: ( 0 CoreFoundation 0x00000001a9ec7104 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a99e5fd0 objc_exception_throw + 60 2 CoreFoundation 0x00000001a9ec6fa8 +[NSException exceptionWithName:reason:userInfo:] + 0 3 swift-binary 0x0000000100fbd848 Kotlin_ObjCExport_createContinuationArgument + 96 4 swift-binary 0x0000000100f89fe4 objc2kotlin_kfun:tests.coroutines.suspend.global_functions.throwing.passes_declared_exception#foo#suspend(kotlin.coroutines.Continuation<kotlin.Int>){}kotlin.Any + 160 5 swift-binary 0x0000000100e6298c $s4main4MainVAAyyYaFZSo9KotlinIntCyYaYbcfU_TY0_ + 204 6 swift-binary 0x0000000100e63579 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTQ0_ + 1 7 swift-binary 0x0000000100e636c9 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRTATQ0_ + 1 8 libswift_Concurrency.dylib 0x0000000237547215 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1 ) libc++abi: terminating due to uncaught exception of type NSException
AcceptanceTests.crashes_the_compilation[functional__kgp_1.9.20]: SKIE/acceptance-tests/tests/functional/kgp_common/kotlin/co/touchlab/skie/acceptancetests/AcceptanceTests.kt#L36
java.lang.AssertionError: Test failed: Expected: Kotlin linking ended with an error containing all of: java.lang.IllegalStateException: Test phases are executed Actual: Tested program ended successfully by explicitly calling exit(0).
Acceptance Tests
Gradle build failed: see console output for details
Acceptance Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v3, gradle/[email protected], mikepenz/action-junit-report@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.