swiftwasm / carton

📦 Watcher, bundler, and test runner for your SwiftWasm apps
Apache License 2.0
442 stars 45 forks source link

Xcode 15 breaks `carton` build process #410

Closed gregcotten closed 8 months ago

gregcotten commented 1 year ago

After updating to Xcode 15, carton seems to no longer allow building at all.

After running carton init (0.19.1), and then carton dev --verbose, I get this big wall of errors:

Big Wall Of Errors I have truncated the error messages because it was too much text: ``` % carton dev --verbose - checking Swift compiler path: {redacted}/.carton/sdk/wasm-5.8.0-RELEASE/usr/bin/swift - checking Swift compiler path: {redacted}/.swiftenv/versions/wasm-5.8.0-RELEASE/usr/bin/swift - checking Swift compiler path: {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift Inferring basic settings... - swift executable: {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift SwiftWasm Swift version 5.8 (swiftlang-5.8.0) Target: arm64-apple-darwin22.6.0 Parsing package manifest: [debug]: evaluating manifest for 'test' v. unknown [warning]: ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift')- development binary to serve: {redacted}/Documents/Coding/Test/.build/wasm32-unknown-wasi/debug/Test.wasm Building the project before spinning up a server... Compiling... {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift build -c debug --product Test --triple wasm32-unknown-wasi -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor -Xlinker --export=main -Xlinker {redacted}/.carton/static/so_sanitizer.wasm -Xlinker --stack-first Process failed and produced following output: Process failed with non-zero exit status and following output: and following error output: warning: 'test': ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift') warning: 'test': ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift') Updating https://github.com/swiftwasm/JavaScriptKit Updated https://github.com/swiftwasm/JavaScriptKit (0.46s) Computing version for https://github.com/swiftwasm/JavaScriptKit error: Invalid manifest (compiled with: ["{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/6t/46s7qxkj6116xdcr91k8rvk00000gn/T/TemporaryDirectory.QwpC93/vfs.yaml", "-L", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx11.0", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-package-description-version", "5.3.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/var/folders/6t/46s7qxkj6116xdcr91k8rvk00000gn/T/TemporaryDirectory.5yRjPO/javascriptkit-manifest"]) :0: error: experimental feature 'Macros' cannot be enabled in a production compiler :0: error: experimental feature 'VariadicGenerics' cannot be enabled in a production compiler :0: error: experimental feature 'Macros' cannot be enabled in a production compiler :0: error: experimental feature 'VariadicGenerics' cannot be enabled in a production compiler /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:84:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:190:20: error: no type named '_DispatchSerialExecutorQueue' in module 'Dispatch' extension Dispatch._DispatchSerialExecutorQueue : _Concurrency.SerialExecutor { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:194:20: error: no type named 'DispatchSerialQueue' in module 'Dispatch' extension Dispatch.DispatchSerialQueue { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:205:20: error: no type named 'DispatchConcurrentQueue' in module 'Dispatch' extension Dispatch.DispatchConcurrentQueue { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:216:20: error: no type named 'DispatchWorkloop' in module 'Dispatch' extension Dispatch.DispatchWorkloop { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:226:20: error: no type named 'DispatchSourceProtocol' in module 'Dispatch' extension Dispatch.DispatchSourceProtocol { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:255:20: error: no type named 'DispatchSource' in module 'Dispatch' extension Dispatch.DispatchSource { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:324:20: error: no type named 'DispatchSourceMachSend' in module 'Dispatch' extension Dispatch.DispatchSourceMachSend { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:335:20: error: no type named 'DispatchSourceMachReceive' in module 'Dispatch' extension Dispatch.DispatchSourceMachReceive { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:340:20: error: no type named 'DispatchSourceMemoryPressure' in module 'Dispatch' extension Dispatch.DispatchSourceMemoryPressure { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:348:20: error: no type named 'DispatchSourceProcess' in module 'Dispatch' extension Dispatch.DispatchSourceProcess { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:359:20: error: no type named 'DispatchSourceTimer' in module 'Dispatch' extension Dispatch.DispatchSourceTimer { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:381:20: error: no type named 'DispatchSourceFileSystemObject' in module 'Dispatch' extension Dispatch.DispatchSourceFileSystemObject { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:392:20: error: no type named 'DispatchSourceUserDataAdd' in module 'Dispatch' extension Dispatch.DispatchSourceUserDataAdd { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:395:20: error: no type named 'DispatchSourceUserDataOr' in module 'Dispatch' extension Dispatch.DispatchSourceUserDataOr { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:398:20: error: no type named 'DispatchSourceUserDataReplace' in module 'Dispatch' extension Dispatch.DispatchSourceUserDataReplace { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:446:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue : Combine.Scheduler { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:548:20: error: no type named 'DispatchIO' in module 'Dispatch' extension Dispatch.DispatchIO { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:652:20: error: no type named 'DispatchGroup' in module 'Dispatch' extension Dispatch.DispatchGroup { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:672:20: error: no type named 'DispatchSemaphore' in module 'Dispatch' extension Dispatch.DispatchSemaphore { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:901:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue.GlobalQueuePriority : Swift.Equatable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:902:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue.GlobalQueuePriority : Swift.Hashable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:903:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue.AutoreleaseFrequency : Swift.Equatable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:904:20: error: no type named 'DispatchQueue' in module 'Dispatch' extension Dispatch.DispatchQueue.AutoreleaseFrequency : Swift.Hashable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:905:20: error: no type named 'DispatchIO' in module 'Dispatch' extension Dispatch.DispatchIO.StreamType : Swift.Equatable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:906:20: error: no type named 'DispatchIO' in module 'Dispatch' extension Dispatch.DispatchIO.StreamType : Swift.Hashable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:907:20: error: no type named 'DispatchIO' in module 'Dispatch' extension Dispatch.DispatchIO.StreamType : Swift.RawRepresentable {} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:19:26: error: no type named 'DispatchQueue' in module 'Dispatch' case custom(Dispatch.DispatchQueue?, @convention(block) () -> Swift.Void) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:66:47: error: no type named '__DispatchData' in module 'Dispatch' public typealias _ObjectiveCType = Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:11:15: error: type 'DispatchData' does not conform to protocol '_ObjectiveCBridgeable' public struct DispatchData : Swift.RandomAccessCollection, Swift._ObjectiveCBridgeable { ^ Swift._ObjectiveCBridgeable:2:20: note: protocol requires nested type '_ObjectiveCType'; do you want to add it? associatedtype _ObjectiveCType : AnyObject ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:75:84: error: no type named '__DispatchData' in module 'Dispatch' @_semantics("convertToObjectiveC") public func _bridgeToObjectiveC() -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:76:67: error: no type named '__DispatchData' in module 'Dispatch' public static func _forceBridgeFromObjectiveC(_ input: Dispatch.__DispatchData, result: inout Dispatch.DispatchData?) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:77:75: error: no type named '__DispatchData' in module 'Dispatch' public static func _conditionallyBridgeFromObjectiveC(_ input: Dispatch.__DispatchData, result: inout Dispatch.DispatchData?) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:78:98: error: no type named '__DispatchData' in module 'Dispatch' @_effects(readonly) public static func _unconditionallyBridgeFromObjectiveC(_ source: Dispatch.__DispatchData?) -> Dispatch.DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:455:64: error: no type named 'DispatchQueue' in module 'Dispatch' @_alwaysEmitIntoClient public static func < (lhs: Dispatch.DispatchQueue.SchedulerTimeType, rhs: Dispatch.DispatchQueue.SchedulerTimeType) -> Swift.Bool { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:455:111: error: no type named 'DispatchQueue' in module 'Dispatch' @_alwaysEmitIntoClient public static func < (lhs: Dispatch.DispatchQueue.SchedulerTimeType, rhs: Dispatch.DispatchQueue.SchedulerTimeType) -> Swift.Bool { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:473:43: error: no type named 'DispatchQueue' in module 'Dispatch' public static func < (lhs: Dispatch.DispatchQueue.SchedulerTimeType.Stride, rhs: Dispatch.DispatchQueue.SchedulerTimeType.Stride) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:473:97: error: no type named 'DispatchQueue' in module 'Dispatch' public static func < (lhs: Dispatch.DispatchQueue.SchedulerTimeType.Stride, rhs: Dispatch.DispatchQueue.SchedulerTimeType.Stride) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:116:40: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.GlobalQueuePriority, b: Dispatch.DispatchQueue.GlobalQueuePriority) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:116:87: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.GlobalQueuePriority, b: Dispatch.DispatchQueue.GlobalQueuePriority) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:128:40: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.AutoreleaseFrequency, b: Dispatch.DispatchQueue.AutoreleaseFrequency) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:128:88: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.AutoreleaseFrequency, b: Dispatch.DispatchQueue.AutoreleaseFrequency) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:486:42: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.SchedulerTimeType.Stride, b: Dispatch.DispatchQueue.SchedulerTimeType.Stride) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:486:94: error: no type named 'DispatchQueue' in module 'Dispatch' public static func == (a: Dispatch.DispatchQueue.SchedulerTimeType.Stride, b: Dispatch.DispatchQueue.SchedulerTimeType.Stride) -> Swift.Bool ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:540:124: error: no type named 'DispatchQueue' in module 'Dispatch' public func notify(qos: Dispatch.DispatchQoS = .unspecified, flags: Dispatch.DispatchWorkItemFlags = [], queue: Dispatch.DispatchQueue, execute: @escaping @convention(block) () -> Swift.Void) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:541:38: error: no type named 'DispatchQueue' in module 'Dispatch' public func notify(queue: Dispatch.DispatchQueue, execute: Dispatch.DispatchWorkItem) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:590:25: error: no type named 'DispatchQueue' in module 'Dispatch' case onQueue(Dispatch.DispatchQueue) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:591:34: error: no type named 'DispatchQueue' in module 'Dispatch' case onQueueAsBarrier(Dispatch.DispatchQueue) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:592:28: error: no type named 'DispatchQueue' in module 'Dispatch' case notOnQueue(Dispatch.DispatchQueue) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:692:134: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_queue_create(_ label: Swift.UnsafePointer?, _ attr: Dispatch.__OS_dispatch_queue_attr?) -> Dispatch.DispatchQueue ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:692:95: error: no type named '__OS_dispatch_queue_attr' in module 'Dispatch' public func dispatch_queue_create(_ label: Swift.UnsafePointer?, _ attr: Dispatch.__OS_dispatch_queue_attr?) -> Dispatch.DispatchQueue ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:694:180: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_queue_create_with_target(_ label: Swift.UnsafePointer?, _ attr: Dispatch.__OS_dispatch_queue_attr?, _ queue: Dispatch.DispatchQueue?) -> Dispatch.DispatchQueue ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:694:107: error: no type named '__OS_dispatch_queue_attr' in module 'Dispatch' public func dispatch_queue_create_with_target(_ label: Swift.UnsafePointer?, _ attr: Dispatch.__OS_dispatch_queue_attr?, _ queue: Dispatch.DispatchQueue?) -> Dispatch.DispatchQueue ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:694:152: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_queue_create_with_target(_ label: Swift.UnsafePointer?, _ attr: Dispatch.__OS_dispatch_queue_attr?, _ queue: Dispatch.DispatchQueue?) -> Dispatch.DispatchQueue ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:696:164: error: no type named 'DispatchIO' in module 'Dispatch' public func dispatch_io_create(_ type: Swift.UInt, _ fd: Swift.Int32, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:696:89: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_io_create(_ type: Swift.UInt, _ fd: Swift.Int32, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:698:241: error: no type named 'DispatchIO' in module 'Dispatch' public func dispatch_io_create_with_path(_ type: Swift.UInt, _ path: Swift.UnsafePointer, _ oflag: Swift.Int32, _ mode: Darwin.mode_t, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:698:166: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_io_create_with_path(_ type: Swift.UInt, _ path: Swift.UnsafePointer, _ oflag: Swift.Int32, _ mode: Darwin.mode_t, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:700:180: error: no type named 'DispatchIO' in module 'Dispatch' public func dispatch_io_create_with_io(_ type: Swift.UInt, _ io: Dispatch.DispatchIO, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:700:75: error: no type named 'DispatchIO' in module 'Dispatch' public func dispatch_io_create_with_io(_ type: Swift.UInt, _ io: Dispatch.DispatchIO, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:700:105: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_io_create_with_io(_ type: Swift.UInt, _ io: Dispatch.DispatchIO, _ queue: Dispatch.DispatchQueue, _ cleanup_handler: (Swift.Int32) -> Swift.Void) -> Dispatch.DispatchIO ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:702:85: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_read(_ fd: Swift.Int32, _ length: Swift.Int, _ queue: Dispatch.DispatchQueue, _ handler: (Dispatch.__DispatchData, Swift.Int32) -> Swift.Void) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:702:121: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_read(_ fd: Swift.Int32, _ length: Swift.Int, _ queue: Dispatch.DispatchQueue, _ handler: (Dispatch.__DispatchData, Swift.Int32) -> Swift.Void) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:704:168: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create(_ buffer: Swift.UnsafeRawPointer, _ size: Swift.Int, _ queue: Dispatch.DispatchQueue?, _ destructor: (() -> Swift.Void)?) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:704:105: error: no type named 'DispatchQueue' in module 'Dispatch' public func dispatch_data_create(_ buffer: Swift.UnsafeRawPointer, _ size: Swift.Int, _ queue: Dispatch.DispatchQueue?, _ destructor: (() -> Swift.Void)?) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:706:53: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_get_size(_ data: Dispatch.__DispatchData) -> Swift.Int ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:708:203: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_map(_ data: Dispatch.__DispatchData, _ buffer_ptr: Swift.UnsafeMutablePointer?, _ size_ptr: Swift.UnsafeMutablePointer?) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:708:55: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_map(_ data: Dispatch.__DispatchData, _ buffer_ptr: Swift.UnsafeMutablePointer?, _ size_ptr: Swift.UnsafeMutablePointer?) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:710:121: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_concat(_ data1: Dispatch.__DispatchData, _ data2: Dispatch.__DispatchData) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:710:59: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_concat(_ data1: Dispatch.__DispatchData, _ data2: Dispatch.__DispatchData) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:710:93: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_concat(_ data1: Dispatch.__DispatchData, _ data2: Dispatch.__DispatchData) -> Dispatch.__DispatchData ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64e-apple-macos.swiftinterface:712:130: error: no type named '__DispatchData' in module 'Dispatch' public func dispatch_data_create_subrange(_ data: Dispatch.__DispatchData, _ offset: Swift.Int, _ length: Swift.Int) -> Dispatch.__DispatchData [ETC...] ```
STREGA commented 1 year ago

Yup, I'm actually working on a makeshift solution rn that will allow Xcode 15 users to at least build their projects while wasm-5.9 is still pre-release. Should be available fairly soon.

bricecarpentier commented 10 months ago

Hi, any news on this?

STREGA commented 10 months ago

Hi, any news on this?

Yup! You can build carton 0.20 from this branch: https://github.com/swiftwasm/carton/tree/5.9-support Just be aware your project will be built with a pre-release version of SwiftWasm 5.9

kateinoigakukun commented 8 months ago

carton 0.20.0, which includes the fix for Xcode 15, has been released.