Build Information
Successful build of Crust, reference master (d63368), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 00:48:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rexmas/Crust.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rexmas/Crust
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d633684 [swift-5.2] update readme
Cloned https://github.com/rexmas/Crust.git
Revision (git rev-parse @):
d6336843b93b8bc0cbfe2c4d452ac49614bb1844
SUCCESS checkout https://github.com/rexmas/Crust.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rexmas/Crust.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/7] Compiling JSONValueRX JSONable.swift
[5/7] Compiling JSONValueRX Utilities.swift
[6/7] Emitting module JSONValueRX
[7/7] Compiling JSONValueRX JSON.swift
[8/14] Compiling Crust Utilities.swift
[9/14] Compiling Crust AnyAdapter.swift
[10/14] Compiling Crust MappingKey.swift
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingKey.swift:70:35: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |
62 | /// Like `RootKey` but will use the `nestedMappingKeys` of the internal key.
63 | public struct RootedKey<K: MappingKey>: MappingKey {
| `- note: 'K' previously declared here
64 | public let keyPath = ""
65 | public let rootedKey: K
:
68 | }
69 |
70 | public func nestedMappingKeys<K: MappingKey>() -> AnyKeyCollection<K>? {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | return self.rootedKey.nestedMappingKeys()
72 | }
[11/14] Compiling Crust MappingProtocols.swift
[12/14] Compiling Crust Mapper.swift
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:76:29: warning: function call causes an infinite recursion
74 | where M.MappedObject == C.Iterator.Element, M.MappedObject: Equatable {
75 |
76 | return try self.map(from: json, using: binding, keyedBy: Set(keys), parentPayload: parentPayload)
| `- warning: function call causes an infinite recursion
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:107:25: warning: function call causes an infinite recursion
105 | public func map<M, C: RangeReplaceableCollection, K, KP>(from json: JSONValue, using binding: Binding<K, M>, keyedBy keys: Set<M.MappingKeyType>, parentPayload: MappingPayload<KP>?) throws -> C where M.MappedObject == C.Iterator.Element {
106 |
107 | return try self.map(from: json, using: binding, keyedBy: Set(keys), parentPayload: parentPayload)
| `- warning: function call causes an infinite recursion
108 | }
109 |
[13/14] Emitting module Crust
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingKey.swift:70:35: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
61 |
62 | /// Like `RootKey` but will use the `nestedMappingKeys` of the internal key.
63 | public struct RootedKey<K: MappingKey>: MappingKey {
| `- note: 'K' previously declared here
64 | public let keyPath = ""
65 | public let rootedKey: K
:
68 | }
69 |
70 | public func nestedMappingKeys<K: MappingKey>() -> AnyKeyCollection<K>? {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | return self.rootedKey.nestedMappingKeys()
72 | }
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:233:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | }
232 |
233 | private func deconstruct<T, K, M>(binding: Binding<K, M>, fieldType: T.Type) throws -> (key: K, mapping: M) {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
234 | guard case .mapping(let key, let mapping) = binding else {
235 | throw MappingError.bindingDeconstructionFailure(fieldType: fieldType)
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:241:26: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | }
240 |
241 | private func resolve<K, M>(keyedBinding: KeyedBinding<K, M>, key: K, inKeys: AnyKeyCollection<K>, mapping: M) throws -> ResolvedBinding<K, M> {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
242 | switch self.dir {
243 | case .toJSON:
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
[14/14] Compiling Crust MappingOperator.swift
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:233:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | }
232 |
233 | private func deconstruct<T, K, M>(binding: Binding<K, M>, fieldType: T.Type) throws -> (key: K, mapping: M) {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
234 | guard case .mapping(let key, let mapping) = binding else {
235 | throw MappingError.bindingDeconstructionFailure(fieldType: fieldType)
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/MappingOperator.swift:241:26: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | }
240 |
241 | private func resolve<K, M>(keyedBinding: KeyedBinding<K, M>, key: K, inKeys: AnyKeyCollection<K>, mapping: M) throws -> ResolvedBinding<K, M> {
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
242 | switch self.dir {
243 | case .toJSON:
/Users/admin/builder/spi-builder-workspace/Crust/Mapper/Mapper.swift:29:27: note: 'K' previously declared here
27 | }
28 |
29 | open class MappingPayload<K: MappingKey> {
| `- note: 'K' previously declared here
30 | open internal(set) var json: JSONValue
31 | open internal(set) var keys: AnyKeyCollection<K>
Build complete! (6.04s)
Fetching https://github.com/rexmas/JSONValue.git
[7/652] Fetching jsonvalue
Fetched https://github.com/rexmas/JSONValue.git from cache (0.87s)
Computing version for https://github.com/rexmas/JSONValue.git
Computed https://github.com/rexmas/JSONValue.git at 7.0.0 (1.40s)
Creating working copy for https://github.com/rexmas/JSONValue.git
Working copy of https://github.com/rexmas/JSONValue.git resolved at 7.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "jsonvalue",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "7.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rexmas/JSONValue.git"
}
],
"manifest_display_name" : "Crust",
"name" : "Crust",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Crust",
"targets" : [
"Crust"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CrustTests",
"module_type" : "SwiftTarget",
"name" : "CrustTests",
"path" : "CrustTests",
"sources" : [
"CRMapperTests.swift",
"CollectionMappingTests.swift",
"Company.swift",
"CompanyMappingTests.swift",
"CompanyStub.swift",
"Employee.swift",
"EmployeeMappingTests.swift",
"EmployeeStub.swift",
"Mocks.swift",
"NestedMappingTests.swift",
"Operators.swift",
"Person.swift",
"StructMappingTests.swift",
"TransformTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Crust"
],
"type" : "test"
},
{
"c99name" : "Crust",
"module_type" : "SwiftTarget",
"name" : "Crust",
"path" : "Crust",
"product_dependencies" : [
"JSONValueRX"
],
"product_memberships" : [
"Crust"
],
"sources" : [
"Mapper/Mapper.swift",
"Mapper/MappingKey.swift",
"Mapper/MappingOperator.swift",
"Mapper/MappingProtocols.swift",
"Utilities/AnyAdapter.swift",
"Utilities/Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.