The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VectorNest, reference main (0fb7aa), with Swift 6.0 for Linux on 29 Jun 2025 04:34:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PicoMLX/PicoVector.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/PicoMLX/PicoVector
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0fb7aac Update README.md
Cloned https://github.com/PicoMLX/PicoVector.git
Revision (git rev-parse @):
0fb7aaca8c715327e8a4032ad0c3a44b0db7dac2
SUCCESS checkout https://github.com/PicoMLX/PicoVector.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PicoMLX/PicoVector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/btfranklin/CleverBird
[1/1160] Fetching cleverbird
Fetched https://github.com/btfranklin/CleverBird from cache (0.44s)
Computing version for https://github.com/btfranklin/CleverBird
Computed https://github.com/btfranklin/CleverBird at 3.2.1 (2.07s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.29s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.53s)
Creating working copy for https://github.com/btfranklin/CleverBird
Working copy of https://github.com/btfranklin/CleverBird resolved at 3.2.1
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Building for debugging...
[0/6] Write sources
[3/6] Copying gpt3-vocab.bpe
[4/6] Copying gpt3-encoder.json
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/12] Compiling Get Request.swift
[8/12] Compiling Get Response.swift
[9/12] Emitting module Get
[10/12] Compiling Get APIClient.swift
[11/12] Compiling Get APIClientDelegate.swift
[12/12] Compiling Get DataLoader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/38] Emitting module CleverBird
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
[15/41] Compiling CleverBird FunctionRegistry.swift
[16/41] Compiling CleverBird JSONType.swift
[17/41] Compiling CleverBird JSONValue.swift
[18/41] Compiling CleverBird StreamableChatThread+complete.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
[19/41] Compiling CleverBird StreamableChatThread.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
[20/41] Compiling CleverBird Pattern.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
[21/41] Compiling CleverBird CleverBirdError.swift
[22/41] Compiling CleverBird OpenAIAPIConnection.swift
[23/41] Compiling CleverBird ChatCompletionRequestParameters.swift
[24/41] Compiling CleverBird ChatCompletionResponse.swift
[25/41] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[26/41] Compiling CleverBird Penalty.swift
[27/41] Compiling CleverBird Percentage.swift
[28/41] Compiling CleverBird ChatMessage.swift
[29/41] Compiling CleverBird ChatModel.swift
[30/41] Compiling CleverBird ChatThread+complete.swift
[31/41] Compiling CleverBird ChatThread+tokenCount.swift
[32/41] Compiling CleverBird ChatThread.swift
[33/41] Compiling CleverBird Function.swift
[34/41] Compiling CleverBird FunctionCall.swift
[35/41] Compiling CleverBird FunctionCallMode.swift
[36/41] Compiling CleverBird ChatStreamedResponseChunk.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:10:68: error: value of type 'URLSession' has no member 'bytes'
 8 |         let request = try await createChatCompletionRequest(for: body)
 9 |         let urlRequest = try await client.makeURLRequest(for: request)
10 |         let (asyncByteStream, response) = try await client.session.bytes(for: urlRequest)
   |                                                                    `- error: value of type 'URLSession' has no member 'bytes'
11 |
12 |         guard let response = response as? HTTPURLResponse else {
[37/41] Compiling CleverBird ChatThread+withStreaming.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:10:68: error: value of type 'URLSession' has no member 'bytes'
 8 |         let request = try await createChatCompletionRequest(for: body)
 9 |         let urlRequest = try await client.makeURLRequest(for: request)
10 |         let (asyncByteStream, response) = try await client.session.bytes(for: urlRequest)
   |                                                                    `- error: value of type 'URLSession' has no member 'bytes'
11 |
12 |         guard let response = response as? HTTPURLResponse else {
[38/41] Compiling CleverBird OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:6:94: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 4 |
 5 | extension OpenAIAPIConnection {
 6 |     func createChatCompletionAsyncByteStream(for body: Encodable) async throws -> URLSession.AsyncBytes {
   |                                                                                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 |         let request = try await createChatCompletionRequest(for: body)
/host/spi-builder-workspace/.build/checkouts/CleverBird/Sources/CleverBird/chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift:10:68: error: value of type 'URLSession' has no member 'bytes'
 8 |         let request = try await createChatCompletionRequest(for: body)
 9 |         let urlRequest = try await client.makeURLRequest(for: request)
10 |         let (asyncByteStream, response) = try await client.session.bytes(for: urlRequest)
   |                                                                    `- error: value of type 'URLSession' has no member 'bytes'
11 |
12 |         guard let response = response as? HTTPURLResponse else {
[39/41] Compiling CleverBird Token.swift
[40/41] Compiling CleverBird TokenEncoder.swift
[41/41] Compiling CleverBird resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux