Build Information
Successful build of HandyJSON, reference master (f0b15d
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 04:38:06 UTC.
Swift 6 data race errors: 4
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/alibaba/HandyJSON.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alibaba/HandyJSON
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f0b15db 5.0.4-beta podspec
Cloned https://github.com/alibaba/HandyJSON.git
Revision (git rev-parse @):
f0b15db3bc0c51e935ea2385d6e33d412f04fffe
SUCCESS checkout https://github.com/alibaba/HandyJSON.git at master
========================================
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": "handyjson",
"name": "HandyJSON",
"url": "https://github.com/alibaba/HandyJSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HandyJSON",
"dependencies": [
]
}
]
}
Fetching https://github.com/alibaba/HandyJSON.git
[1/2013] Fetching handyjson
Fetched https://github.com/alibaba/HandyJSON.git from cache (0.85s)
Creating working copy for https://github.com/alibaba/HandyJSON.git
Working copy of https://github.com/alibaba/HandyJSON.git resolved at master (f0b15db)
warning: '.resolve-product-dependencies': dependency 'handyjson' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alibaba/HandyJSON.git
https://github.com/alibaba/HandyJSON.git
{
"dependencies" : [
],
"manifest_display_name" : "HandyJSON",
"name" : "HandyJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HandyJSON",
"targets" : [
"HandyJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HandyJSON",
"module_type" : "SwiftTarget",
"name" : "HandyJSON",
"path" : "Source",
"product_memberships" : [
"HandyJSON"
],
"sources" : [
"AnyExtensions.swift",
"BuiltInBasicType.swift",
"BuiltInBridgeType.swift",
"CBridge.swift",
"Configuration.swift",
"ContextDescriptorType.swift",
"CustomDateFormatTransform.swift",
"DataTransform.swift",
"DateFormatterTransform.swift",
"DateTransform.swift",
"Deserializer.swift",
"EnumTransform.swift",
"EnumType.swift",
"Export.swift",
"ExtendCustomBasicType.swift",
"ExtendCustomModelType.swift",
"FieldDescriptor.swift",
"HelpingMapper.swift",
"HexColorTransform.swift",
"ISO8601DateTransform.swift",
"Logger.swift",
"MangledName.swift",
"Measuable.swift",
"Metadata.swift",
"NSDecimalNumberTransform.swift",
"OtherExtension.swift",
"PointerType.swift",
"Properties.swift",
"PropertyInfo.swift",
"ReflectionHelper.swift",
"Serializer.swift",
"TransformOf.swift",
"TransformType.swift",
"Transformable.swift",
"URLTransform.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/35] Emitting module HandyJSON
/Users/admin/builder/spi-builder-workspace/Source/CBridge.swift:27:2: warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
25 | import Foundation
26 |
27 | @_silgen_name("swift_getTypeByMangledNameInContext")
| `- warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
28 | public func _getTypeByMangledNameInContext(
29 | _ name: UnsafePointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:27:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let defaultOptions: DeserializeOptions = []
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:29:23: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
28 |
29 | public static let defaultOptions: DeserializeOptions = []
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:45:24: warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public struct HandyJSONConfiguration {
44 |
45 | private static var _mode = DebugMode.error
| |- warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var debugMode: DebugMode {
47 | get {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:55:23: warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public static var deserializeOptions: DeserializeOptions = .defaultOptions
| |- warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deserializeOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deserializeOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
[4/38] Compiling HandyJSON PointerType.swift
/Users/admin/builder/spi-builder-workspace/Source/PointerType.swift:28:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 |
26 | extension PointerType {
27 | init<T>(pointer: UnsafePointer<T>) {
| `- note: 'T' previously declared here
28 | func cast<T, U>(_ value: T) -> U {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | return unsafeBitCast(value, to: U.self)
30 | }
[5/38] Compiling HandyJSON Properties.swift
/Users/admin/builder/spi-builder-workspace/Source/PointerType.swift:28:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 |
26 | extension PointerType {
27 | init<T>(pointer: UnsafePointer<T>) {
| `- note: 'T' previously declared here
28 | func cast<T, U>(_ value: T) -> U {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | return unsafeBitCast(value, to: U.self)
30 | }
[6/38] Compiling HandyJSON PropertyInfo.swift
/Users/admin/builder/spi-builder-workspace/Source/PointerType.swift:28:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 |
26 | extension PointerType {
27 | init<T>(pointer: UnsafePointer<T>) {
| `- note: 'T' previously declared here
28 | func cast<T, U>(_ value: T) -> U {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | return unsafeBitCast(value, to: U.self)
30 | }
[7/38] Compiling HandyJSON TransformType.swift
[8/38] Compiling HandyJSON Transformable.swift
[9/38] Compiling HandyJSON URLTransform.swift
[10/38] Compiling HandyJSON Logger.swift
[11/38] Compiling HandyJSON MangledName.swift
[12/38] Compiling HandyJSON Measuable.swift
[13/38] Compiling HandyJSON Configuration.swift
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:27:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let defaultOptions: DeserializeOptions = []
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:29:23: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
28 |
29 | public static let defaultOptions: DeserializeOptions = []
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:45:24: warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public struct HandyJSONConfiguration {
44 |
45 | private static var _mode = DebugMode.error
| |- warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var debugMode: DebugMode {
47 | get {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:55:23: warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public static var deserializeOptions: DeserializeOptions = .defaultOptions
| |- warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deserializeOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deserializeOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
[14/38] Compiling HandyJSON ContextDescriptorType.swift
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:27:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let defaultOptions: DeserializeOptions = []
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:29:23: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
28 |
29 | public static let defaultOptions: DeserializeOptions = []
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:45:24: warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public struct HandyJSONConfiguration {
44 |
45 | private static var _mode = DebugMode.error
| |- warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var debugMode: DebugMode {
47 | get {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:55:23: warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public static var deserializeOptions: DeserializeOptions = .defaultOptions
| |- warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deserializeOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deserializeOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
[15/38] Compiling HandyJSON CustomDateFormatTransform.swift
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:27:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let defaultOptions: DeserializeOptions = []
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:29:23: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
28 |
29 | public static let defaultOptions: DeserializeOptions = []
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:45:24: warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public struct HandyJSONConfiguration {
44 |
45 | private static var _mode = DebugMode.error
| |- warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var debugMode: DebugMode {
47 | get {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:55:23: warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public static var deserializeOptions: DeserializeOptions = .defaultOptions
| |- warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deserializeOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deserializeOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
[16/38] Compiling HandyJSON DataTransform.swift
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:27:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let defaultOptions: DeserializeOptions = []
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:29:23: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
22 | //
23 |
24 | public struct DeserializeOptions: OptionSet {
| `- note: consider making struct 'DeserializeOptions' conform to the 'Sendable' protocol
25 | public let rawValue: Int
26 |
27 | public static let caseInsensitive = DeserializeOptions(rawValue: 1 << 0)
28 |
29 | public static let defaultOptions: DeserializeOptions = []
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'DeserializeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:45:24: warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public struct HandyJSONConfiguration {
44 |
45 | private static var _mode = DebugMode.error
| |- warning: static property '_mode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_mode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_mode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var debugMode: DebugMode {
47 | get {
/Users/admin/builder/spi-builder-workspace/Source/Configuration.swift:55:23: warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public static var deserializeOptions: DeserializeOptions = .defaultOptions
| |- warning: static property 'deserializeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deserializeOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deserializeOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
[17/38] Compiling HandyJSON DateFormatterTransform.swift
[18/38] Compiling HandyJSON DateTransform.swift
[19/38] Compiling HandyJSON Deserializer.swift
[20/38] Compiling HandyJSON EnumTransform.swift
[21/38] Compiling HandyJSON AnyExtensions.swift
/Users/admin/builder/spi-builder-workspace/Source/CBridge.swift:27:2: warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
25 | import Foundation
26 |
27 | @_silgen_name("swift_getTypeByMangledNameInContext")
| `- warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
28 | public func _getTypeByMangledNameInContext(
29 | _ name: UnsafePointer<UInt8>,
[22/38] Compiling HandyJSON BuiltInBasicType.swift
/Users/admin/builder/spi-builder-workspace/Source/CBridge.swift:27:2: warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
25 | import Foundation
26 |
27 | @_silgen_name("swift_getTypeByMangledNameInContext")
| `- warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
28 | public func _getTypeByMangledNameInContext(
29 | _ name: UnsafePointer<UInt8>,
[23/38] Compiling HandyJSON BuiltInBridgeType.swift
/Users/admin/builder/spi-builder-workspace/Source/CBridge.swift:27:2: warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
25 | import Foundation
26 |
27 | @_silgen_name("swift_getTypeByMangledNameInContext")
| `- warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
28 | public func _getTypeByMangledNameInContext(
29 | _ name: UnsafePointer<UInt8>,
[24/38] Compiling HandyJSON CBridge.swift
/Users/admin/builder/spi-builder-workspace/Source/CBridge.swift:27:2: warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
25 | import Foundation
26 |
27 | @_silgen_name("swift_getTypeByMangledNameInContext")
| `- warning: symbol name 'swift_getTypeByMangledNameInContext' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
28 | public func _getTypeByMangledNameInContext(
29 | _ name: UnsafePointer<UInt8>,
[25/38] Compiling HandyJSON Metadata.swift
[26/38] Compiling HandyJSON NSDecimalNumberTransform.swift
[27/38] Compiling HandyJSON OtherExtension.swift
[28/38] Compiling HandyJSON FieldDescriptor.swift
[29/38] Compiling HandyJSON HelpingMapper.swift
[30/38] Compiling HandyJSON HexColorTransform.swift
[31/38] Compiling HandyJSON ISO8601DateTransform.swift
[32/38] Compiling HandyJSON ReflectionHelper.swift
[33/38] Compiling HandyJSON Serializer.swift
[34/38] Compiling HandyJSON TransformOf.swift
[35/38] Compiling HandyJSON EnumType.swift
[36/38] Compiling HandyJSON Export.swift
[37/38] Compiling HandyJSON ExtendCustomBasicType.swift
[38/38] Compiling HandyJSON ExtendCustomModelType.swift
Build complete! (7.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HandyJSON",
"name" : "HandyJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HandyJSON",
"targets" : [
"HandyJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HandyJSON",
"module_type" : "SwiftTarget",
"name" : "HandyJSON",
"path" : "Source",
"product_memberships" : [
"HandyJSON"
],
"sources" : [
"AnyExtensions.swift",
"BuiltInBasicType.swift",
"BuiltInBridgeType.swift",
"CBridge.swift",
"Configuration.swift",
"ContextDescriptorType.swift",
"CustomDateFormatTransform.swift",
"DataTransform.swift",
"DateFormatterTransform.swift",
"DateTransform.swift",
"Deserializer.swift",
"EnumTransform.swift",
"EnumType.swift",
"Export.swift",
"ExtendCustomBasicType.swift",
"ExtendCustomModelType.swift",
"FieldDescriptor.swift",
"HelpingMapper.swift",
"HexColorTransform.swift",
"ISO8601DateTransform.swift",
"Logger.swift",
"MangledName.swift",
"Measuable.swift",
"Metadata.swift",
"NSDecimalNumberTransform.swift",
"OtherExtension.swift",
"PointerType.swift",
"Properties.swift",
"PropertyInfo.swift",
"ReflectionHelper.swift",
"Serializer.swift",
"TransformOf.swift",
"TransformType.swift",
"Transformable.swift",
"URLTransform.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.