Skip to content

Fix bug in type mapping for optional return types of Obj-C callback f… #101

Fix bug in type mapping for optional return types of Obj-C callback f…

Fix bug in type mapping for optional return types of Obj-C callback f… #101

Triggered via push December 22, 2023 07:59
Status Failure
Total duration 26m 59s
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

2 errors
AcceptanceTests.compiles[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: Swift compilation ended with the following error: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100) Target: arm64-apple-macos10.15 /Applications/Xcode-14.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/type_mapping_of_optional_suspend_function/compiles/swift-source.swift -target arm64-apple-macos10.15 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -F /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/type_mapping_of_optional_suspend_function/compiles -new-driver-path /Applications/Xcode-14.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -empty-abi-descriptor -resource-dir /Applications/Xcode-14.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -module-name main -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -parse-as-library -o /var/folders/np/9jrkqz8x2ms8qd29x3t6q_bh0000gn/T/TemporaryDirectory.yCZsGO/swift-source-1.o /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/type_mapping_of_optional_suspend_function/compiles/swift-source.swift:7:15: error: type 'A' does not conform to protocol 'I' class A: I { ^ Kotlin.I:2:10: note: protocol requires function '__foo(completionHandler:)' with type '(@escaping (String?, (any Error)?) -> Void) -> Void' func __foo(completionHandler: @escaping (String?, Error?) -> Void) ^ Kotlin.I:3:10: note: protocol requires function '__foo()' with type '() async throws -> String?' func __foo() async throws -> String? ^
Acceptance Tests
Gradle build failed: see console output for details