The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAI, reference main (e75ccc), with Swift 6.1 for Android on 29 May 2025 09:35:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 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 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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/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 {
[31/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 {
[32/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 {
[33/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 {
[34/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 {
[35/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 {
[36/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 {
[37/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 {
[38/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 {
[39/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 {
[40/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 {
[41/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 {
[42/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 {
[43/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 {
[44/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 {
[45/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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] 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 {
[3/39] 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 {
[4/39] 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 {
[5/39] 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 {
[6/39] 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 {
[7/44] 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 {
[8/44] 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 {
[9/44] 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 {
[10/44] 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 {
[11/44] 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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
[22/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/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 {
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/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 {
[31/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 {
[32/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 {
[33/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 {
[34/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 {
[35/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 {
[36/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 {
[37/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 {
[38/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 {
[39/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 {
[40/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 {
[41/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 {
[42/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 {
[43/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 {
[44/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 {
BUILD FAILURE 6.1 android