Build Information
Successful build of EonilFSEvents, reference 0.1.7 (e6b7cd
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 16:32:14 UTC.
Swift 6 data race errors: 3
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eonil/FSEvents.git
Reference: 0.1.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eonil/FSEvents
* tag 0.1.7 -> FETCH_HEAD
HEAD is now at e6b7cdf Add build test and fix test script.
Cloned https://github.com/eonil/FSEvents.git
Revision (git rev-parse @):
e6b7cdfa2754454e194a45ee6c2004d0f630fe88
SUCCESS checkout https://github.com/eonil/FSEvents.git at 0.1.7
========================================
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": "fsevents",
"name": "EonilFSEvents",
"url": "https://github.com/eonil/FSEvents.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FSEvents",
"dependencies": [
]
}
]
}
Fetching https://github.com/eonil/FSEvents.git
[1/158] Fetching fsevents
Fetched https://github.com/eonil/FSEvents.git from cache (0.75s)
Creating working copy for https://github.com/eonil/FSEvents.git
Working copy of https://github.com/eonil/FSEvents.git resolved at 0.1.7 (e6b7cdf)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/eonil/FSEvents.git
{
"dependencies" : [
],
"manifest_display_name" : "EonilFSEvents",
"name" : "EonilFSEvents",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "EonilFSEvents",
"targets" : [
"EonilFSEvents"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EonilFSEventsDemoCLI",
"targets" : [
"EonilFSEventsDemoCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "EonilFSEventsDemoCLI",
"module_type" : "SwiftTarget",
"name" : "EonilFSEventsDemoCLI",
"path" : "Sources/EonilFSEventsDemoCLI",
"product_memberships" : [
"EonilFSEventsDemoCLI"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"EonilFSEvents"
],
"type" : "executable"
},
{
"c99name" : "EonilFSEvents",
"module_type" : "SwiftTarget",
"name" : "EonilFSEvents",
"path" : "Sources/EonilFSEvents",
"product_memberships" : [
"EonilFSEvents",
"EonilFSEventsDemoCLI"
],
"sources" : [
"EonilFSEventStream.swift",
"EonilFSEventStreamCreateFlags.swift",
"EonilFSEventStreamError.swift",
"EonilFSEventStreamEvent.swift",
"EonilFSEventStreamEventFlags.swift",
"EonilFSEventStreamEventID.swift",
"EonilFSEventStreamIllogicalErrorLog.swift",
"EonilFSEvents.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/7] Write sources
[2/7] Write EonilFSEventsDemoCLI-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/16] Compiling EonilFSEvents EonilFSEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEvents.swift:49:13: warning: var 'watchers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | }
49 | private var watchers = [ObjectIdentifier: EonilFSEventStream]()
| |- warning: var 'watchers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'watchers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'watchers' 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
50 |
[6/16] Compiling EonilFSEvents EonilFSEventStreamEvent.swift
[7/16] Compiling EonilFSEvents EonilFSEventStreamEventID.swift
[8/16] Compiling EonilFSEvents EonilFSEventStreamIllogicalErrorLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEventStreamIllogicalErrorLog.swift:26:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Can be called at any thread.
26 | public static var handler: (EonilFSEventsIllogicalErrorLog) -> () = { assert(false, "EonilFSEvents: \($0)") }
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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 |
[9/16] Compiling EonilFSEvents EonilFSEventStreamError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEventStreamError.swift:10:16: warning: stored property 'code' of 'Sendable'-conforming struct 'EonilFSEventsError' has non-sendable type 'EonilFSEventsErrorCode'; this is an error in the Swift 6 language mode
8 |
9 | public struct EonilFSEventsError: Error {
10 | public var code: EonilFSEventsErrorCode
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'EonilFSEventsError' has non-sendable type 'EonilFSEventsErrorCode'; this is an error in the Swift 6 language mode
11 | public var message: String?
12 | init(code: EonilFSEventsErrorCode) {
:
19 | }
20 |
21 | public enum EonilFSEventsErrorCode {
| `- note: consider making enum 'EonilFSEventsErrorCode' conform to the 'Sendable' protocol
22 | case cannotCreateStream
23 | case cannotStartStream
[10/16] Compiling EonilFSEvents EonilFSEventStreamCreateFlags.swift
[11/16] Compiling EonilFSEvents EonilFSEventStream.swift
[12/16] Emitting module EonilFSEvents
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEventStreamError.swift:10:16: warning: stored property 'code' of 'Sendable'-conforming struct 'EonilFSEventsError' has non-sendable type 'EonilFSEventsErrorCode'; this is an error in the Swift 6 language mode
8 |
9 | public struct EonilFSEventsError: Error {
10 | public var code: EonilFSEventsErrorCode
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'EonilFSEventsError' has non-sendable type 'EonilFSEventsErrorCode'; this is an error in the Swift 6 language mode
11 | public var message: String?
12 | init(code: EonilFSEventsErrorCode) {
:
19 | }
20 |
21 | public enum EonilFSEventsErrorCode {
| `- note: consider making enum 'EonilFSEventsErrorCode' conform to the 'Sendable' protocol
22 | case cannotCreateStream
23 | case cannotStartStream
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEventStreamIllogicalErrorLog.swift:26:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Can be called at any thread.
26 | public static var handler: (EonilFSEventsIllogicalErrorLog) -> () = { assert(false, "EonilFSEvents: \($0)") }
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/EonilFSEvents/EonilFSEvents.swift:49:13: warning: var 'watchers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | }
49 | private var watchers = [ObjectIdentifier: EonilFSEventStream]()
| |- warning: var 'watchers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'watchers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'watchers' 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
50 |
[13/16] Compiling EonilFSEvents EonilFSEventStreamEventFlags.swift
[14/18] Compiling EonilFSEventsDemoCLI main.swift
[15/18] Emitting module EonilFSEventsDemoCLI
[15/18] Write Objects.LinkFileList
[16/18] Linking EonilFSEventsDemoCLI
[17/18] Applying EonilFSEventsDemoCLI
Build complete! (9.23s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EonilFSEvents",
"name" : "EonilFSEvents",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "EonilFSEvents",
"targets" : [
"EonilFSEvents"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EonilFSEventsDemoCLI",
"targets" : [
"EonilFSEventsDemoCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "EonilFSEventsDemoCLI",
"module_type" : "SwiftTarget",
"name" : "EonilFSEventsDemoCLI",
"path" : "Sources/EonilFSEventsDemoCLI",
"product_memberships" : [
"EonilFSEventsDemoCLI"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"EonilFSEvents"
],
"type" : "executable"
},
{
"c99name" : "EonilFSEvents",
"module_type" : "SwiftTarget",
"name" : "EonilFSEvents",
"path" : "Sources/EonilFSEvents",
"product_memberships" : [
"EonilFSEvents",
"EonilFSEventsDemoCLI"
],
"sources" : [
"EonilFSEventStream.swift",
"EonilFSEventStreamCreateFlags.swift",
"EonilFSEventStreamError.swift",
"EonilFSEventStreamEvent.swift",
"EonilFSEventStreamEventFlags.swift",
"EonilFSEventStreamEventID.swift",
"EonilFSEventStreamIllogicalErrorLog.swift",
"EonilFSEvents.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.