LLDB-RPC-Server Playgrounds Crash

For some reason the following crashes on Xcode 16.1 RC Playgrounds Platforms iOS, Swift 6. No issues on Swift 5

import Cocoa

protocol VirtualPaksProtocol {
    associatedtype Base
    var base: Base { get }
}

struct VirtualPaks: VirtualPaksProtocol {
    typealias Base = Void
    var base: Base
    func echo() {
        
    }
}

func genericPaks<P: VirtualPaksProtocol>(_ p: P) -> P.Base {
    p.base
}

func opaquePaks() -> some VirtualPaksProtocol {
    VirtualPaks(base: ())
}

func boxedPaks() -> any VirtualPaksProtocol {
    VirtualPaks(base: ())
}

genericPaks(opaquePaks())
genericPaks(boxedPaks())
genericPaks(VirtualPaks(base: ()))
boxedPaks()
opaquePaks()
1 Like

Hi Sean,

Could you open a feedback request (Bug Reporting - Apple Developer) with lldb-rpc-server's crash log under "~/Library/Logs/DiagnosticReports/"?

Hi Augusto
Submitted: FB15649797

Same problem in any playground, Xcode 16.2. FB17236853