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 5.10 for Linux on 24 Jul 2024 23:36:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.48.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:             5.10
Building package at path:  $PWD
https://github.com/StanfordBDHG/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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'
import Security
       ^
[4/45] Compiling OpenAI OpenAIProtocol+Async.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[5/45] Compiling OpenAI OpenAIProtocol+Combine.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[6/45] Compiling OpenAI OpenAIProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[7/45] Compiling OpenAI ArrayWithThreadSafety.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[8/45] Compiling OpenAI Utilities.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[9/45] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[10/45] Compiling OpenAI JSONRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[11/45] Compiling OpenAI MultipartFormDataBodyBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[12/45] Compiling OpenAI MultipartFormDataBodyEncodable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[13/45] Compiling OpenAI MultipartFormDataEntry.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[14/45] Compiling OpenAI MultipartFormDataRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[15/45] Compiling OpenAI ImageVariationsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[16/45] Compiling OpenAI ImagesQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[17/45] Compiling OpenAI ImagesResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[18/45] Compiling OpenAI ModelQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[19/45] Compiling OpenAI ModelResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[20/45] Compiling OpenAI StreamingSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[21/45] Compiling OpenAI URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[22/45] Compiling OpenAI URLSessionDataTaskProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[23/45] Compiling OpenAI URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[24/45] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[25/45] Compiling OpenAI AudioSpeechQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[26/45] Compiling OpenAI EditsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[27/45] Compiling OpenAI EditsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[28/45] Compiling OpenAI EmbeddingsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[29/45] Compiling OpenAI EmbeddingsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[30/45] Compiling OpenAI ImageEditsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[31/45] Compiling OpenAI ChatQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[32/45] Compiling OpenAI ChatResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[33/45] Compiling OpenAI ChatStreamResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[34/45] Compiling OpenAI CompletionsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[35/45] Compiling OpenAI CompletionsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[36/45] Compiling OpenAI AudioSpeechResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[37/45] Compiling OpenAI AudioTranscriptionQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[38/45] Compiling OpenAI AudioTranscriptionResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[39/45] Compiling OpenAI AudioTranslationQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[40/45] Compiling OpenAI AudioTranslationResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[41/45] Compiling OpenAI Models.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[42/45] Compiling OpenAI ModelsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[43/45] Compiling OpenAI ModerationsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[44/45] Compiling OpenAI ModerationsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
[45/45] Compiling OpenAI StreamableQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
       ^
error: fatalError
BUILD FAILURE 5.10 linux