The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ChatGPTUI, reference main (f3ff0d), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 10:42:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tichise/chatgpt-ui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tichise/chatgpt-ui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f3ff0d7 Merge pull request #9 from tichise/feature/update-lib
Cloned https://github.com/tichise/chatgpt-ui.git
Revision (git rev-parse @):
f3ff0d76beff94f2220d141a8525c9d694fba456
SUCCESS checkout https://github.com/tichise/chatgpt-ui.git at main
Fetching https://github.com/MacPaw/OpenAI.git
Fetching https://github.com/tichise/TILogger.git
[1/251] Fetching tilogger
[227/4619] Fetching tilogger, openai
Fetched https://github.com/MacPaw/OpenAI.git from cache (1.16s)
Fetched https://github.com/tichise/TILogger.git from cache (1.16s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (3.70s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.64s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.2.6
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.3.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "chatgpt-ui",
      "name": "ChatGPTUI",
      "url": "https://github.com/tichise/chatgpt-ui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chatgpt-ui",
      "dependencies": [
        {
          "identity": "tilogger",
          "name": "TILogger",
          "url": "https://github.com/tichise/TILogger.git",
          "version": "1.3.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TILogger",
          "dependencies": [
          ]
        },
        {
          "identity": "openai",
          "name": "OpenAI",
          "url": "https://github.com/MacPaw/OpenAI.git",
          "version": "0.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tichise/chatgpt-ui.git
[1/91] Fetching chatgpt-ui
Fetched https://github.com/tichise/chatgpt-ui.git from cache (0.70s)
Fetching https://github.com/tichise/TILogger.git from cache
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.51s)
Fetched https://github.com/tichise/TILogger.git from cache (0.51s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.03s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.3.0 (0.03s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.3.0
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.3.2
Creating working copy for https://github.com/tichise/chatgpt-ui.git
Working copy of https://github.com/tichise/chatgpt-ui.git resolved at main (f3ff0d7)
warning: '.resolve-product-dependencies': dependency 'chatgpt-ui' is not used by any target
Found 2 product dependencies
  - TILogger
  - OpenAI
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tichise/chatgpt-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/45] Emitting module OpenAI
[6/49] Emitting module TILogger
[7/49] Compiling TILogger TILogger.swift
[8/49] Compiling OpenAI ModerationsQuery.swift
[9/49] Compiling OpenAI ModerationsResult.swift
[10/49] Compiling OpenAI StreamableQuery.swift
[11/49] Compiling OpenAI OpenAIProtocol+Async.swift
[12/49] Compiling OpenAI ChatResult.swift
[13/49] Compiling OpenAI ChatStreamResult.swift
[14/49] Compiling OpenAI CompletionsQuery.swift
[15/49] Compiling OpenAI CompletionsResult.swift
[16/49] Compiling OpenAI EditsQuery.swift
[17/49] Compiling OpenAI EditsResult.swift
[18/49] Compiling OpenAI EmbeddingsQuery.swift
[19/49] Compiling OpenAI EmbeddingsResult.swift
[20/49] Compiling OpenAI APIError.swift
[21/49] Compiling OpenAI AudioSpeechQuery.swift
[22/49] Compiling OpenAI AudioSpeechResult.swift
[23/49] Compiling OpenAI AudioTranscriptionQuery.swift
[24/49] Compiling OpenAI MultipartFormDataRequest.swift
[25/49] Compiling OpenAI StreamingSession.swift
[26/49] Compiling OpenAI URLRequestBuildable.swift
[27/49] Compiling OpenAI URLSessionDataTaskProtocol.swift
[28/49] Compiling OpenAI URLSessionProtocol.swift
[29/49] Compiling OpenAI ModelQuery.swift
[30/49] Compiling OpenAI ModelResult.swift
[31/49] Compiling OpenAI Models.swift
[32/49] Compiling OpenAI ModelsResult.swift
[33/49] Compiling OpenAI OpenAI.swift
[34/49] Compiling OpenAI JSONRequest.swift
[35/49] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[36/49] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[37/49] Compiling OpenAI MultipartFormDataEntry.swift
[38/49] Compiling OpenAI ImageEditsQuery.swift
[39/49] Compiling OpenAI ImageVariationsQuery.swift
[40/49] Compiling OpenAI ImagesQuery.swift
[41/49] Compiling OpenAI ImagesResult.swift
[42/49] Compiling OpenAI AudioTranscriptionResult.swift
[43/49] Compiling OpenAI AudioTranslationQuery.swift
[44/49] Compiling OpenAI AudioTranslationResult.swift
[45/49] Compiling OpenAI ChatQuery.swift
[46/49] Compiling OpenAI OpenAIProtocol+Combine.swift
[47/49] Compiling OpenAI OpenAIProtocol.swift
[48/49] Compiling OpenAI ArrayWithThreadSafety.swift
[49/49] Compiling OpenAI Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/59] Emitting module ChatGPTUI
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[51/59] Compiling ChatGPTUI Conversation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[52/59] Compiling ChatGPTUI AvailableModelsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[53/59] Compiling ChatGPTUI AvailableModelsViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[54/59] Compiling ChatGPTUI ChatViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[55/59] Compiling ChatGPTUI ConversationsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[56/59] Compiling ChatGPTUI Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[57/59] Compiling ChatGPTUI ChatView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[58/59] Compiling ChatGPTUI DetailView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
[59/59] Compiling ChatGPTUI ChatBubbleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import OpenAI
  7 | import SwiftUI
BUILD FAILURE 6.0 macosSpm