Build Information
Successful build of LaunchAgent, reference 0.3.0 (9f6d33
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 08:21:40 UTC.
Swift 6 data race errors: 4
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/emorydunn/launchagent.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emorydunn/launchagent
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 9f6d33a Set version
Cloned https://github.com/emorydunn/launchagent.git
Revision (git rev-parse @):
9f6d33abfa4a0a45a877e9b884391981c1f4152b
SUCCESS checkout https://github.com/emorydunn/launchagent.git at 0.3.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": "launchagent",
"name": "LaunchAgent",
"url": "https://github.com/emorydunn/launchagent.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/launchagent",
"dependencies": [
]
}
]
}
Fetching https://github.com/emorydunn/launchagent.git
[1/648] Fetching launchagent
Fetched https://github.com/emorydunn/launchagent.git from cache (0.94s)
Creating working copy for https://github.com/emorydunn/launchagent.git
Working copy of https://github.com/emorydunn/launchagent.git resolved at 0.3.0 (9f6d33a)
warning: '.resolve-product-dependencies': dependency 'launchagent' 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/emorydunn/launchagent.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/12] Compiling LaunchAgent StartCalendarInterval.swift
[4/13] Emitting module LaunchAgent
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:26:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
24 |
25 | /// Read permission bit
26 | public static let read = PermissionBits(rawValue: 4)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
27 |
28 | /// Write permission bit
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:29:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
27 |
28 | /// Write permission bit
29 | public static let write = PermissionBits(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
30 |
31 | /// Execute permission bit
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:32:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
30 |
31 | /// Execute permission bit
32 | public static let execute = PermissionBits(rawValue: 1)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
33 |
34 |
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Control agents and daemons.
27 | public class LaunchControl {
| `- note: class 'LaunchControl' does not conform to the 'Sendable' protocol
28 |
29 | /// The shared instance
30 | public static let shared = LaunchControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | static let launchctl = "/bin/launchctl"
[5/13] Compiling LaunchAgent ResourceLimits.swift
[6/13] Compiling LaunchAgent ProcessType.swift
[7/13] Compiling LaunchAgent MachService.swift
[8/13] Compiling LaunchAgent File Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:26:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
24 |
25 | /// Read permission bit
26 | public static let read = PermissionBits(rawValue: 4)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
27 |
28 | /// Write permission bit
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:29:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
27 |
28 | /// Write permission bit
29 | public static let write = PermissionBits(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
30 |
31 | /// Execute permission bit
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key Types/File Permissions.swift:32:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | */
20 | public struct PermissionBits: OptionSet, Codable, CustomStringConvertible {
| `- note: consider making struct 'PermissionBits' conform to the 'Sendable' protocol
21 |
22 | /// Raw value
:
30 |
31 | /// Execute permission bit
32 | public static let execute = PermissionBits(rawValue: 1)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'PermissionBits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
33 |
34 |
[9/13] Compiling LaunchAgent LaunchAgent.swift
[10/13] Compiling LaunchAgent inetdCompatibility.swift
[11/13] Compiling LaunchAgent LaunchAgent+Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Control agents and daemons.
27 | public class LaunchControl {
| `- note: class 'LaunchControl' does not conform to the 'Sendable' protocol
28 |
29 | /// The shared instance
30 | public static let shared = LaunchControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | static let launchctl = "/bin/launchctl"
[12/13] Compiling LaunchAgent LaunchControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Control agents and daemons.
27 | public class LaunchControl {
| `- note: class 'LaunchControl' does not conform to the 'Sendable' protocol
28 |
29 | /// The shared instance
30 | public static let shared = LaunchControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LaunchControl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 |
32 | static let launchctl = "/bin/launchctl"
[13/13] Compiling LaunchAgent String Extensions.swift
Build complete! (14.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LaunchAgent",
"name" : "LaunchAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LaunchAgent",
"targets" : [
"LaunchAgent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LaunchAgentTests",
"module_type" : "SwiftTarget",
"name" : "LaunchAgentTests",
"path" : "Tests/LaunchAgentTests",
"sources" : [
"FilePermissionsTests.swift",
"LaunchAgentTests.swift",
"LaunchAgentValiditytests.swift",
"LaunchControlTests.swift",
"ProgramTests.swift",
"StartCalendarIntervalTests.swift"
],
"target_dependencies" : [
"LaunchAgent"
],
"type" : "test"
},
{
"c99name" : "LaunchAgent",
"module_type" : "SwiftTarget",
"name" : "LaunchAgent",
"path" : "Sources/LaunchAgent",
"product_memberships" : [
"LaunchAgent"
],
"sources" : [
"Key Types/File Permissions.swift",
"Key Types/MachService.swift",
"Key Types/ProcessType.swift",
"Key Types/ResourceLimits.swift",
"Key Types/StartCalendarInterval.swift",
"Key Types/inetdCompatibility.swift",
"LaunchAgent+Status.swift",
"LaunchAgent.swift",
"LaunchControl.swift",
"String Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.