Compiler Crash With Nightly 5.7.20221229101 and 5.7.20221219101 #62797
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
Compiling https://github.com/happn-app/CollectionLoader/tree/__SWIFT_5.7.20221229101_CRASHER__ crashes the compiler.
Steps to reproduce
Clone https://github.com/happn-app/CollectionLoader.git and checkout tag
__SWIFT_5.7.20221229101_CRASHER__
.Try and compile the project with Swift nightly
5.7.20221229101
or5.7.20221219101
.Expected behavior
The compilation should either pass or fail, but the compiler should not crash.
Environment
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Xcode 14.2 Build version 14C18
Additional context
The crash probably comes from the protocol inheritance of
CollectionLoaderHelperProtocol
toPageInfoRetrieverProtocol
inSources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift
.This did not crash with Swift 5.7.2 prod (Xcode 14.2 prod).
Stack Trace
The text was updated successfully, but these errors were encountered: