Skip to content

Compiler crash due to protocol conformance being incorrectly matched. #82119

Closed
@STREGA

Description

@STREGA

Description

The compiler crashes due to incorrectly matching a protocol function that should not have a matching signature.

Reproduction

The protocol defines an async function, but the conforming type has no async keyword.
The compiler misses this mismatch and crashes on silgen.

public protocol TextureImporter: ResourceImporter {
    func loadTexture(options: TextureImporterOptions) async throws(GateEngineError) -> (data: Data, size: Size2)
}

public final class PNGImporter: TextureImporter {
    var data: Data! = nil
    var size: Size2! = nil
    public required init() {}
    
    public func loadTexture(options: TextureImporterOptions) throws(GateEngineError) -> (data: Data, size: Size2) {
        return (self.data, self.size)
    }
}

Removing async from protocol TextureImporter finishes compiling as expected.

Stack dump

Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -filelist /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/sources-20 -primary-file "/Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import & 
...
1.	Apple Swift version 6.2 (swiftlang-6.2.0.9.909 clang-1700.3.9.907)
2.	Compiling with effective version 5.10
3.	Contents of /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/sources-20:
---
/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/DerivedSources/resource_bundle_accessor.swift
/Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/ECS/2D Specific/Physics/Collision2DComponent.swift
...
---
4.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import & Export/Importers/PNGImporter.swift")
5.	While silgen emitFunction SIL function "@$s10GateEngine11PNGImporterC11loadTexture7options10Foundation4DataV4data_8GameMath5Size2V4sizetAA0E15ImporterOptionsV_tAA0aB5ErrorOYKF".
 for 'loadTexture(options:)' (at /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import & Export/Importers/PNGImporter.swift:41:12)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x0000000107337cb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000107335640 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x00000001073382dc SignalHandler(int, __siginfo*, void*) + 344
