Build Information
Successful build of Configuration, reference master (75fb96
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:30:08 UTC.
Swift 6 data race errors: 2
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/Kitura/Configuration.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Configuration
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 75fb964 Update CI; Swift 5.2 is now minimum supported (#65)
Cloned https://github.com/Kitura/Configuration.git
Revision (git rev-parse @):
75fb96405263e72a2ed4546dceebe0993b92eb79
SUCCESS checkout https://github.com/Kitura/Configuration.git at master
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.94s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.68s)
Fetching https://github.com/Kitura/LoggerAPI.git
[8/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.05s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.66s)
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.55s)
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.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": "configuration",
"name": "Configuration",
"url": "https://github.com/Kitura/Configuration.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Configuration",
"dependencies": [
{
"identity": "filekit",
"name": "FileKit",
"url": "https://github.com/Kitura/FileKit.git",
"version": "1.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileKit",
"dependencies": [
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (1.05s)
Fetching https://github.com/Kitura/FileKit.git from cache
Fetched https://github.com/Kitura/FileKit.git from cache (0.46s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.02s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.48s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.03s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Creating working copy for https://github.com/Kitura/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at master (75fb964)
warning: '.resolve-product-dependencies': dependency 'configuration' is not used by any target
Found 1 product dependencies
- FileKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/Configuration.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging Locks.swift
[8/10] Compiling Logging LogHandler.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[11/12] Emitting module LoggerAPI
[12/12] Compiling LoggerAPI Logger.swift
[13/14] Emitting module FileKit
[14/14] Compiling FileKit FileKit.swift
[15/20] Compiling Configuration JSONDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
[16/20] Compiling Configuration PLISTDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
[17/20] Compiling Configuration ConfigurationNode.swift
[18/20] Compiling Configuration Deserializer.swift
[19/20] Emitting module Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
[20/20] Compiling Configuration ConfigurationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
| `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `JSONDeserializer` instance.
24 | public static let shared = JSONDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
| `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 | /// A shared `PLISTDeserializer` instance.
24 | public static let shared = PLISTDeserializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' 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
25 |
26 | /// A unique name that identifies this deserializer.
Build complete! (9.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "filekit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/FileKit.git"
}
],
"manifest_display_name" : "Configuration",
"name" : "Configuration",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Configuration",
"targets" : [
"Configuration"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConfigurationTests",
"module_type" : "SwiftTarget",
"name" : "ConfigurationTests",
"path" : "Tests/ConfigurationTests",
"sources" : [
"ConfigurationManagerTest.swift",
"ConfigurationNodeTest.swift",
"LinuxSafeguardTest.swift"
],
"target_dependencies" : [
"Configuration"
],
"type" : "test"
},
{
"c99name" : "Configuration",
"module_type" : "SwiftTarget",
"name" : "Configuration",
"path" : "Sources/Configuration",
"product_dependencies" : [
"FileKit"
],
"product_memberships" : [
"Configuration"
],
"sources" : [
"ConfigurationManager.swift",
"ConfigurationNode.swift",
"Deserializer.swift",
"Deserializers/JSONDeserializer.swift",
"Deserializers/PLISTDeserializer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.