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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/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/Recouse/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e928d98 Merge pull request #2 from Recouse/visionos-support
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
e928d988b4067050306316c337faec48467133d2
SUCCESS checkout https://github.com/Recouse/OpenAI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Recouse/OpenAI.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Recouse/EventSource.git
[1/277] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git from cache (0.21s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.45s)
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.0.7
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling EventSource Headers.swift
[5/11] Compiling EventSource Extensions.swift
[6/11] Compiling EventSource MessageParser.swift
[7/11] Compiling EventSource ServerMessage.swift
[8/11] Compiling EventSource SessionDelegate.swift
[9/11] Emitting module EventSource
[10/11] Compiling EventSource EventSource.swift
[11/11] Compiling EventSource EventSourceError.swift
[13/42] Compiling OpenAI CompletionsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[14/42] Compiling OpenAI Configuration.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[15/42] Compiling OpenAI Edits.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[16/42] Compiling OpenAI EditsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[17/42] Compiling OpenAI ChatWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[18/42] Compiling OpenAI FinishReason.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[19/42] Compiling OpenAI ReponseFormat.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[20/42] Compiling OpenAI Usage.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[21/46] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[22/46] Compiling OpenAI JSONDecoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[23/46] Compiling OpenAI JSONEncoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[24/46] Compiling OpenAI OpenAIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[25/46] Compiling OpenAI EditsModel.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[26/46] Compiling OpenAI EditsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[27/46] Compiling OpenAI EditsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[28/46] Compiling OpenAI EditsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[29/46] Compiling OpenAI CompletionResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[30/46] Compiling OpenAI Completions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[31/46] Compiling OpenAI CompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[32/46] Compiling OpenAI CompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[33/46] Compiling OpenAI ModelType.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[34/46] Compiling OpenAI ModelsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[35/46] Compiling OpenAI ModelsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[36/46] Compiling OpenAI ModelsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[37/46] Compiling OpenAI ChatCompletions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[38/46] Compiling OpenAI ChatCompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[39/46] Compiling OpenAI ChatCompletionsModels.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[40/46] Compiling OpenAI ChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[41/46] Compiling OpenAI ChatCompletionsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[42/46] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[43/46] Compiling OpenAI BaseRequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[44/46] Compiling OpenAI RequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[45/46] Compiling OpenAI Request.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/46] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/31] Compiling OpenAI ModelType.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[3/31] Compiling OpenAI ModelsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[4/31] Compiling OpenAI ModelsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[5/31] Compiling OpenAI ModelsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[6/31] Compiling OpenAI EditsModel.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[7/31] Compiling OpenAI EditsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[8/31] Compiling OpenAI EditsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[9/31] Compiling OpenAI EditsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[10/35] Compiling OpenAI CompletionsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[11/35] Compiling OpenAI Configuration.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[12/35] Compiling OpenAI Edits.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[13/35] Compiling OpenAI EditsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[14/35] Compiling OpenAI CompletionResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[15/35] Compiling OpenAI Completions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[16/35] Compiling OpenAI CompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[17/35] Compiling OpenAI CompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[18/35] Compiling OpenAI ChatWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[19/35] Compiling OpenAI FinishReason.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[20/35] Compiling OpenAI ReponseFormat.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[21/35] Compiling OpenAI Usage.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[22/35] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[23/35] Compiling OpenAI JSONDecoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[24/35] Compiling OpenAI JSONEncoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[25/35] Compiling OpenAI OpenAIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[26/35] Compiling OpenAI ChatCompletions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[27/35] Compiling OpenAI ChatCompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[28/35] Compiling OpenAI ChatCompletionsModels.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[29/35] Compiling OpenAI ChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[30/35] Compiling OpenAI ChatCompletionsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[31/35] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[32/35] Compiling OpenAI BaseRequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[33/35] Compiling OpenAI RequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
[34/35] Compiling OpenAI Request.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/35] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
BUILD FAILURE 5.10 linux