Build Information
Successful build of LocalizationToolkitObjectMapper 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/Digipolitan/localization-toolkit-object-mapper.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Digipolitan/localization-toolkit-object-mapper
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 782edee Merge branch 'release/1.0.1' into develop
Cloned https://github.com/Digipolitan/localization-toolkit-object-mapper.git
Revision (git rev-parse @):
782edee3a9c83be736a9c824fa67ebdd2df33b44
SUCCESS checkout https://github.com/Digipolitan/localization-toolkit-object-mapper.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Digipolitan/localization-toolkit-object-mapper.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/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/32] Compiling LocalizationToolkit Localization.swift
[6/32] Emitting module LocalizationToolkit
[7/32] Compiling LocalizationToolkit MultilingualString.swift
[8/32] Compiling LocalizationToolkit Bundle+Localization.swift
[9/32] Compiling LocalizationToolkit String+Localization.swift
[10/32] Compiling ObjectMapper IntegerOperators.swift
[11/32] Compiling ObjectMapper Map.swift
[12/32] Compiling ObjectMapper Operators.swift
[13/32] Compiling ObjectMapper ToJSON.swift
[14/34] Emitting module ObjectMapper
[15/34] Compiling ObjectMapper TransformType.swift
[16/34] Compiling ObjectMapper URLTransform.swift
[17/34] Compiling ObjectMapper EnumOperators.swift
[18/34] Compiling ObjectMapper EnumTransform.swift
[19/34] Compiling ObjectMapper FromJSON.swift
[20/34] Compiling ObjectMapper TransformOf.swift
[21/34] Compiling ObjectMapper TransformOperators.swift
[22/34] Compiling ObjectMapper DateFormatterTransform.swift
[23/34] Compiling ObjectMapper DateTransform.swift
[24/34] Compiling ObjectMapper DictionaryTransform.swift
[25/34] Compiling ObjectMapper MapError.swift
[26/34] Compiling ObjectMapper Mappable.swift
[27/34] Compiling ObjectMapper CodableTransform.swift
[28/34] Compiling ObjectMapper CustomDateFormatTransform.swift
[29/34] Compiling ObjectMapper DataTransform.swift
[30/34] Compiling ObjectMapper HexColorTransform.swift
[31/34] Compiling ObjectMapper ISO8601DateTransform.swift
[32/34] Compiling ObjectMapper ImmutableMappable.swift
[33/34] Compiling ObjectMapper Mapper.swift
[34/34] Compiling ObjectMapper NSDecimalNumberTransform.swift
[35/36] Emitting module LocalizationToolkitObjectMapper
/Users/admin/builder/spi-builder-workspace/Sources/LocalizationToolkitObjectMapper/MultilingualStringTransform.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import ObjectMapper
3 |
4 | public class MultilingualStringTransform: TransformType {
| `- note: class 'MultilingualStringTransform' does not conform to the 'Sendable' protocol
5 |
6 | public typealias Object = MultilingualString
7 | public typealias JSON = String
8 |
9 | public static let shared = MultilingualStringTransform()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' 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
10 |
11 | private init() { }
[36/36] Compiling LocalizationToolkitObjectMapper MultilingualStringTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocalizationToolkitObjectMapper/MultilingualStringTransform.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import ObjectMapper
3 |
4 | public class MultilingualStringTransform: TransformType {
| `- note: class 'MultilingualStringTransform' does not conform to the 'Sendable' protocol
5 |
6 | public typealias Object = MultilingualString
7 | public typealias JSON = String
8 |
9 | public static let shared = MultilingualStringTransform()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MultilingualStringTransform' 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
10 |
11 | private init() { }
Build complete! (29.15s)
Fetching https://github.com/Hearst-DD/ObjectMapper.git
Fetching https://github.com/Digipolitan/localization-toolkit.git
[1/467] Fetching localization-toolkit
[221/6799] Fetching localization-toolkit, objectmapper
Fetched https://github.com/Digipolitan/localization-toolkit.git from cache (1.19s)
Fetched https://github.com/Hearst-DD/ObjectMapper.git from cache (1.19s)
Computing version for https://github.com/Digipolitan/localization-toolkit.git
Computed https://github.com/Digipolitan/localization-toolkit.git at 1.3.0 (0.71s)
Computing version for https://github.com/Hearst-DD/ObjectMapper.git
Computed https://github.com/Hearst-DD/ObjectMapper.git at 3.5.3 (2.31s)
Creating working copy for https://github.com/Digipolitan/localization-toolkit.git
Working copy of https://github.com/Digipolitan/localization-toolkit.git resolved at 1.3.0
Creating working copy for https://github.com/Hearst-DD/ObjectMapper.git
Working copy of https://github.com/Hearst-DD/ObjectMapper.git resolved at 3.5.3
Build complete.
{
"dependencies" : [
{
"identity" : "localization-toolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Digipolitan/localization-toolkit.git"
},
{
"identity" : "objectmapper",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Hearst-DD/ObjectMapper.git"
}
],
"manifest_display_name" : "LocalizationToolkitObjectMapper",
"name" : "LocalizationToolkitObjectMapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LocalizationToolkitObjectMapper",
"targets" : [
"LocalizationToolkitObjectMapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalizationToolkitObjectMapperTests",
"module_type" : "SwiftTarget",
"name" : "LocalizationToolkitObjectMapperTests",
"path" : "Tests/LocalizationToolkitObjectMapperTests",
"sources" : [
"LocalizationToolkitObjectMapperTests.swift",
"Model.swift"
],
"target_dependencies" : [
"LocalizationToolkitObjectMapper"
],
"type" : "test"
},
{
"c99name" : "LocalizationToolkitObjectMapper",
"module_type" : "SwiftTarget",
"name" : "LocalizationToolkitObjectMapper",
"path" : "Sources/LocalizationToolkitObjectMapper",
"product_dependencies" : [
"LocalizationToolkit",
"ObjectMapper"
],
"product_memberships" : [
"LocalizationToolkitObjectMapper"
],
"sources" : [
"MultilingualStringTransform.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.