Build Information
Successful build of Alfred, reference 3.0.0 (eadbfe
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 15:00:32 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/Alfred.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/Alfred
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at eadbfe0 Merge pull request #12 from Yerkenabildin/fix-modifiers
Cloned https://github.com/kiliankoe/Alfred.git
Revision (git rev-parse @):
eadbfe0b23cbd2f067643546bf49199595729d8b
SUCCESS checkout https://github.com/kiliankoe/Alfred.git at 3.0.0
========================================
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": "alfred",
"name": "Alfred",
"url": "https://github.com/kiliankoe/Alfred.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alfred",
"dependencies": [
]
}
]
}
Fetching https://github.com/kiliankoe/Alfred.git
[1/171] Fetching alfred
Fetched https://github.com/kiliankoe/Alfred.git from cache (0.66s)
Creating working copy for https://github.com/kiliankoe/Alfred.git
Working copy of https://github.com/kiliankoe/Alfred.git resolved at 3.0.0 (eadbfe0)
warning: '.resolve-product-dependencies': dependency 'alfred' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kiliankoe/Alfred.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling Alfred ModifierAction.swift
[4/9] Compiling Alfred Icon.swift
[5/9] Compiling Alfred Item.swift
[6/9] Compiling Alfred Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Response.swift:23:16: warning: static property 'encoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | static var encoder: JSONEncoder = {
| |- warning: static property 'encoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'encoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'encoder' 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
24 | let encoder = JSONEncoder()
25 | encoder.outputFormatting = [.prettyPrinted, .sortedKeys]
[7/9] Emitting module Alfred
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Response.swift:23:16: warning: static property 'encoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | static var encoder: JSONEncoder = {
| |- warning: static property 'encoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'encoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'encoder' 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
24 | let encoder = JSONEncoder()
25 | encoder.outputFormatting = [.prettyPrinted, .sortedKeys]
[8/9] Compiling Alfred Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Environment.swift:183:29: warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
181 | let startIdx = rgba.index(rgba.startIndex, offsetBy: result.range.location)
182 | let endIdx = rgba.index(startIdx, offsetBy: result.range.length)
183 | return rgba.substring(with: startIdx..<endIdx)
| `- warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
184 | }
185 | .compactMap { Double($0).map({ CGFloat($0) }) }
[9/9] Compiling Alfred Argument.swift
Build complete! (10.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Alfred",
"name" : "Alfred",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Alfred",
"targets" : [
"Alfred"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AlfredTests",
"module_type" : "SwiftTarget",
"name" : "AlfredTests",
"path" : "Tests/AlfredTests",
"sources" : [
"ArgumentTests.swift",
"EnvironmentTests.swift",
"Helper.swift",
"IconTests.swift",
"ItemTests.swift",
"ModifierActionTests.swift",
"ResponseTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Alfred"
],
"type" : "test"
},
{
"c99name" : "Alfred",
"module_type" : "SwiftTarget",
"name" : "Alfred",
"path" : "Sources/Alfred",
"product_memberships" : [
"Alfred"
],
"sources" : [
"Argument.swift",
"Environment.swift",
"Icon.swift",
"Item.swift",
"ModifierAction.swift",
"Response.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.