The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FlagsmithClient, reference main (99e4ca), with Swift 5.9 for Linux on 22 Nov 2024 01:36:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flagsmith/flagsmith-ios-client.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/Flagsmith/flagsmith-ios-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99e4ca6 ci: add workflow to publish to CocoaPods (#74)
Cloned https://github.com/Flagsmith/flagsmith-ios-client.git
Revision (git rev-parse @):
99e4ca6775386edcea5a1b7c8449d71f2accdba7
SUCCESS checkout https://github.com/Flagsmith/flagsmith-ios-client.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Flagsmith/flagsmith-ios-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/realm/SwiftLint.git
[1/45583] Fetching swiftformat
[5927/187120] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat (43.14s)
Fetched https://github.com/realm/SwiftLint.git (43.81s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.57.0 (0.61s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[856/1012] Fetching swiftytexttable, collectionconcurrencykit
[939/13715] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.36s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git (0.37s)
Fetching https://github.com/jpsim/SourceKitten.git
[1906/12703] Fetching cryptoswift
[2796/28719] Fetching cryptoswift, sourcekitten
[4553/38655] Fetching cryptoswift, sourcekitten, yams
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (2.69s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten.git (2.59s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/Yams.git (2.59s)
[1/12403] Fetching swift-argument-parser
[12404/79091] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (0.96s)
[6002/66688] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (7.21s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (1.60s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.66s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.61s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0-prerelease-2024-08-14 (0.77s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.57s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.64s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.50s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.45s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.1 (0.51s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0-prerelease-2024-08-14
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.57.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
/host/spi-builder-workspace/.build/checkouts/SwiftLint/Plugins/SwiftLintCommandPlugin/SwiftLintCommandPlugin.swift:41:13: warning: default will never be executed
            @unknown default:
            ^
[4/4] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[4/5] Copying PrivacyInfo.xcprivacy
[6/22] Compiling FlagsmithClient ReconnectionDelay.swift
[7/22] Compiling FlagsmithClient Router.swift
[8/22] Compiling FlagsmithClient CachedURLResponse.swift
[9/22] Compiling FlagsmithClient FlagsmithAnalytics.swift
[10/24] Compiling FlagsmithClient UnknownTypeValue.swift
[11/24] Compiling FlagsmithClient resource_bundle_accessor.swift
[12/24] Compiling FlagsmithClient SSEManager.swift
[13/24] Compiling FlagsmithClient Trait.swift
[14/24] Compiling FlagsmithClient Traits.swift
[15/24] Compiling FlagsmithClient TypedValue.swift
[16/24] Compiling FlagsmithClient Feature.swift
[17/24] Compiling FlagsmithClient Flag.swift
[18/24] Compiling FlagsmithClient FlagEvent.swift
[19/24] Emitting module FlagsmithClient
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:94:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:willCacheResponse:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
    func urlSession(_: URLSession, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse,
         ^
FoundationNetworking.URLSessionDataDelegate:6:10: note: expected sendability to match requirement here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void)
         ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:10:5: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
    import FoundationNetworking
    ^
    @preconcurrency
[20/24] Compiling FlagsmithClient Flagsmith+Concurrency.swift
[21/24] Compiling FlagsmithClient Flagsmith.swift
[22/24] Compiling FlagsmithClient FlagsmithError.swift
[23/24] Compiling FlagsmithClient Identity.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:94:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:willCacheResponse:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
    func urlSession(_: URLSession, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse,
         ^
FoundationNetworking.URLSessionDataDelegate:6:10: note: expected sendability to match requirement here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void)
         ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:10:5: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
    import FoundationNetworking
    ^
    @preconcurrency
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:101:62: warning: capture of 'newResponse' with non-sendable type 'CachedURLResponse' in a `@Sendable` closure
                DispatchQueue.main.async { completionHandler(newResponse) }
                                                             ^
FoundationNetworking.CachedURLResponse:1:12: note: class 'CachedURLResponse' does not conform to the 'Sendable' protocol
open class CachedURLResponse : NSObject, NSCopying {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:103:62: warning: capture of 'proposedResponse' with non-sendable type 'CachedURLResponse' in a `@Sendable` closure
                DispatchQueue.main.async { completionHandler(proposedResponse) }
                                                             ^
FoundationNetworking.CachedURLResponse:1:12: note: class 'CachedURLResponse' does not conform to the 'Sendable' protocol
open class CachedURLResponse : NSObject, NSCopying {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:191:37: warning: capture of 'decoder' with non-sendable type 'JSONDecoder' in a `@Sendable` closure
                    let value = try decoder.decode(T.self, from: data)
                                    ^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[24/24] Compiling FlagsmithClient APIManager.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:94:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:willCacheResponse:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
    func urlSession(_: URLSession, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse,
         ^
FoundationNetworking.URLSessionDataDelegate:6:10: note: expected sendability to match requirement here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void)
         ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:10:5: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
    import FoundationNetworking
    ^
    @preconcurrency
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:101:62: warning: capture of 'newResponse' with non-sendable type 'CachedURLResponse' in a `@Sendable` closure
                DispatchQueue.main.async { completionHandler(newResponse) }
                                                             ^
FoundationNetworking.CachedURLResponse:1:12: note: class 'CachedURLResponse' does not conform to the 'Sendable' protocol
open class CachedURLResponse : NSObject, NSCopying {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:103:62: warning: capture of 'proposedResponse' with non-sendable type 'CachedURLResponse' in a `@Sendable` closure
                DispatchQueue.main.async { completionHandler(proposedResponse) }
                                                             ^
FoundationNetworking.CachedURLResponse:1:12: note: class 'CachedURLResponse' does not conform to the 'Sendable' protocol
open class CachedURLResponse : NSObject, NSCopying {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:191:37: warning: capture of 'decoder' with non-sendable type 'JSONDecoder' in a `@Sendable` closure
                    let value = try decoder.decode(T.self, from: data)
                                    ^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
           ^
/host/spi-builder-workspace/FlagsmithClient/Classes/Internal/APIManager.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
Build complete! (97.14s)
Build complete.
Done.