Build Information
Successful build of FlagsmithClient, reference main (99e4ca
), with Swift 5.10 for Linux on 22 Nov 2024 01:37:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $PWD
https://github.com/Flagsmith/flagsmith-ios-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/45583] Fetching swiftformat
[5927/187120] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat from cache (45.57s)
Fetched https://github.com/realm/SwiftLint.git from cache (46.10s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.57.0 (0.51s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/83] Fetching collectionconcurrencykit
[84/1012] Fetching collectionconcurrencykit, swiftytexttable
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.25s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/12703] Fetching cryptoswift
[1399/28719] Fetching cryptoswift, sourcekitten
[4150/38655] Fetching cryptoswift, sourcekitten, yams
[18943/51058] Fetching cryptoswift, sourcekitten, yams, swift-argument-parser
[39529/117746] Fetching cryptoswift, sourcekitten, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.07s)
[33900/105343] Fetching cryptoswift, sourcekitten, yams, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.27s)
[53316/89327] Fetching cryptoswift, yams, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.28s)
[41947/76624] Fetching yams, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (6.62s)
Fetched https://github.com/jpsim/Yams.git from cache (6.66s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.69s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (1.71s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.72s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.59s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.46s)
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.94s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.75s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.54s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.67s)
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.83s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.1 (0.78s)
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
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/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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
[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/7] Copying PrivacyInfo.xcprivacy
[4/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/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
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FlagsmithClient.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[9/26] Compiling FlagsmithClient UnknownTypeValue.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FlagsmithClient.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[10/26] Compiling FlagsmithClient resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FlagsmithClient.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[11/26] Compiling FlagsmithClient SSEManager.swift
[12/26] Compiling FlagsmithClient Trait.swift
[13/26] Compiling FlagsmithClient Traits.swift
[14/26] Compiling FlagsmithClient TypedValue.swift
[15/26] Compiling FlagsmithClient Flagsmith+Concurrency.swift
[16/26] Compiling FlagsmithClient Flagsmith.swift
[17/26] Compiling FlagsmithClient FlagsmithError.swift
[18/26] Compiling FlagsmithClient CachedURLResponse.swift
[19/26] Compiling FlagsmithClient FlagsmithAnalytics.swift
[20/26] Compiling FlagsmithClient ReconnectionDelay.swift
[21/26] Compiling FlagsmithClient Router.swift
[22/26] 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
[23/26] 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
[24/26] Compiling FlagsmithClient Feature.swift
[25/26] Compiling FlagsmithClient Flag.swift
[26/26] Compiling FlagsmithClient FlagEvent.swift
Build complete! (96.24s)
Build complete.
Done.