3  libsystem_platform.dylib 0x0000000188ae8624 _sigtramp + 56
4  swift-frontend           0x0000000101ad7f34 swift::Lowering::SILGenFunction::emitExpectedExecutorProlog() + 1164
5  swift-frontend           0x0000000101ad7f34 swift::Lowering::SILGenFunction::emitExpectedExecutorProlog() + 1164
6  swift-frontend           0x0000000101bc210c swift::Lowering::SILGenFunction::emitProlog(swift::DeclContext*, swift::CaptureInfo, swift::ParameterList*, swift::ParamDecl*, swift::Type, std::__1::optional<swift::Type>, swift::SourceLoc) + 7176
7  swift-frontend           0x0000000101b442b8 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) + 212
8  swift-frontend           0x0000000101a8186c swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 7596
9  swift-frontend           0x0000000101a82888 swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) + 236
10 swift-frontend           0x0000000101a7faac swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) + 136
11 swift-frontend           0x0000000101be6328 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) + 32
12 swift-frontend           0x0000000101be202c (anonymous namespace)::SILGenType::emitType() + 364
13 swift-frontend           0x0000000101a7f7c0 swift::ASTVisitor<swift::Lowering::SILGenModule, void, void, void, void, void, void>::visit(swift::Decl*) + 100
14 swift-frontend           0x0000000101a86600 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 2364
15 swift-frontend           0x0000000101bc93f4 swift::SimpleRequest<swift::ASTLoweringRequest, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) + 208
16 swift-frontend           0x0000000101a8b088 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) + 572
17 swift-frontend           0x0000000100fabd78 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 964
18 swift-frontend           0x0000000100faf0e0 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1764
19 swift-frontend           0x0000000100fadcfc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3580
20 swift-frontend           0x0000000100f2f390 swift::mainEntry(int, char const**) + 5412
21 dyld                     0x000000018870eb98 start + 6076
Failed frontend command:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -filelist /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/sources-20 -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Coding/CollisionTrianglesCoder.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Coding/PNGCoder.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Coding/RawGeometryCoder.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/ApplePlatformImageImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/ApplePlatformModelImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/GLTransmissionFormat.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/PNGImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/RawGeometryImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/TiledTMJImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/TiledTSJImporter.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Import\ \&\ Export/Importers/WavefrontOBJ.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Lights/Base/Light.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Lights/DirectionalLight.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Lights/PointLight.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Lights/SpotLight.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Paths.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Resource.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/ResourceManager.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Skinning/SkeletalAnimation.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Skinning/Skeleton.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Skinning/Skin.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Sprites/Sprite.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Sprites/SpriteAnimation.swift -primary-file /Users/strega/Documents/GitHub/GateEngine/Sources/GateEngine/Resources/Sprites/SpriteSheet.swift -supplementary-output-file-map /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/supplementaryOutputs-552 -target arm64-apple-macos14.0 -module-can-import-version AVFoundation 2360.61.4 2.0.0 -module-can-import-version AppKit 2665.8 2665.8.0 -module-can-import Atomics -module-can-import-version CoreImage 2.2 7.0.0 -module-can-import-version Darwin 346 0 -module-can-import-version GLKit 1.1 129.0.0 -module-can-import-version IOKit 1 275.0.0 -module-can-import-version ImageIO 1.0.0 1.0.0 -module-can-import LibSPNG -module-can-import-version MetalKit 1.2 172.2.0 -module-can-import-version ModelIO 1 268.1.6 -module-can-import OpenGL_GateEngine -module-can-import TrueType -load-resolved-plugin \#/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/ECSMacros\#ECSMacros -load-resolved-plugin /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/GateEngine-dependencies-16.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -I /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/PackageFrameworks -F /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D SIMD -D GATEENGINE_CLOSES_ALLWINDOWS_WITH_MAINWINDOW -D GATEENGINE_ENABLE_HOTRELOADING -D GATEENGINE_PLATFORM_EVENT_DRIVEN -D GATEENGINE_PLATFORM_HAS_FILESYSTEM -D GATEENGINE_PLATFORM_HAS_AsynchronousFileSystem -D GATEENGINE_PLATFORM_HAS_SynchronousFileSystem -D GATEENGINE_PLATFORM_SUPPORTS_FOUNDATION_FILEMANAGER -D Xcode -serialize-debugging-options -load-plugin-executable /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/ECSMacros\#ECSMacros -const-gather-protocols-file /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/GateEngine_const_extract_protocols.json -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature StrictConcurrency\=complete -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Volumes/Scratch/Developer/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/strega/Documents/GitHub/Games/Espionage/Xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/strega/Documents/GitHub/Games/Espionage/Xcode -Xcc -fmodule-map-file\=/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GeneratedModuleMaps/uFBX.modulemap -Xcc -fmodule-map-file\=/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GeneratedModuleMaps/Gravity.modulemap -Xcc -fmodule-map-file\=/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GeneratedModuleMaps/LibSPNG.modulemap -Xcc -fmodule-map-file\=/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GeneratedModuleMaps/miniz.modulemap -Xcc -fmodule-map-file\=/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GeneratedModuleMaps/TrueType.modulemap -Xcc -ivfsstatcache -Xcc /Volumes/Scratch/Developer/SDKStatCaches.noindex/macosx26.0-25A5279m-5d9328ff1a6613a11d359de947506b52.sdkstatcache -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/swift-overrides.hmap -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/SourcePackages/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/strega/Documents/GitHub/GateEngine/Dependencies/uFBX/include -Xcc -I/Users/strega/Documents/GitHub/GateEngine/Dependencies/Gravity/include -Xcc -I/Users/strega/Documents/GitHub/GateEngine/Dependencies/LibSPNG/include -Xcc -I/Users/strega/Documents/GitHub/GateEngine/Dependencies/miniz/include -Xcc -I/Users/strega/Documents/GitHub/GateEngine/Dependencies/TrueType/include -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Products/Debug/include -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/DerivedSources-normal/arm64 -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/DerivedSources/arm64 -Xcc -I/Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -Xcc -DGL_SILENCE_DEPRECATION -no-auto-bridging-header-chaining -module-name GateEngine -package-name gateengine -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name macosx26.0 -clang-target arm64-apple-macos26.0 -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/CollisionTrianglesCoder.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PNGCoder.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/RawGeometryCoder.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ApplePlatformImageImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ApplePlatformModelImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/GLTransmissionFormat.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PNGImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/RawGeometryImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/TiledTMJImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/TiledTSJImporter.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/WavefrontOBJ.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Light.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/DirectionalLight.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PointLight.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpotLight.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Paths.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Resource.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ResourceManager.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SkeletalAnimation.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Skeleton.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Skin.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Sprite.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpriteAnimation.o -o /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Build/Intermediates.noindex/GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpriteSheet.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/CollisionTrianglesCoder.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PNGCoder.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/RawGeometryCoder.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ApplePlatformImageImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ApplePlatformModelImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/GLTransmissionFormat.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PNGImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/RawGeometryImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/TiledTMJImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/TiledTSJImporter.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/WavefrontOBJ.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Light.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/DirectionalLight.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/PointLight.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpotLight.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Paths.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Resource.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/ResourceManager.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SkeletalAnimation.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Skeleton.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Skin.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/Sprite.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpriteAnimation.o -index-unit-output-path /GateEngine.build/Debug/GateEngine.build/Objects-normal/arm64/SpriteSheet.o -index-store-path /Volumes/Scratch/Developer/Espionage-bvvgrmujvcqhjmdcljmiicyrjsfc/Index.noindex/DataStore -index-system-modules
Command SwiftCompile failed with a nonzero exit code

Expected behavior

The compiler should error because the protocol conformance, of the conforming type, is incomplete.

Environment

swift-driver version: 1.127.4.2 Apple Swift version 6.2 (swiftlang-6.2.0.9.909 clang-1700.3.9.907)
(Xcode 26 Beta 1 Toolchain)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions