Build Information
Successful build of Directory, reference main (4104ae
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:39:53 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/Directory.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nashysolutions/Directory
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4104ae5 Update Changelog.md
Cloned https://github.com/nashysolutions/Directory.git
Revision (git rev-parse @):
4104ae5582e72ab307783e5b7483d9df0a539cb4
SUCCESS checkout https://github.com/nashysolutions/Directory.git at main
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/nashysolutions/Cache.git
[1/86] Fetching cache
Fetched https://github.com/nashysolutions/Cache.git from cache (0.57s)
[1/1236] Fetching files
Fetched https://github.com/JohnSundell/Files from cache (0.93s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (1.55s)
Computing version for https://github.com/nashysolutions/Cache.git
Computed https://github.com/nashysolutions/Cache.git at 2.0.0 (0.62s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/nashysolutions/Cache.git
Working copy of https://github.com/nashysolutions/Cache.git resolved at 2.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": "directory",
"name": "Directory",
"url": "https://github.com/nashysolutions/Directory.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Directory",
"dependencies": [
{
"identity": "cache",
"name": "Cache",
"url": "https://github.com/nashysolutions/Cache.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cache",
"dependencies": [
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/JohnSundell/Files",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/nashysolutions/Directory.git
[1/285] Fetching directory
Fetched https://github.com/nashysolutions/Directory.git from cache (0.75s)
Fetching https://github.com/nashysolutions/Cache.git from cache
Fetching https://github.com/JohnSundell/Files from cache
Fetched https://github.com/JohnSundell/Files from cache (0.44s)
Fetched https://github.com/nashysolutions/Cache.git from cache (0.44s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.49s)
Computing version for https://github.com/nashysolutions/Cache.git
Computed https://github.com/nashysolutions/Cache.git at 2.0.0 (0.03s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/nashysolutions/Directory.git
Working copy of https://github.com/nashysolutions/Directory.git resolved at main (4104ae5)
Creating working copy for https://github.com/nashysolutions/Cache.git
Working copy of https://github.com/nashysolutions/Cache.git resolved at 2.0.0
warning: '.resolve-product-dependencies': dependency 'directory' is not used by any target
Found 2 product dependencies
- Cache
- Files
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nashysolutions/Directory.git
https://github.com/nashysolutions/Directory.git
{
"dependencies" : [
{
"identity" : "cache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nashysolutions/Cache.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "4.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files"
}
],
"manifest_display_name" : "Directory",
"name" : "Directory",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Directory",
"targets" : [
"Directory"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DirectoryTests",
"module_type" : "SwiftTarget",
"name" : "DirectoryTests",
"path" : "Tests/DirectoryTests",
"product_dependencies" : [
"Files"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DirectoryTests/Resources/cat.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DirectoryTests.swift"
],
"target_dependencies" : [
"Directory"
],
"type" : "test"
},
{
"c99name" : "Directory",
"module_type" : "SwiftTarget",
"name" : "Directory",
"path" : "Sources/Directory",
"product_dependencies" : [
"Files",
"Cache"
],
"product_memberships" : [
"Directory"
],
"sources" : [
"Database.swift",
"Directory.swift",
"DiskLocationAware.swift",
"DiskResource.swift",
"MemoryConscious.swift",
"Photo.swift",
"PhotoCache.swift",
"PhotoError.swift",
"PhotoStore.swift",
"PhotosDirectory.swift",
"PortableImage.swift",
"SerializableContainer.swift",
"SerializableSovereignContainer.swift",
"SovereignContainer.swift",
"TempPhoto.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[5/11] Compiling Cache Database.swift
[6/11] Compiling Cache Expiry.swift
[7/11] Compiling Cache Cache.swift
[8/11] Compiling Cache Resource.swift
[9/11] Emitting module Cache
[10/11] Emitting module Files
[11/11] Compiling Files Files.swift
[12/26] Compiling Directory SerializableSovereignContainer.swift
[13/26] Compiling Directory SovereignContainer.swift
[14/27] Compiling Directory SerializableContainer.swift
[15/27] Compiling Directory PortableImage.swift
[16/27] Compiling Directory PhotoStore.swift
[17/27] Compiling Directory PhotosDirectory.swift
[18/27] Compiling Directory MemoryConscious.swift
[19/27] Compiling Directory Photo.swift
[20/27] Compiling Directory PhotoCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Directory/PhotoCache.swift:18:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class PhotoCache {
| `- note: class 'PhotoCache' does not conform to the 'Sendable' protocol
17 |
18 | private static let shared = PhotoCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: Cache<PortableImage>
[21/27] Compiling Directory PhotoError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Directory/PhotoCache.swift:18:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class PhotoCache {
| `- note: class 'PhotoCache' does not conform to the 'Sendable' protocol
17 |
18 | private static let shared = PhotoCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: Cache<PortableImage>
[22/27] Compiling Directory TempPhoto.swift
[23/27] Compiling Directory DiskLocationAware.swift
[24/27] Compiling Directory DiskResource.swift
[25/27] Emitting module Directory
/Users/admin/builder/spi-builder-workspace/Sources/Directory/PhotoCache.swift:18:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | final class PhotoCache {
| `- note: class 'PhotoCache' does not conform to the 'Sendable' protocol
17 |
18 | private static let shared = PhotoCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PhotoCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let cache: Cache<PortableImage>
[26/27] Compiling Directory Database.swift
[27/27] Compiling Directory Directory.swift
Build complete! (12.90s)
Build complete.
{
"dependencies" : [
{
"identity" : "cache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nashysolutions/Cache.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "4.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files"
}
],
"manifest_display_name" : "Directory",
"name" : "Directory",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Directory",
"targets" : [
"Directory"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DirectoryTests",
"module_type" : "SwiftTarget",
"name" : "DirectoryTests",
"path" : "Tests/DirectoryTests",
"product_dependencies" : [
"Files"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DirectoryTests/Resources/cat.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DirectoryTests.swift"
],
"target_dependencies" : [
"Directory"
],
"type" : "test"
},
{
"c99name" : "Directory",
"module_type" : "SwiftTarget",
"name" : "Directory",
"path" : "Sources/Directory",
"product_dependencies" : [
"Files",
"Cache"
],
"product_memberships" : [
"Directory"
],
"sources" : [
"Database.swift",
"Directory.swift",
"DiskLocationAware.swift",
"DiskResource.swift",
"MemoryConscious.swift",
"Photo.swift",
"PhotoCache.swift",
"PhotoError.swift",
"PhotoStore.swift",
"PhotosDirectory.swift",
"PortableImage.swift",
"SerializableContainer.swift",
"SerializableSovereignContainer.swift",
"SovereignContainer.swift",
"TempPhoto.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.