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 PineconeSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ArchieGoodwin/PineconeSwift.git
Reference: 0.7.4
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/ArchieGoodwin/PineconeSwift
 * tag               0.7.4      -> FETCH_HEAD
HEAD is now at c13d1e1 Create LICENSE
Cloned https://github.com/ArchieGoodwin/PineconeSwift.git
Revision (git rev-parse @):
c13d1e1a0aa81d23f166dfbef3999b162c1557dd
SUCCESS checkout https://github.com/ArchieGoodwin/PineconeSwift.git at 0.7.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ArchieGoodwin/PineconeSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling PineconeSwift PineconeSwift.swift
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:102:103: error: cannot find type 'URLRequest' in scope
    private func prepareRequest<BodyType: Encodable>(_ endpoint: PineconeEndpoint, body: BodyType) -> URLRequest {
                                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:31:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:46:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:66:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:86:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:105:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: urlComponents!.url!)
                      ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling PineconeSwift PineconeModels.swift
[5/6] Compiling PineconeSwift EmbedModel.swift
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'id' case to silence this warning
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: make the property mutable instead
    public let id: String? = UUID().uuidString
           ~~~ ^
           var
[6/6] Emitting module PineconeSwift
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'id' case to silence this warning
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: make the property mutable instead
    public let id: String? = UUID().uuidString
           ~~~ ^
           var
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:102:103: error: cannot find type 'URLRequest' in scope
    private func prepareRequest<BodyType: Encodable>(_ endpoint: PineconeEndpoint, body: BodyType) -> URLRequest {
                                                                                                      ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module PineconeSwift
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'id' case to silence this warning
    public let id: String? = UUID().uuidString
               ^
/host/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: note: make the property mutable instead
    public let id: String? = UUID().uuidString
           ~~~ ^
           var
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:102:103: error: cannot find type 'URLRequest' in scope
    private func prepareRequest<BodyType: Encodable>(_ endpoint: PineconeEndpoint, body: BodyType) -> URLRequest {
                                                                                                      ^~~~~~~~~~
[3/3] Compiling PineconeSwift PineconeSwift.swift
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:102:103: error: cannot find type 'URLRequest' in scope
    private func prepareRequest<BodyType: Encodable>(_ endpoint: PineconeEndpoint, body: BodyType) -> URLRequest {
                                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:31:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:46:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:66:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:86:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let session = URLSession.shared
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/PineconeSwift/PineconeSwift.swift:105:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: urlComponents!.url!)
                      ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux