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 0.2.9 (1ad95d), with Swift 6.1 for Linux on 28 Apr 2025 19:30:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/OpenAI.git
Reference: 0.2.9
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
 * tag               0.2.9      -> FETCH_HEAD
HEAD is now at 1ad95dd Merge pull request #3 from StanfordBDHG/upstream/0.2.9
Cloned https://github.com/StanfordBDHG/OpenAI.git
Revision (git rev-parse @):
1ad95dd531d7c854a3f98f588b0eb68fa83e8a8c
SUCCESS checkout https://github.com/StanfordBDHG/OpenAI.git at 0.2.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/OpenAI.git
https://github.com/StanfordBDHG/OpenAI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenAI",
  "name" : "OpenAI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAITests",
      "path" : "Tests/OpenAITests",
      "sources" : [
        "Extensions/XCTestCase+Extensions.swift",
        "Mocks/DataTaskMock.swift",
        "Mocks/URLSessionMock.swift",
        "OpenAITests.swift",
        "OpenAITestsCombine.swift",
        "OpenAITestsDecoder.swift"
      ],
      "target_dependencies" : [
        "OpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "OpenAI.swift",
        "Private/JSONRequest.swift",
        "Private/MultipartFormDataBodyBuilder.swift",
        "Private/MultipartFormDataBodyEncodable.swift",
        "Private/MultipartFormDataEntry.swift",
        "Private/MultipartFormDataRequest.swift",
        "Private/StreamingSession.swift",
        "Private/URLRequestBuildable.swift",
        "Private/URLSessionDataTaskProtocol.swift",
        "Private/URLSessionProtocol.swift",
        "Public/Errors/APIError.swift",
        "Public/Models/AudioSpeechQuery.swift",
        "Public/Models/AudioSpeechResult.swift",
        "Public/Models/AudioTranscriptionQuery.swift",
        "Public/Models/AudioTranscriptionResult.swift",
        "Public/Models/AudioTranslationQuery.swift",
        "Public/Models/AudioTranslationResult.swift",
        "Public/Models/ChatQuery.swift",
        "Public/Models/ChatResult.swift",
        "Public/Models/ChatStreamResult.swift",
        "Public/Models/CompletionsQuery.swift",
        "Public/Models/CompletionsResult.swift",
        "Public/Models/EditsQuery.swift",
        "Public/Models/EditsResult.swift",
        "Public/Models/EmbeddingsQuery.swift",
        "Public/Models/EmbeddingsResult.swift",
        "Public/Models/ImageEditsQuery.swift",
        "Public/Models/ImageVariationsQuery.swift",
        "Public/Models/ImagesQuery.swift",
        "Public/Models/ImagesResult.swift",
        "Public/Models/Models/ModelQuery.swift",
        "Public/Models/Models/ModelResult.swift",
        "Public/Models/Models/Models.swift",
        "Public/Models/Models/ModelsResult.swift",
        "Public/Models/ModerationsQuery.swift",
        "Public/Models/ModerationsResult.swift",
        "Public/Models/StreamableQuery.swift",
        "Public/Protocols/OpenAIProtocol+Async.swift",
        "Public/Protocols/OpenAIProtocol+Combine.swift",
        "Public/Protocols/OpenAIProtocol.swift",
        "Public/Utilities/ArrayWithThreadSafety.swift",
        "Public/Utilities/Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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 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 {
[5/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 {
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/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 {
[31/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 {
[32/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 {
[33/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 {
[34/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 {
[35/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 {
[36/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 {
[37/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 {
[38/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 {
[39/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 {
[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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] 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 {
[3/39] 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 {
[4/39] 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 {
[5/39] 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 {
[6/39] 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 {
[7/44] 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 {
[8/44] 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 {
[9/44] 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 {
[10/44] 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 {
[11/44] 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 {
[12/44] 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 {
[13/44] 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 {
[14/44] 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 {
[15/44] 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 {
[16/44] 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 {
[17/44] 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 {
[18/44] 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 {
[19/44] 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 {
[20/44] 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 {
[21/44] 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 {
[22/44] 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 {
[23/44] 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 {
[24/44] 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 {
[25/44] 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 {
[26/44] 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 {
[27/44] 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 {
[28/44] 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 {
[29/44] 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 {
[30/44] 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 {
[31/44] 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 {
[32/44] 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 {
[33/44] 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 {
[34/44] 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 {
[35/44] 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 {
[36/44] 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 {
[37/44] 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 {
[38/44] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/44] 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 {
[40/44] 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 {
[41/44] 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 {
[42/44] 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 {
[43/44] 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 {
[44/44] 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 {
BUILD FAILURE 6.1 linux