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

Build Command

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