Build Information
Successful build of DataFetcher, reference v1.0.2 (88550e
), with Swift 6.0 for Linux on 28 Nov 2024 21:23:35 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/DataFetcher.git
Reference: v1.0.2
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/elegantchaos/DataFetcher
* tag v1.0.2 -> FETCH_HEAD
HEAD is now at 88550e5 Convert to a Result when constructing MockDataFetcher.Output objects.
Cloned https://github.com/elegantchaos/DataFetcher.git
Revision (git rev-parse @):
88550e5207654ad19237a578188e4757c919970b
SUCCESS checkout https://github.com/elegantchaos/DataFetcher.git at v1.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/elegantchaos/DataFetcher.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Coercion.git
[1/571] Fetching xctestextensions
[572/845] Fetching xctestextensions, coercion
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.21s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.21s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.1.3 (0.49s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.57s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.17s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.48s)
Creating working copy for https://github.com/elegantchaos/Coercion.git
Working copy of https://github.com/elegantchaos/Coercion.git resolved at 1.1.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling Coercion IntConvertible.swift
[5/18] Compiling Coercion StandardConvertible.swift
[6/18] Compiling Coercion StringConvertible.swift
[7/18] Compiling Coercion UIntConvertible.swift
[8/19] Compiling Coercion String+Coercion.swift
[9/19] Compiling Coercion DateConvertible.swift
[10/19] Compiling Coercion DoubleConvertible.swift
[11/19] Compiling Coercion Dictionary+Coercion.swift
[12/19] Compiling Coercion Double+Coercion.swift
[13/19] Compiling Coercion BoolConvertible.swift
[14/19] Compiling Coercion DataConvertible.swift
[15/19] Compiling Coercion BinaryInteger+Coercion.swift
[16/19] Compiling Coercion Bool+Coercion.swift
[17/19] Emitting module Coercion
[18/19] Compiling Coercion Converter.swift
[19/19] Compiling Coercion Date+Coercion.swift
[21/24] Compiling DataFetcher MockDataFetcher.swift
/host/spi-builder-workspace/Sources/DataFetcher/MockDataFetcher.swift:34:64: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
32 | public func cancel() { }
33 | public func resume() {
34 | DispatchQueue.global(qos: .default).async(execute: execute)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
35 | }
36 |
[22/24] Emitting module DataFetcher
[23/24] Compiling DataFetcher DataFetcher.swift
/host/spi-builder-workspace/Sources/DataFetcher/DataFetcher.swift:127:17: warning: capture of 'callback' with non-sendable type 'DataCallback' (aka '(Result<Data, any Error>, Optional<URLResponse>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | let task = dataTask(with: request) { data, response, error in
126 | if let error = error {
127 | callback(.failure(error), response)
| |- warning: capture of 'callback' with non-sendable type 'DataCallback' (aka '(Result<Data, any Error>, Optional<URLResponse>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
128 | } else if let data = data {
129 | callback(.success(data), response)
[24/24] Compiling DataFetcher JSONDictionary.swift
Build complete! (17.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "coercion",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Coercion.git"
},
{
"identity" : "xctestextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XCTestExtensions.git"
}
],
"manifest_display_name" : "DataFetcher",
"name" : "DataFetcher",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "DataFetcher",
"targets" : [
"DataFetcher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DataFetcherTests",
"module_type" : "SwiftTarget",
"name" : "DataFetcherTests",
"path" : "Tests/DataFetcherTests",
"product_dependencies" : [
"XCTestExtensions"
],
"sources" : [
"CodableTests.swift",
"DataTests.swift",
"JSONTests.swift",
"StringTests.swift",
"TestSupport.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DataFetcher"
],
"type" : "test"
},
{
"c99name" : "DataFetcher",
"module_type" : "SwiftTarget",
"name" : "DataFetcher",
"path" : "Sources/DataFetcher",
"product_dependencies" : [
"Coercion"
],
"product_memberships" : [
"DataFetcher"
],
"sources" : [
"DataFetcher.swift",
"JSONDictionary.swift",
"MockDataFetcher.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.