Build Information
Successful build of FlagsmithClient, reference 3.8.1 (56e62d
), with Swift 5.9 for Linux on 18 Nov 2024 23:26:36 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: 3.8.1
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
* tag 3.8.1 -> FETCH_HEAD
HEAD is now at 56e62da chore(release): Bump package version (#72)
Cloned https://github.com/Flagsmith/flagsmith-ios-client.git
Revision (git rev-parse @):
56e62da513032f58aa85fd57a5eccd0288a0fd9e
SUCCESS checkout https://github.com/Flagsmith/flagsmith-ios-client.git at 3.8.1
========================================
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/realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/45549] Fetching swiftformat
[5997/187027] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat (22.42s)
Fetched https://github.com/realm/SwiftLint.git (23.82s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.57.0 (0.49s)
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
[930/1012] Fetching swiftytexttable, collectionconcurrencykit
[1006/13715] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.23s)
Fetching https://github.com/jpsim/Yams.git
[458/12786] Fetching collectionconcurrencykit, cryptoswift
[636/12703] Fetching cryptoswift
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git (0.23s)
Fetching https://github.com/jpsim/SourceKitten.git
[1907/28719] Fetching cryptoswift, sourcekitten
[5674/38634] Fetching cryptoswift, sourcekitten, yams
Fetched https://github.com/jpsim/Yams.git (1.41s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten.git (1.74s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.98s)
[1/12371] Fetching swift-argument-parser
[12372/78949] Fetching swift-argument-parser, swift-syntax
[666/66578] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (0.74s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.12s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (1.12s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.05s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.40s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.27s)
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.58s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.48s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.48s)
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.40s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.0 (0.41s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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/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/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.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
[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] 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
[7/24] Compiling FlagsmithClient UnknownTypeValue.swift
[8/24] Compiling FlagsmithClient resource_bundle_accessor.swift
[9/24] Compiling FlagsmithClient CachedURLResponse.swift
[10/24] Compiling FlagsmithClient FlagsmithAnalytics.swift
[11/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
[12/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
[13/24] Compiling FlagsmithClient Traits.swift
[14/24] Compiling FlagsmithClient TypedValue.swift
[15/24] Compiling FlagsmithClient Feature.swift
[16/24] Compiling FlagsmithClient Flag.swift
[17/24] Compiling FlagsmithClient FlagEvent.swift
[18/24] Compiling FlagsmithClient ReconnectionDelay.swift
[19/24] Compiling FlagsmithClient Router.swift
[20/24] Compiling FlagsmithClient SSEManager.swift
[21/24] Compiling FlagsmithClient Trait.swift
[22/24] Compiling FlagsmithClient Flagsmith+Concurrency.swift
[23/24] Compiling FlagsmithClient Flagsmith.swift
[24/24] Compiling FlagsmithClient FlagsmithError.swift
Build complete! (67.66s)
Build complete.
Done.