Build Information
Failed to build OpenAI, reference 0.0.9 (e928d9
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 03:18:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: 0.0.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Recouse/OpenAI
* tag 0.0.9 -> FETCH_HEAD
HEAD is now at e928d98 Merge pull request #2 from Recouse/visionos-support
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
e928d988b4067050306316c337faec48467133d2
SUCCESS checkout https://github.com/Recouse/OpenAI.git at 0.0.9
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Recouse/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/11] Compiling EventSource Headers.swift
[5/11] Compiling EventSource SessionDelegate.swift
[6/11] Compiling EventSource Extensions.swift
[7/11] Compiling EventSource ServerEvent.swift
[8/11] Compiling EventSource EventParser.swift
[9/11] Emitting module EventSource
[10/11] Compiling EventSource EventSource.swift
[11/11] Compiling EventSource EventSourceError.swift
[12/42] Emitting module OpenAI
[13/45] Compiling OpenAI Edits.swift
[14/45] Compiling OpenAI EditsBody.swift
[15/45] Compiling OpenAI EditsModel.swift
[16/45] Compiling OpenAI APIError.swift
[17/45] Compiling OpenAI JSONDecoder.swift
[18/45] Compiling OpenAI JSONEncoder.swift
[19/45] Compiling OpenAI ChatCompletionsResponse.swift
[20/45] Compiling OpenAI ChatWrapper.swift
[21/45] Compiling OpenAI FinishReason.swift
[22/45] Compiling OpenAI ReponseFormat.swift
[23/45] Compiling OpenAI ChatCompletions.swift
[24/45] Compiling OpenAI ChatCompletionsBody.swift
[25/45] Compiling OpenAI ChatCompletionsModels.swift
[26/45] Compiling OpenAI ChatCompletionsRequest.swift
[27/45] Compiling OpenAI OpenAIError.swift
[28/45] Compiling OpenAI ModelType.swift
[29/45] Compiling OpenAI ModelsRequest.swift
[30/45] Compiling OpenAI Usage.swift
[31/45] Compiling OpenAI CompletionResponse.swift
[32/45] Compiling OpenAI Completions.swift
[33/45] Compiling OpenAI CompletionsBody.swift
[34/45] Compiling OpenAI CompletionsRequest.swift
[35/45] Compiling OpenAI CompletionsWrapper.swift
[36/45] Compiling OpenAI Configuration.swift
[37/45] Compiling OpenAI EditsRequest.swift
[38/45] Compiling OpenAI EditsResponse.swift
[39/45] Compiling OpenAI EditsWrapper.swift
[40/45] Compiling OpenAI ModelsResponse.swift
[41/45] Compiling OpenAI ModelsWrapper.swift
[42/45] Compiling OpenAI OpenAI.swift
[43/45] Compiling OpenAI BaseRequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:62:27: error: type 'EventSource.EventType' has no member 'message'
60 | }
61 | continue
62 | case .message(let message):
| `- error: type 'EventSource.EventType' has no member 'message'
63 | guard let stringData = message.data else {
64 | continue
[44/45] Compiling OpenAI RequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:62:27: error: type 'EventSource.EventType' has no member 'message'
60 | }
61 | continue
62 | case .message(let message):
| `- error: type 'EventSource.EventType' has no member 'message'
63 | guard let stringData = message.data else {
64 | continue
[45/45] Compiling OpenAI Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:62:27: error: type 'EventSource.EventType' has no member 'message'
60 | }
61 | continue
62 | case .message(let message):
| `- error: type 'EventSource.EventType' has no member 'message'
63 | guard let stringData = message.data else {
64 | continue
Fetching https://github.com/Recouse/EventSource.git
[1/697] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git from cache (0.71s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.4 (1.19s)
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.1.4
BUILD FAILURE 6.2 macosSpm