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 (e928d9), with Swift 6.0 for Linux on 4 Nov 2024 07:23:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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:             6.0
Building package at path:  $PWD
https://github.com/Recouse/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Recouse/EventSource.git
[1/351] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git from cache (0.22s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.8 (0.51s)
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.0.8
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling EventSource Headers.swift
[5/11] Compiling EventSource MessageParser.swift
[6/11] Compiling EventSource Extensions.swift
[7/11] Compiling EventSource EventSourceError.swift
[8/11] Emitting module EventSource
[9/11] Compiling EventSource EventSource.swift
[10/11] Compiling EventSource SessionDelegate.swift
[11/11] Compiling EventSource ServerMessage.swift
[13/42] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[14/42] Compiling OpenAI JSONDecoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[15/42] Compiling OpenAI JSONEncoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[16/42] Compiling OpenAI OpenAIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[17/46] Compiling OpenAI ChatWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[18/46] Compiling OpenAI FinishReason.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[19/46] Compiling OpenAI ReponseFormat.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[20/46] Compiling OpenAI Usage.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[21/46] Compiling OpenAI CompletionsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[22/46] Compiling OpenAI Configuration.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[23/46] Compiling OpenAI Edits.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[24/46] Compiling OpenAI EditsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[25/46] Compiling OpenAI ModelType.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[26/46] Compiling OpenAI ModelsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[27/46] Compiling OpenAI ModelsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[28/46] Compiling OpenAI ModelsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[29/46] Compiling OpenAI CompletionResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[30/46] Compiling OpenAI Completions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[31/46] Compiling OpenAI CompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[32/46] Compiling OpenAI CompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/46] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[34/46] Compiling OpenAI EditsModel.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[35/46] Compiling OpenAI EditsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[36/46] Compiling OpenAI EditsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[37/46] Compiling OpenAI EditsWrapper.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[38/46] Compiling OpenAI ChatCompletions.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[39/46] Compiling OpenAI ChatCompletionsBody.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[40/46] Compiling OpenAI ChatCompletionsModels.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[41/46] Compiling OpenAI ChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[42/46] Compiling OpenAI ChatCompletionsResponse.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[43/46] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[44/46] Compiling OpenAI BaseRequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[45/46] Compiling OpenAI RequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
[46/46] Compiling OpenAI Request.swift
/host/spi-builder-workspace/Sources/OpenAI/Request/Handler/BaseRequestHandler.swift:10:8: error: no such module 'os.log'
  8 | import EventSource
  9 | import Foundation
 10 | import os.log
    |        `- error: no such module 'os.log'
 11 |
 12 | public struct BaseRequestHandler: RequestHandler {
BUILD FAILURE 6.0 linux