The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1
Building package at path:  $PWD
https://github.com/PicoMLX/PicoVector.git
https://github.com/PicoMLX/PicoVector.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cleverbird",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/btfranklin/CleverBird"
    }
  ],
  "manifest_display_name" : "VectorNest",
  "name" : "VectorNest",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "VectorNest",
      "targets" : [
        "VectorNest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VectorNestTests",
      "module_type" : "SwiftTarget",
      "name" : "VectorNestTests",
      "path" : "Tests/VectorNestTests",
      "sources" : [
        "VectorNestTests.swift"
      ],
      "target_dependencies" : [
        "VectorNest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VectorNest",
      "module_type" : "SwiftTarget",
      "name" : "VectorNest",
      "path" : "Sources/VectorNest",
      "product_dependencies" : [
        "CleverBird"
      ],
      "product_memberships" : [
        "VectorNest"
      ],
      "sources" : [
        "TextSplitter/ParagraphTextSplitter.swift",
        "TextSplitter/RecursiveTextSplitter.swift",
        "TextSplitter/TextSplitter.swift",
        "VectorNest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/btfranklin/CleverBird
[1/1160] Fetching cleverbird
Fetched https://github.com/btfranklin/CleverBird from cache (0.27s)
Computing version for https://github.com/btfranklin/CleverBird
Computed https://github.com/btfranklin/CleverBird at 3.2.1 (2.16s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.36s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.91s)
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
[2/6] Copying gpt3-vocab.bpe
[4/6] Copying gpt3-encoder.json
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/12] Emitting module Get
[8/12] Compiling Get APIClientDelegate.swift
[9/12] Compiling Get APIClient.swift
[10/12] Compiling Get Response.swift
[11/12] Compiling Get DataLoader.swift
[12/12] Compiling Get Request.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/38] 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 {
[16/38] 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 {
[17/38] 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 {
[18/41] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[19/41] Compiling CleverBird Penalty.swift
[20/41] Compiling CleverBird Percentage.swift
[21/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)
[22/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)
[23/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)
[24/41] Compiling CleverBird FunctionRegistry.swift
[25/41] Compiling CleverBird JSONType.swift
[26/41] Compiling CleverBird JSONValue.swift
[27/41] Compiling CleverBird CleverBirdError.swift
[28/41] Compiling CleverBird OpenAIAPIConnection.swift
[29/41] Compiling CleverBird ChatCompletionRequestParameters.swift
[30/41] Compiling CleverBird ChatCompletionResponse.swift
[31/41] Compiling CleverBird ChatMessage.swift
[32/41] Compiling CleverBird ChatModel.swift
[33/41] Compiling CleverBird ChatThread+complete.swift
[34/41] Compiling CleverBird ChatThread+tokenCount.swift
[35/41] Compiling CleverBird ChatThread.swift
[36/41] Compiling CleverBird Function.swift
[37/41] Compiling CleverBird FunctionCall.swift
[38/41] Compiling CleverBird FunctionCallMode.swift
[39/41] Compiling CleverBird Token.swift
[40/41] Compiling CleverBird TokenEncoder.swift
[41/41] Compiling CleverBird resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Get Request.swift
[3/7] Compiling Get Response.swift
[4/7] Compiling Get DataLoader.swift
[5/7] Compiling Get APIClient.swift
[6/7] Compiling Get APIClientDelegate.swift
[7/7] Emitting module Get
[9/33] 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 {
[10/33] 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 {
[11/33] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/36] 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)
[13/36] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[14/36] Compiling CleverBird Penalty.swift
[15/36] Compiling CleverBird Percentage.swift
[16/36] Compiling CleverBird FunctionRegistry.swift
[17/36] Compiling CleverBird JSONType.swift
[18/36] Compiling CleverBird JSONValue.swift
[19/36] Compiling CleverBird CleverBirdError.swift
[20/36] Compiling CleverBird OpenAIAPIConnection.swift
[21/36] Compiling CleverBird ChatCompletionRequestParameters.swift
[22/36] Compiling CleverBird ChatCompletionResponse.swift
[23/36] Compiling CleverBird ChatMessage.swift
[24/36] Compiling CleverBird ChatModel.swift
[25/36] Compiling CleverBird ChatThread+complete.swift
[26/36] Compiling CleverBird ChatThread+tokenCount.swift
[27/36] Compiling CleverBird ChatThread.swift
[28/36] Compiling CleverBird Function.swift
[29/36] Compiling CleverBird FunctionCall.swift
[30/36] Compiling CleverBird FunctionCallMode.swift
[31/36] 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)
[32/36] 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)
[33/36] 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)
[34/36] Compiling CleverBird Token.swift
[35/36] Compiling CleverBird TokenEncoder.swift
[36/36] Compiling CleverBird resource_bundle_accessor.swift
BUILD FAILURE 6.1 linux