Build Information
Successful build of Serpent, reference 2.0.3 (31abec
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 02:12:50 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/ml-archive/Serpent.git
Reference: 2.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-archive/Serpent
* tag 2.0.3 -> FETCH_HEAD
HEAD is now at 31abec1 Merge pull request #173 from nodes-ios/feature/update-podspec
Cloned https://github.com/ml-archive/Serpent.git
Revision (git rev-parse @):
31abec139e5dd74144c542906eb70d73a3f9f3b0
SUCCESS checkout https://github.com/ml-archive/Serpent.git at 2.0.3
========================================
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": "serpent",
"name": "Serpent",
"url": "https://github.com/ml-archive/Serpent.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Serpent",
"dependencies": [
]
}
]
}
Fetching https://github.com/ml-archive/Serpent.git
[1/4514] Fetching serpent
Fetched https://github.com/ml-archive/Serpent.git from cache (11.75s)
Creating working copy for https://github.com/ml-archive/Serpent.git
Working copy of https://github.com/ml-archive/Serpent.git resolved at 2.0.3 (31abec1)
warning: '.resolve-product-dependencies': dependency 'serpent' 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/ml-archive/Serpent.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/7] Compiling Serpent Serpent.swift
[4/7] Compiling Serpent Operator.swift
[5/7] Compiling Serpent Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Serpent/Extensions.swift:32:20: warning: static property 'customDateFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | static fileprivate let internalDateFormatter = DateFormatter()
31 | static fileprivate let allowedDateFormats = ["yyyy-MM-dd'T'HH:mm:ssZZZZZ", "yyyy-MM-dd'T'HH:mm:ss", "yyyy-MM-dd"]
32 | static public var customDateFormats: [String] = []
| |- warning: static property 'customDateFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customDateFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customDateFormats' 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 | public static func fromString<T>(_ string: String) -> T? {
[6/7] Emitting module Serpent
/Users/admin/builder/spi-builder-workspace/Sources/Serpent/BridgingBox.swift:13:13: warning: static property 'sharedBoxCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @objc open class BridgingBox : NSObject, NSCoding {
12 |
13 | static var sharedBoxCache = [String : Any]()
| |- warning: static property 'sharedBoxCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedBoxCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedBoxCache' 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
14 |
15 | fileprivate var internalValue: Encodable?
/Users/admin/builder/spi-builder-workspace/Sources/Serpent/Extensions.swift:32:20: warning: static property 'customDateFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | static fileprivate let internalDateFormatter = DateFormatter()
31 | static fileprivate let allowedDateFormats = ["yyyy-MM-dd'T'HH:mm:ssZZZZZ", "yyyy-MM-dd'T'HH:mm:ss", "yyyy-MM-dd"]
32 | static public var customDateFormats: [String] = []
| |- warning: static property 'customDateFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customDateFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customDateFormats' 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 | public static func fromString<T>(_ string: String) -> T? {
[7/7] Compiling Serpent BridgingBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Serpent/BridgingBox.swift:13:13: warning: static property 'sharedBoxCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @objc open class BridgingBox : NSObject, NSCoding {
12 |
13 | static var sharedBoxCache = [String : Any]()
| |- warning: static property 'sharedBoxCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedBoxCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedBoxCache' 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
14 |
15 | fileprivate var internalValue: Encodable?
Build complete! (10.00s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Serpent",
"name" : "Serpent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Serpent",
"targets" : [
"Serpent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SerpentTests",
"module_type" : "SwiftTarget",
"name" : "SerpentTests",
"path" : "Serpent/SerpentTests",
"sources" : [
"Models/CustomOperatorsTestModel.swift",
"Models/DecodableModel.swift",
"Models/EnumsTestModel.swift",
"Models/HexInitializableTestModel.swift",
"Models/NetworkTestModel.swift",
"Models/NilTestModel.swift",
"Models/PerformanceTestModel.swift",
"Models/PerformanceTestSmallModel.swift",
"Models/PrimitivesTestModel.swift",
"Models/SerializableEntityTestModel.swift",
"Models/SimpleModel.swift",
"Models/StringInitializableTestModel.swift",
"Tests/AlamofireExtensionTests.swift",
"Tests/BridgingBoxTests.swift",
"Tests/CashierExtensionTests.swift",
"Tests/CustomOperatorsTests.swift",
"Tests/DecodableTests.swift",
"Tests/HexInitalizableTests.swift",
"Tests/SerializableEntityTests.swift",
"Tests/SerializableEnumsTests.swift",
"Tests/SerializableNilEntitiesTests.swift",
"Tests/SerializablePerformanceTest.swift",
"Tests/SerializablePrimitivesTests.swift",
"Tests/StringInitializableTests.swift"
],
"target_dependencies" : [
"Serpent"
],
"type" : "test"
},
{
"c99name" : "Serpent",
"module_type" : "SwiftTarget",
"name" : "Serpent",
"path" : "Sources/Serpent",
"product_memberships" : [
"Serpent"
],
"sources" : [
"BridgingBox.swift",
"Extensions.swift",
"Operator.swift",
"Serpent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.