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.0.9 (e928d9), with Swift 5.8 for Linux on 6 Aug 2024 19:48:28 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.8-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/Recouse/OpenAI.git
Reference: 0.0.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/Recouse/OpenAI
 * tag               0.0.9      -> FETCH_HEAD
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 0.0.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/Recouse/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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:19633894bf055e559614dd1a7a19c1cea1efcb05f852dd20ac30d89a57019563
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/Recouse/EventSource.git
[1/299] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git (0.18s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.28s)
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...
[1/8] Compiling EventSource Headers.swift
[2/8] Compiling EventSource EventSourceError.swift
[3/8] Compiling EventSource Extensions.swift
[4/8] Compiling EventSource ServerMessage.swift
[5/8] Compiling EventSource MessageParser.swift
[6/8] Compiling EventSource SessionDelegate.swift
[7/8] Emitting module EventSource
[8/8] Compiling EventSource EventSource.swift
[11/40] 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
       ^
[12/40] 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
       ^
[13/40] 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
       ^
[14/40] 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
       ^
[15/44] 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
       ^
[16/44] 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
       ^
[17/44] 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
       ^
[18/44] 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
       ^
[19/44] 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
       ^
[20/44] 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
       ^
[21/44] 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
       ^
[22/44] 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
       ^
[23/44] 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
       ^
[24/44] 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
       ^
[25/44] 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
       ^
[26/44] 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
       ^
[27/44] 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
       ^
[28/44] 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
       ^
[29/44] 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
       ^
[30/44] 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
       ^
[31/44] 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
       ^
[32/44] 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
       ^
[33/44] 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
       ^
[34/44] 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
       ^
[35/44] 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
       ^
[36/44] 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
       ^
[37/44] 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
       ^
[38/44] 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
       ^
[39/44] 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
       ^
[40/44] 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
       ^
[41/44] 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
       ^
[42/44] 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
       ^
[43/44] 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)
[44/44] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
import os.log
       ^
BUILD FAILURE 5.8 linux