Skip to content

Fix translation for ObjCProtocol. #63

Fix translation for ObjCProtocol.

Fix translation for ObjCProtocol. #63

Triggered via push November 13, 2023 18:09
Status Failure
Total duration 27m 36s
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: Kotlin linking ended with the following error: e: Compilation failed: The /Applications/Xcode-14.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc command returned non-zero exit code: 1. output: /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:20:16: warning: will never be executed result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:20:18: note: a call to a never-returning function result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:24:16: warning: will never be executed result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:24:18: note: a call to a never-returning function result = fromObjectiveC(source) ^ error: verify-emitted-module-interface command failed with exit code 1 (use -v to see invocation) /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.private.swiftinterface:16:38: error: ambiguous type name 'Protocol' in module 'Kotlin' public typealias __Kotlin = Kotlin.`Protocol` ~~~~~~ ^ ObjectiveC.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol { ^ Kotlin.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol : KotlinBase { ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.private.swiftinterface:1:1: error: failed to verify module interface of 'Kotlin' due to the errors above; the textual interface may be broken by project issues or a compiler bug // swift-interface-format-version: 1.0 ^ error: verify-emitted-module-interface command failed with exit code 1 (use -v to see invocation) /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.swiftinterface:16:38: error: ambiguous type name 'Protocol' in module 'Kotlin' public typealias __Kotlin = Kotlin.`Protocol` ~~~~~~ ^ ObjectiveC.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol { ^ Kotlin.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol : KotlinBase { ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.swiftinterface:1:1: error: failed to verify module interface of 'Kotlin' due to the errors above; the textual interface may be broken by project issues or a compiler bug // swift-interface-format-version: 1.0 ^ * Source files: * Compiler version: 1.9.20 * Output kind: FRAMEWORK e: java.lang.IllegalStateException: The /Applications/Xcode-14.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc command returned non-zero exit code: 1. output: /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:20:16: warning: will never be executed result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:20:18: note: a call to a never-returning function result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:24:16: warning: will never be executed result = fromObjectiveC(source) ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift/generated/ExportedDependency/ExportedDependency.ExportedEmptyEnum.swift:24:18: note: a call to a never-returning function result = fromObjectiveC(source) ^ error: verify-emitted-module-interface command failed with exit code 1 (use -v to see invocation) /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.private.swiftinterface:16:38: error: ambiguous type name 'Protocol' in module 'Kotlin' public typealias __Kotlin = Kotlin.`Protocol` ~~~~~~ ^ ObjectiveC.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol { ^ Kotlin.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol : KotlinBase { ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.private.swiftinterface:1:1: error: failed to verify module interface of 'Kotlin' due to the errors above; the textual interface may be broken by project issues or a compiler bug // swift-interface-format-version: 1.0 ^ error: verify-emitted-module-interface command failed with exit code 1 (use -v to see invocation) /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.swiftinterface:16:38: error: ambiguous type name 'Protocol' in module 'Kotlin' public typealias __Kotlin = Kotlin.`Protocol` ~~~~~~ ^ ObjectiveC.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol { ^ Kotlin.Protocol:1:14: note: found candidate with type 'Protocol' public class Protocol : KotlinBase { ^ /Users/customer/actions-runner/_work/SKIE/SKIE/SKIE/acceptance-tests/build/functional/1.9.20/test-temp/bugs/nested_type_inside_type_with_keyword_name/compiles/skie/swift-compiler/headers/Kotlin.swiftinterface:1:1: error: failed to verify module interface of 'Kotlin' due to the errors above; the textual interface may be broken by project issues or a compiler bug // swift-interface-format-version: 1.0 ^ at co.touchlab.skie.util.Command.handleExitCode(Command.kt:102) at co.touchlab.skie.util.Command.execute(Command.kt:85) at co.touchlab.skie.util.Command.execute$default(Command.kt:57) at co.touchlab.skie.phases.swift.CompileSwiftPhase.callSwiftCompiler(CompileSwiftPhase.kt:137) at co.touchlab.skie.phases.swift.CompileSwiftPhase.execute(CompileSwiftPhase.kt:43) at co.touchlab.skie.phases.swift.CompileSwiftPhase.execute(CompileSwiftPhase.kt:12) at co.touchlab.skie.phases.util.SkiePhaseGroup$run$1$1$1.invoke(SkiePhaseGroup.kt:22) at co.touchlab.skie.phases.util.SkiePhaseGroup$run$1$1$1.invoke(SkiePhaseGroup.kt:21) at co.touchlab.skie.phases.analytics.performance.SkiePerformanceAnalytics$Producer.log(SkiePerformanceAnalytics.kt:35) at co.touchlab.skie.phases.util.SkiePhaseGroup.run(SkiePhaseGroup.kt:21) at co.touchlab.skie.phases.SkiePhaseScheduler.runSirPhases(SkiePhaseScheduler.kt:222) at co.touchlab.skie.entrypoint.EntrypointUtils.runSirPhases(EntrypointUtils.kt:51) at co.touchlab.skie.entrypoint.CreateObjCExportCodeSpecPhaseInterceptor.intercept(CreateObjCExportCodeSpecPhaseInterceptor.kgp_1.9.0.kt:28) at co.touchlab.skie.entrypoint.CreateObjCExportCodeSpecPhaseInterceptor.intercept(CreateObjCExportCodeSpecPhaseInterceptor.kgp_1.9.0.kt:12) at co.touchlab.skie.compilerinject.interceptor.ErasedPhaseInterceptorChain$chainedInterceptors$2$erasedInterceptors$1$1.invoke(ErasedPhaseInterceptorChain.kt:12) at co.touchlab.skie.compilerinject.interceptor.ErasedPhaseInterceptorChain$chainedInterceptors$2$erasedInterceptors$1$1.invoke(ErasedPhaseInterceptorChain.kt:12) at co.touchlab.skie.compilerinject.interceptor.ErasedPhaseInterceptorChain.invoke(ErasedPhaseInterceptorChain.kt:19) at co.touchlab.skie.compilerinject.interceptor.ErasedPhaseInterceptorChain.invoke(ErasedPhaseInterceptorChain.kt:6) at co.touchlab.skie.compilerinject.interceptor.InterceptedPhaseBody.invoke(SimpleNamedPhaseInterceptorConfigurer.kt:55) at co.touchlab.skie.compilerinject.interceptor.InterceptedPhaseBody.invoke(SimpleNamedPhaseInterceptorConfigurer.kt:47) at org.jetbrains.kotlin.backend.konan.driver.phases.PhaseBuildersKt$createSimpleNamedCompilerPhase$1.phaseBody(PhaseBuilders.kt:32) at org.jetbrains.kotlin.backend.common.phaser.SimpleNamedCompilerPhase.phaseBody(CompilerPhase.kt:207) at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94) at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine.runPhase(Machinery.kt:139) at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine.runPhase$default(Machinery.kt:130) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$produceObjCFramework$1.invoke(DynamicCompilerDriver.kt:69) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$produceObjCFramework$1.invoke(DynamicCompilerDriver.kt:68) at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.runPsiToIr(TopLevelPhases.kt:50) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.produceObjCFramework(DynamicCompilerDriver.kt:68) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.access$produceObjCFramework(DynamicCompilerDriver.kt:31) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$run$1$1$1.invoke(DynamicCompilerDriver.kt:42) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$run$1$1$1.invoke(DynamicCompilerDriver.kt:36) at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion$startTopLevel$topLevelPhase$1.phaseBody(Machinery.kt:98) at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion$startTopLevel$topLevelPhase$1.phaseBody(Machinery.kt:92) at org.jetbrains.kotlin.backend.common.phaser.SimpleNamedCompilerPhase.phaseBody(CompilerPhase.kt:207) at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94) at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion.startTopLevel(Machinery.kt:105) at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.run(DynamicCompilerDriver.kt:36) at org.jetbrains.kotlin.backend.konan.KonanDriver.run(KonanDriver.kt:118) at org.jetbrains.kotlin.cli.bc.K2Native.runKonanDriver(K2Native.kt:151) at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:69) at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:36) at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:104) at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:48) at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:101) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.phases.kotlin.KotlinTestLinker.link(KotlinTestLinker.kt:42) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.TestRunner.linkKotlin(TestRunner.kt:104) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.TestRunner.access$linkKotlin(TestRunner.kt:27) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.TestRunner$runTest$measuredTest$1$1$1$4.invoke(TestRunner.kt:41) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.TestRunner$runTest$measuredTest$1$1$1$4.invoke(TestRunner.kt:41) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.IntermediateResult$Value.flatMap(IntermediateResult.kt:23) at co.touchlab.skie.acceptancetests.framework.internal.testrunner.TestRunner.runTest(TestRunner.kt:41) at co.touchlab.skie.acceptancetests.framework.internal.TestNodeRunner$runTests$1.invoke(TestNodeRunner.kt:40) at co.touchlab.skie.acceptancetests.framework.internal.TestNodeRunner$runTests$1.invoke(TestNodeRunner.kt:40) at co.touchlab.skie.acceptancetests.framework.internal.TestNodeRunner.runTests$lambda$1(TestNodeRunner.kt:40) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:952) at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:926) at java.base/java.util.stream.AbstractTask.compute(AbstractTask.java:327) at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Acceptance Tests
Gradle build failed: see console output for details