Build Information
Successful build of Files with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Files.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/Files
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ccb417b stop testing on Linux for now
Cloned https://github.com/elegantchaos/Files.git
Revision (git rev-parse @):
ccb417b5b4f2d473964594a7c906a50a62c8530c
SUCCESS checkout https://github.com/elegantchaos/Files.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/Files.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/21] Compiling Files ThrowingManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
16 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[5/21] Compiling Files ThrowingReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
16 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[6/21] Compiling Files URL+General.swift
[7/21] Compiling Files NonThrowingManager.swift
[8/21] Compiling Files ThrowingFile.swift
[9/21] Compiling Files ItemName.swift
[10/21] Compiling Files NonThrowingFile.swift
[11/21] Compiling Files NonThrowingFolder.swift
[12/21] Compiling Files NonThrowingItem.swift
[13/21] Compiling Files ThrowingFolder.swift
[14/21] Compiling Files ThrowingItem.swift
[15/22] Compiling Files FolderManager.swift
[16/22] Compiling Files Item.swift
[17/22] Emitting module Files
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ItemType = ThrowingCommon
14 |
15 | public static var `default` = FileManager.default.locations
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
16 |
17 | public static func folder(for url: URL) -> ThrowingFolder {
[18/22] Compiling Files FileManager+Directories.swift
[19/22] Compiling Files FileManager+General.swift
[20/22] Compiling Files ItemContainer.swift
[21/22] Compiling Files ItemLocation.swift
[22/22] Compiling Files URL+Security.swift
[23/24] Emitting module FilesKit
[24/24] Compiling FilesKit FolderItem+Desktop.swift
Build complete! (33.20s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
[60/678] Fetching matchable, xctestextensions
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.83s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.83s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.2 (0.67s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.6 (0.64s)
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.6
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.2
Build complete.
{
"dependencies" : [
{
"identity" : "xctestextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XCTestExtensions.git"
}
],
"manifest_display_name" : "Files",
"name" : "Files",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilesKit",
"targets" : [
"FilesKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"product_dependencies" : [
"XCTestExtensions"
],
"sources" : [
"FileManagerTests.swift",
"FolderManagerTests.swift",
"NoThrowFolderManagerTests.swift",
"URLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "test"
},
{
"c99name" : "FilesKit",
"module_type" : "SwiftTarget",
"name" : "FilesKit",
"path" : "Sources/FilesKit",
"product_memberships" : [
"FilesKit"
],
"sources" : [
"FolderItem+Desktop.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "library"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources/Files",
"product_memberships" : [
"Files",
"FilesKit"
],
"sources" : [
"FileManager+Directories.swift",
"FileManager+General.swift",
"FolderManager.swift",
"Item.swift",
"ItemContainer.swift",
"ItemLocation.swift",
"ItemName.swift",
"NonThrowing/NonThrowingFile.swift",
"NonThrowing/NonThrowingFolder.swift",
"NonThrowing/NonThrowingItem.swift",
"NonThrowing/NonThrowingManager.swift",
"Throwing/ThrowingFile.swift",
"Throwing/ThrowingFolder.swift",
"Throwing/ThrowingItem.swift",
"Throwing/ThrowingManager.swift",
"Throwing/ThrowingReference.swift",
"URL+General.swift",
"URL+Security.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.