Build Information
Successful build of FileKit, reference 1.1.0 (9d3ddb
), with Swift 6.1 for Linux on 27 Apr 2025 06:15:09 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/FileKit.git
Reference: 1.1.0
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/Kitura/FileKit
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 9d3ddb8 Update dependency (LoggerAPI 2.0.0); Update README to reflect Swift 5.2 minimum requirement (#16)
Cloned https://github.com/Kitura/FileKit.git
Revision (git rev-parse @):
9d3ddb89a16d388eaad0db5e17c4682b767bd48f
SUCCESS checkout https://github.com/Kitura/FileKit.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kitura/FileKit.git
https://github.com/Kitura/FileKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "FileKit",
"name" : "FileKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FileKit",
"targets" : [
"FileKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileKitTests",
"module_type" : "SwiftTarget",
"name" : "FileKitTests",
"path" : "Tests/FileKitTests",
"sources" : [
"FileKitTests.swift"
],
"target_dependencies" : [
"FileKit"
],
"type" : "test"
},
{
"c99name" : "FileKit",
"module_type" : "SwiftTarget",
"name" : "FileKit",
"path" : "Sources/FileKit",
"product_dependencies" : [
"LoggerAPI"
],
"product_memberships" : [
"FileKit"
],
"sources" : [
"FileKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (1.46s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.57s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/9] Compiling Logging LogHandler.swift
[6/9] Compiling Logging MetadataProvider.swift
[7/9] Compiling Logging Logging.swift
[8/9] Emitting module Logging
[9/9] Compiling Logging Locks.swift
[11/12] Compiling LoggerAPI Logger.swift
[12/12] Emitting module LoggerAPI
[14/15] Emitting module FileKit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/FileKit/FileKit.swift:178:24: warning: static property 'projectHeadIterator' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
176 |
177 | /// Takes a starting directory and iterates down the tree to find package.swift (the root directory)
178 | private static let projectHeadIterator = { (startingDir: URL) -> URL? in
| |- warning: static property 'projectHeadIterator' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'projectHeadIterator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | let fileManager = FileManager()
180 | var startingDir = startingDir.appendingPathComponent("dummy")
[15/15] Compiling FileKit FileKit.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/FileKit/FileKit.swift:178:24: warning: static property 'projectHeadIterator' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
176 |
177 | /// Takes a starting directory and iterates down the tree to find package.swift (the root directory)
178 | private static let projectHeadIterator = { (startingDir: URL) -> URL? in
| |- warning: static property 'projectHeadIterator' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'projectHeadIterator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | let fileManager = FileManager()
180 | var startingDir = startingDir.appendingPathComponent("dummy")
Build complete! (19.55s)
Build complete.
{
"dependencies" : [
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "FileKit",
"name" : "FileKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FileKit",
"targets" : [
"FileKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileKitTests",
"module_type" : "SwiftTarget",
"name" : "FileKitTests",
"path" : "Tests/FileKitTests",
"sources" : [
"FileKitTests.swift"
],
"target_dependencies" : [
"FileKit"
],
"type" : "test"
},
{
"c99name" : "FileKit",
"module_type" : "SwiftTarget",
"name" : "FileKit",
"path" : "Sources/FileKit",
"product_dependencies" : [
"LoggerAPI"
],
"product_memberships" : [
"FileKit"
],
"sources" : [
"FileKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.