Build Information
Failed to build OpenAI with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
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.9
Building package at path: $workDir
https://github.com/Recouse/OpenAI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Recouse/EventSource.git
[1/249] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git (0.54s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.54s)
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 SessionDelegate.swift
[4/8] Compiling EventSource ServerMessage.swift
[5/8] Emitting module EventSource
[6/8] Compiling EventSource EventSource.swift
[7/8] Compiling EventSource Extensions.swift
[8/8] Compiling EventSource MessageParser.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/40] 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
^
[16/40] 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
^
[17/40] 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
^
[18/40] 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
^
[19/40] 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
^
[20/40] 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
^
[21/40] 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
^
[22/40] 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
^
[23/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
^
[24/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
^
[25/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
^
[26/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
^
[27/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
^
[28/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
^
[29/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
^
[30/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
^
[31/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
^
[32/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
^
[33/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
^
[34/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
^
[35/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
^
[36/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
^
[37/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
^
[38/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
^
[39/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
^
[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
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/1] Emitting module EventSource
[4/33] 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
^
[5/33] 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
^
[6/33] 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
^
[7/33] 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
^
[8/37] 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
^
[9/37] 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
^
[10/37] 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
^
[11/37] 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
^
[12/37] 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
^
[13/37] 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
^
[14/37] 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
^
[15/37] 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
^
[16/37] 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
^
[17/37] 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
^
[18/37] 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
^
[19/37] 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
^
[20/37] 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
^
[21/37] 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
^
[22/37] 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
^
[23/37] 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
^
[24/37] 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
^
[25/37] 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
^
[26/37] 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
^
[27/37] 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
^
[28/37] 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
^
[29/37] 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
^
[30/37] 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
^
[31/37] 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
^
[32/37] 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
^
[33/37] 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
^
[34/37] 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
^
[35/37] 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
^
[36/37] 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)
[37/37] 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.9 linux