Build Information
Successful build of FileKit, reference 1.1.0 (9d3ddb
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:35:59 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/FileKit.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/Kitura/LoggerAPI.git
[8/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.01s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3709] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.51s)
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.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "filekit",
"name": "FileKit",
"url": "https://github.com/Kitura/FileKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileKit",
"dependencies": [
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.92s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.47s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
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.2
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0 (9d3ddb8)
warning: '.resolve-product-dependencies': dependency 'filekit' is not used by any target
Found 1 product dependencies
- LoggerAPI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/FileKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/9] Compiling Logging Locks.swift
[6/9] Compiling Logging LogHandler.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging MetadataProvider.swift
[9/9] Compiling Logging Logging.swift
[10/11] Emitting module LoggerAPI
[11/11] Compiling LoggerAPI Logger.swift
[12/13] Compiling FileKit FileKit.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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: annotate 'projectHeadIterator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | let fileManager = FileManager()
180 | var startingDir = startingDir.appendingPathComponent("dummy")
[13/13] Emitting module FileKit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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: annotate 'projectHeadIterator' with '@MainActor' if property should only be accessed from the main actor
| `- 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! (8.03s)
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" : "/Users/admin/builder/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"
}
Done.