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 OpenAI, reference main (e75ccc), with Swift 6.0 for Linux on 5 Nov 2024 00:50:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/OpenAI.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/StanfordBDHG/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e75ccc9 Merge branch 'MacPaw:main' into main
Cloned https://github.com/StanfordBDHG/OpenAI.git
Revision (git rev-parse @):
e75ccc95ba77c8f9156d4afd5bad5a224eb76d25
SUCCESS checkout https://github.com/StanfordBDHG/OpenAI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordBDHG/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/40] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[4/45] Compiling OpenAI OpenAIProtocol+Async.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[5/45] Compiling OpenAI OpenAIProtocol+Combine.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[6/45] Compiling OpenAI OpenAIProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[7/45] Compiling OpenAI ArrayWithThreadSafety.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[8/45] Compiling OpenAI Utilities.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[9/45] Compiling OpenAI Models.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[10/45] Compiling OpenAI ModelsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[11/45] Compiling OpenAI ModerationsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[12/45] Compiling OpenAI ModerationsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[13/45] Compiling OpenAI StreamableQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[14/45] Compiling OpenAI ChatQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[15/45] Compiling OpenAI ChatResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[16/45] Compiling OpenAI ChatStreamResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[17/45] Compiling OpenAI CompletionsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[18/45] Compiling OpenAI CompletionsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[19/45] Compiling OpenAI ImageVariationsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[20/45] Compiling OpenAI ImagesQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[21/45] Compiling OpenAI ImagesResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[22/45] Compiling OpenAI ModelQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[23/45] Compiling OpenAI ModelResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[24/45] Compiling OpenAI AudioSpeechResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[25/45] Compiling OpenAI AudioTranscriptionQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[26/45] Compiling OpenAI AudioTranscriptionResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[27/45] Compiling OpenAI AudioTranslationQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[28/45] Compiling OpenAI AudioTranslationResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[29/45] Compiling OpenAI EditsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[30/45] Compiling OpenAI EditsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[31/45] Compiling OpenAI EmbeddingsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[32/45] Compiling OpenAI EmbeddingsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[33/45] Compiling OpenAI ImageEditsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[34/45] Compiling OpenAI StreamingSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[35/45] Compiling OpenAI URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[36/45] Compiling OpenAI URLSessionDataTaskProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[37/45] Compiling OpenAI URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[38/45] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[39/45] Compiling OpenAI AudioSpeechQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[40/45] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[41/45] Compiling OpenAI JSONRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[42/45] Compiling OpenAI MultipartFormDataBodyBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[43/45] Compiling OpenAI MultipartFormDataBodyEncodable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[44/45] Compiling OpenAI MultipartFormDataEntry.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
[45/45] Compiling OpenAI MultipartFormDataRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
 10 | import FoundationNetworking
 11 | #endif
 12 | import Security
    |        `- error: no such module 'Security'
 13 |
 14 | final class StreamingSession<ResultType: Codable>: NSObject, Identifiable, URLSessionDelegate, URLSessionDataDelegate {
BUILD FAILURE 6.0 linux