Build Information
Successful build of Lark, reference master (b1ed2b
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 01:58:47 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/lark.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bouke/lark
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b1ed2b1 Use SonarQube scanner for code quality
Cloned https://github.com/bouke/lark.git
Revision (git rev-parse @):
b1ed2b1393f89a61c04fda9d7c1c91d47bfa680a
SUCCESS checkout https://github.com/bouke/lark.git at master
Fetching https://github.com/Alamofire/Alamofire.git
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.39s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (3.13s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
========================================
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": "lark",
"name": "Lark",
"url": "https://github.com/bouke/lark.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lark",
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "4.9.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/bouke/lark.git
[1/2164] Fetching lark
Fetched https://github.com/bouke/lark.git from cache (0.92s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.57s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (0.64s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
Creating working copy for https://github.com/bouke/lark.git
Working copy of https://github.com/bouke/lark.git resolved at master (b1ed2b1)
warning: '.resolve-product-dependencies': dependency 'lark' is not used by any target
Found 1 product dependencies
- Alamofire
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bouke/lark.git
https://github.com/bouke/lark.git
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "4.5.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Lark",
"name" : "Lark",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Lark",
"targets" : [
"Lark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "lark-generate-client",
"targets" : [
"lark-generate-client"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "lark_generate_client",
"module_type" : "SwiftTarget",
"name" : "lark-generate-client",
"path" : "Sources/lark-generate-client",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SchemaParser",
"CodeGenerator"
],
"type" : "executable"
},
{
"c99name" : "SchemaParserTests",
"module_type" : "SwiftTarget",
"name" : "SchemaParserTests",
"path" : "Tests/SchemaParserTests",
"sources" : [
"SchemaTests.swift",
"WebServiceDescriptionTests.swift"
],
"target_dependencies" : [
"SchemaParser"
],
"type" : "test"
},
{
"c99name" : "SchemaParser",
"module_type" : "SwiftTarget",
"name" : "SchemaParser",
"path" : "Sources/SchemaParser",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"QualifiedName+XMLElement.swift",
"Schema+Extensions.swift",
"Schema.swift",
"SchemaParser.swift",
"Utils.swift",
"WebServiceDescription.swift"
],
"target_dependencies" : [
"Lark"
],
"type" : "library"
},
{
"c99name" : "LarkTests",
"module_type" : "SwiftTarget",
"name" : "LarkTests",
"path" : "Tests/LarkTests",
"sources" : [
"SerializationTests.swift",
"StringSerializableListTests.swift",
"Utils.swift",
"UtilsTests.swift",
"ValidationTests.swift"
],
"target_dependencies" : [
"Lark"
],
"type" : "test"
},
{
"c99name" : "Lark",
"module_type" : "SwiftTarget",
"name" : "Lark",
"path" : "Sources/Lark",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"Lark",
"lark-generate-client"
],
"sources" : [
"Alamofire+Extensions.swift",
"Client.swift",
"Envelope.swift",
"QualifiedName.swift",
"Serialization.swift",
"StringSerializableList.swift",
"Utils.swift",
"Validation.swift"
],
"type" : "library"
},
{
"c99name" : "CodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "CodeGeneratorTests",
"path" : "Tests/CodeGeneratorTests",
"sources" : [
"CodeGeneratorTests.swift",
"NameTranslationTests.swift",
"RandomServicesTests.swift",
"SwiftTypeTests.swift",
"Utils.swift",
"WebServiceDescription+verifyTests.swift",
"simplediff.swift"
],
"target_dependencies" : [
"CodeGenerator"
],
"type" : "test"
},
{
"c99name" : "CodeGenerator",
"module_type" : "SwiftTarget",
"name" : "CodeGenerator",
"path" : "Sources/CodeGenerator",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"Generator.swift",
"Graph.swift",
"Models.swift",
"NameTranslation.swift",
"Schema+toSwift.swift",
"SwiftCodeGenerator.swift",
"Utils.swift",
"WebServiceDescription+verify.swift"
],
"target_dependencies" : [
"Lark",
"SchemaParser"
],
"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/10] Write sources
[2/10] Write lark-generate-client-entitlement.plist
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/27] Compiling Alamofire Timeline.swift
[9/27] Compiling Alamofire Result.swift
[10/27] Compiling Alamofire ServerTrustPolicy.swift
[11/27] Compiling Alamofire TaskDelegate.swift
[12/27] Compiling Alamofire Response.swift
[13/27] Compiling Alamofire ResponseSerialization.swift
[14/28] Compiling Alamofire ParameterEncoding.swift
[15/28] Compiling Alamofire Request.swift
[16/28] Compiling Alamofire SessionDelegate.swift
[17/28] Compiling Alamofire SessionManager.swift
[18/28] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/28] Compiling Alamofire MultipartFormData.swift
[20/28] Compiling Alamofire AFError.swift
[21/28] Compiling Alamofire Alamofire.swift
[22/28] Emitting module Alamofire
[23/28] Compiling Alamofire NetworkReachabilityManager.swift
[24/28] Compiling Alamofire Notifications.swift
[25/28] Compiling Alamofire Validation.swift
[26/37] Compiling Lark StringSerializableList.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[27/37] Compiling Lark Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[28/37] Compiling Lark Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:47:16: warning: stored property 'faultcode' of 'Sendable'-conforming struct 'Fault' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
45 |
46 | /// Provides an algorithmic mechanism for identifying the fault.
47 | public let faultcode: QualifiedName
| `- warning: stored property 'faultcode' of 'Sendable'-conforming struct 'Fault' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
48 |
49 | /// Provides a human readable explanation of the fault and is not intended for algorithmic processing.
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:56:16: warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
54 |
55 | /// Carries application specific error information related to the `Body` element.
56 | public let detail: [XMLNode]
| `- warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
57 |
58 | /// A textual representation of this `Fault` instance.
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
[29/37] Compiling Lark QualifiedName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
29 |
30 | extension QualifiedName: Hashable {
31 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
32 | return uri.hashValue % 17 + localName.hashValue
33 | }
[30/37] Emitting module Lark
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
29 |
30 | extension QualifiedName: Hashable {
31 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
32 | return uri.hashValue % 17 + localName.hashValue
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Serialization.swift:12:10: warning: associated value 'noElementWithName' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
10 |
11 | public enum XMLDeserializationError: Error {
12 | case noElementWithName(QualifiedName)
| `- warning: associated value 'noElementWithName' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
13 | case cannotDeserialize
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:47:16: warning: stored property 'faultcode' of 'Sendable'-conforming struct 'Fault' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
45 |
46 | /// Provides an algorithmic mechanism for identifying the fault.
47 | public let faultcode: QualifiedName
| `- warning: stored property 'faultcode' of 'Sendable'-conforming struct 'Fault' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
48 |
49 | /// Provides a human readable explanation of the fault and is not intended for algorithmic processing.
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:56:16: warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
54 |
55 | /// Carries application specific error information related to the `Body` element.
56 | public let detail: [XMLNode]
| `- warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
57 |
58 | /// A textual representation of this `Fault` instance.
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
[31/37] Compiling Lark Envelope.swift
[32/37] Compiling Lark Client.swift
[33/37] Compiling Lark Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Serialization.swift:12:10: warning: associated value 'noElementWithName' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
10 |
11 | public enum XMLDeserializationError: Error {
12 | case noElementWithName(QualifiedName)
| `- warning: associated value 'noElementWithName' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
13 | case cannotDeserialize
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: consider making struct 'QualifiedName' conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[34/37] Compiling Lark Alamofire+Extensions.swift
[35/44] Compiling SchemaParser Utils.swift
[36/44] Compiling SchemaParser SchemaParser.swift
[37/44] Compiling SchemaParser Schema.swift
[38/44] Compiling SchemaParser WebServiceDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:56:14: warning: associated value 'unsupportedOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
54 | case unsupportedTransport(String)
55 | case noTransport
56 | case unsupportedOperation(QualifiedName)
| `- warning: associated value 'unsupportedOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
2 |
3 | import Foundation
4 | import Lark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
5 |
6 | public struct Message {
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:57:14: warning: associated value 'bindingOperationMissingInput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
55 | case noTransport
56 | case unsupportedOperation(QualifiedName)
57 | case bindingOperationMissingInput(QualifiedName)
| `- warning: associated value 'bindingOperationMissingInput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:58:14: warning: associated value 'bindingOperationMissingOutput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
56 | case unsupportedOperation(QualifiedName)
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
| `- warning: associated value 'bindingOperationMissingOutput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
59 | case unsupportedBindingOperationEncoding(QualifiedName)
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:59:14: warning: associated value 'unsupportedBindingOperationEncoding' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
| `- warning: associated value 'unsupportedBindingOperationEncoding' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:60:14: warning: associated value 'invalidOperationStyleForBindingOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
| `- warning: associated value 'invalidOperationStyleForBindingOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
61 |
62 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:339:10: warning: associated value 'unsupportedPortAddress' of 'Sendable'-conforming enum 'WebServiceDescriptionParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
337 | case unsupportedImport
338 | case incorrectRootElement
339 | case unsupportedPortAddress(QualifiedName)
| `- warning: associated value 'unsupportedPortAddress' of 'Sendable'-conforming enum 'WebServiceDescriptionParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
340 | case nodeWithoutTargetNamespace
341 | case schemaWithoutTargetNamespace
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
[39/44] Compiling SchemaParser Schema+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/Schema+Extensions.swift:10:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
8 |
9 | extension Element: Hashable {
10 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
11 | return name.hashValue
12 | }
[40/44] Compiling SchemaParser QualifiedName+XMLElement.swift
[41/44] Emitting module SchemaParser
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/Schema+Extensions.swift:10:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
8 |
9 | extension Element: Hashable {
10 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
11 | return name.hashValue
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:56:14: warning: associated value 'unsupportedOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
54 | case unsupportedTransport(String)
55 | case noTransport
56 | case unsupportedOperation(QualifiedName)
| `- warning: associated value 'unsupportedOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
2 |
3 | import Foundation
4 | import Lark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
5 |
6 | public struct Message {
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:57:14: warning: associated value 'bindingOperationMissingInput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
55 | case noTransport
56 | case unsupportedOperation(QualifiedName)
57 | case bindingOperationMissingInput(QualifiedName)
| `- warning: associated value 'bindingOperationMissingInput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:58:14: warning: associated value 'bindingOperationMissingOutput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
56 | case unsupportedOperation(QualifiedName)
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
| `- warning: associated value 'bindingOperationMissingOutput' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
59 | case unsupportedBindingOperationEncoding(QualifiedName)
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:59:14: warning: associated value 'unsupportedBindingOperationEncoding' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
57 | case bindingOperationMissingInput(QualifiedName)
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
| `- warning: associated value 'unsupportedBindingOperationEncoding' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:60:14: warning: associated value 'invalidOperationStyleForBindingOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
58 | case bindingOperationMissingOutput(QualifiedName)
59 | case unsupportedBindingOperationEncoding(QualifiedName)
60 | case invalidOperationStyleForBindingOperation(QualifiedName)
| `- warning: associated value 'invalidOperationStyleForBindingOperation' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
61 |
62 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/WebServiceDescription.swift:339:10: warning: associated value 'unsupportedPortAddress' of 'Sendable'-conforming enum 'WebServiceDescriptionParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
337 | case unsupportedImport
338 | case incorrectRootElement
339 | case unsupportedPortAddress(QualifiedName)
| `- warning: associated value 'unsupportedPortAddress' of 'Sendable'-conforming enum 'WebServiceDescriptionParseError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
340 | case nodeWithoutTargetNamespace
341 | case schemaWithoutTargetNamespace
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
[42/53] Compiling CodeGenerator WebServiceDescription+verify.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:162:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
160 | }
161 |
162 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
163 | switch self {
164 | case let .service(qname): return qname.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:188:10: warning: associated value 'missingNodes' of 'Sendable'-conforming enum 'WebServiceDescriptionVerifyError' has non-sendable type 'WebServiceDescription.Node'; this is an error in the Swift 6 language mode
4 |
5 | extension WebServiceDescription {
6 | enum Node {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
7 | case service(QualifiedName)
8 | case binding(QualifiedName)
:
186 |
187 | enum WebServiceDescriptionVerifyError: Error {
188 | case missingNodes(Set<WebServiceDescription.Node>)
| `- warning: associated value 'missingNodes' of 'Sendable'-conforming enum 'WebServiceDescriptionVerifyError' has non-sendable type 'WebServiceDescription.Node'; this is an error in the Swift 6 language mode
189 | }
190 |
[43/53] Compiling CodeGenerator NameTranslation.swift
[44/53] Compiling CodeGenerator Schema+toSwift.swift
[45/53] Compiling CodeGenerator Models.swift
[46/53] Compiling CodeGenerator Graph.swift
[47/53] Compiling CodeGenerator Generator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:6:10: warning: associated value 'missingType' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
4 |
5 | enum GeneratorError: Error {
6 | case missingType(QualifiedName)
| `- warning: associated value 'missingType' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
7 | case messageNotFound(QualifiedName)
8 | case noSOAP11Port
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
1 | import Foundation
2 | import SchemaParser
3 | import Lark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
4 |
5 | enum GeneratorError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:7:10: warning: associated value 'messageNotFound' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
5 | enum GeneratorError: Error {
6 | case missingType(QualifiedName)
7 | case messageNotFound(QualifiedName)
| `- warning: associated value 'messageNotFound' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
8 | case noSOAP11Port
9 | case rpcNotSupported
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:10:10: warning: associated value 'messageNotWSICompliant' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
8 | case noSOAP11Port
9 | case rpcNotSupported
10 | case messageNotWSICompliant(QualifiedName)
| `- warning: associated value 'messageNotWSICompliant' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:54:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
52 | }
53 |
54 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
55 | switch self {
56 | case let .element(qname): return qname.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:211:5: warning: let 'baseTypes' is not concurrency-safe because non-'Sendable' type '[QualifiedName : Identifier]' (aka 'Dictionary<QualifiedName, String>') may have shared mutable state; this is an error in the Swift 6 language mode
209 |
210 | // todo: cleanup
211 | let baseTypes: [QualifiedName: Identifier] = [
| |- warning: let 'baseTypes' is not concurrency-safe because non-'Sendable' type '[QualifiedName : Identifier]' (aka 'Dictionary<QualifiedName, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'baseTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 | QualifiedName(uri: NS_XS, localName: "byte"): "Int8",
213 | QualifiedName(uri: NS_XS, localName: "short"): "Int16",
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
[48/53] Emitting module CodeGenerator
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:6:10: warning: associated value 'missingType' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
4 |
5 | enum GeneratorError: Error {
6 | case missingType(QualifiedName)
| `- warning: associated value 'missingType' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
7 | case messageNotFound(QualifiedName)
8 | case noSOAP11Port
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
1 | import Foundation
2 | import SchemaParser
3 | import Lark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Lark'
4 |
5 | enum GeneratorError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:7:10: warning: associated value 'messageNotFound' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
5 | enum GeneratorError: Error {
6 | case missingType(QualifiedName)
7 | case messageNotFound(QualifiedName)
| `- warning: associated value 'messageNotFound' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
8 | case noSOAP11Port
9 | case rpcNotSupported
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:10:10: warning: associated value 'messageNotWSICompliant' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
8 | case noSOAP11Port
9 | case rpcNotSupported
10 | case messageNotWSICompliant(QualifiedName)
| `- warning: associated value 'messageNotWSICompliant' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'QualifiedName'; this is an error in the Swift 6 language mode
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:54:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
52 | }
53 |
54 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
55 | switch self {
56 | case let .element(qname): return qname.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:211:5: warning: let 'baseTypes' is not concurrency-safe because non-'Sendable' type '[QualifiedName : Identifier]' (aka 'Dictionary<QualifiedName, String>') may have shared mutable state; this is an error in the Swift 6 language mode
209 |
210 | // todo: cleanup
211 | let baseTypes: [QualifiedName: Identifier] = [
| |- warning: let 'baseTypes' is not concurrency-safe because non-'Sendable' type '[QualifiedName : Identifier]' (aka 'Dictionary<QualifiedName, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'baseTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 | QualifiedName(uri: NS_XS, localName: "byte"): "Int8",
213 | QualifiedName(uri: NS_XS, localName: "short"): "Int16",
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:3:15: note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct QualifiedName {
| `- note: struct 'QualifiedName' does not conform to the 'Sendable' protocol
4 | public enum Error: Swift.Error {
5 | case invalidNamespacePrefix(String)
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:162:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
160 | }
161 |
162 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
163 | switch self {
164 | case let .service(qname): return qname.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:188:10: warning: associated value 'missingNodes' of 'Sendable'-conforming enum 'WebServiceDescriptionVerifyError' has non-sendable type 'WebServiceDescription.Node'; this is an error in the Swift 6 language mode
4 |
5 | extension WebServiceDescription {
6 | enum Node {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
7 | case service(QualifiedName)
8 | case binding(QualifiedName)
:
186 |
187 | enum WebServiceDescriptionVerifyError: Error {
188 | case missingNodes(Set<WebServiceDescription.Node>)
| `- warning: associated value 'missingNodes' of 'Sendable'-conforming enum 'WebServiceDescriptionVerifyError' has non-sendable type 'WebServiceDescription.Node'; this is an error in the Swift 6 language mode
189 | }
190 |
[49/53] Compiling CodeGenerator SwiftCodeGenerator.swift
[50/53] Compiling CodeGenerator Utils.swift
[51/55] Emitting module lark_generate_client
/Users/admin/builder/spi-builder-workspace/Sources/lark-generate-client/main.swift:7:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | var standardError = FileHandle.standardError
6 |
7 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public func write(_ string: String) {
9 | guard let data = string.data(using: .utf8) else { return }
[52/55] Compiling lark_generate_client main.swift
/Users/admin/builder/spi-builder-workspace/Sources/lark-generate-client/main.swift:7:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | var standardError = FileHandle.standardError
6 |
7 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public func write(_ string: String) {
9 | guard let data = string.data(using: .utf8) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/lark-generate-client/main.swift:15:52: error: main actor-isolated var 'standardError' can not be used 'inout' from a nonisolated context
3 | import CodeGenerator
4 |
5 | var standardError = FileHandle.standardError
| `- note: mutation of this var is only permitted within the actor
6 |
7 | extension FileHandle: TextOutputStream {
:
12 | }
13 |
14 | func printUsage() {
| `- note: add '@MainActor' to make global function 'printUsage()' part of global actor 'MainActor'
15 | print("usage: lark-generate-client WSDL", to: &standardError)
| `- error: main actor-isolated var 'standardError' can not be used 'inout' from a nonisolated context
16 | }
17 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/21] Compiling Alamofire TaskDelegate.swift
[3/21] Compiling Alamofire Timeline.swift
[4/22] Compiling Alamofire Result.swift
[5/22] Compiling Alamofire ServerTrustPolicy.swift
[6/22] Compiling Alamofire SessionDelegate.swift
[7/22] Compiling Alamofire SessionManager.swift
[8/22] Compiling Alamofire Validation.swift
[9/22] Compiling Alamofire Response.swift
[10/22] Compiling Alamofire ResponseSerialization.swift
[11/22] Compiling Alamofire DispatchQueue+Alamofire.swift
[12/22] Compiling Alamofire MultipartFormData.swift
[13/22] Compiling Alamofire NetworkReachabilityManager.swift
[14/22] Compiling Alamofire Notifications.swift
[15/22] Emitting module Alamofire
[16/22] Compiling Alamofire ParameterEncoding.swift
[17/22] Compiling Alamofire Request.swift
[18/22] Compiling Alamofire AFError.swift
[19/22] Compiling Alamofire Alamofire.swift
[20/31] Compiling Lark Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[21/31] Compiling Lark Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:56:16: warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
54 |
55 | /// Carries application specific error information related to the `Body` element.
56 | public let detail: [XMLNode]
| `- warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
57 |
58 | /// A textual representation of this `Fault` instance.
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
[22/31] Compiling Lark StringSerializableList.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[23/31] Compiling Lark QualifiedName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
29 |
30 | extension QualifiedName: Hashable {
31 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
32 | return uri.hashValue % 17 + localName.hashValue
33 | }
[24/31] Compiling Lark Envelope.swift
[25/31] Compiling Lark Alamofire+Extensions.swift
[26/31] Compiling Lark Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
[27/31] Emitting module Lark
/Users/admin/builder/spi-builder-workspace/Sources/Lark/StringSerializableList.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol StringSerializableList: XMLDeserializable, XMLSerializable, Sequence, Collection, ExpressibleByArrayLiteral {
4 | associatedtype Element: StringDeserializable, StringSerializable
| `- warning: redeclaration of associated type 'Element' from protocol 'Collection' is better expressed as a 'where' clause on the protocol
5 |
6 | var _contents: [Element] { get }
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Lark/QualifiedName.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
29 |
30 | extension QualifiedName: Hashable {
31 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'QualifiedName' to 'Hashable' by implementing 'hash(into:)' instead
32 | return uri.hashValue % 17 + localName.hashValue
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lark/Validation.swift:56:16: warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
54 |
55 | /// Carries application specific error information related to the `Body` element.
56 | public let detail: [XMLNode]
| `- warning: stored property 'detail' of 'Sendable'-conforming struct 'Fault' has non-sendable type '[XMLNode]'; this is an error in the Swift 6 language mode
57 |
58 | /// A textual representation of this `Fault` instance.
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
[28/31] Compiling Lark Client.swift
[29/38] Compiling SchemaParser SchemaParser.swift
[30/38] Emitting module SchemaParser
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/Schema+Extensions.swift:10:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
8 |
9 | extension Element: Hashable {
10 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
11 | return name.hashValue
12 | }
[31/38] Compiling SchemaParser Schema+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SchemaParser/Schema+Extensions.swift:10:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
8 |
9 | extension Element: Hashable {
10 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Element' to 'Hashable' by implementing 'hash(into:)' instead
11 | return name.hashValue
12 | }
[32/38] Compiling SchemaParser Utils.swift
[33/38] Compiling SchemaParser Schema.swift
[34/38] Compiling SchemaParser WebServiceDescription.swift
[35/38] Compiling SchemaParser QualifiedName+XMLElement.swift
[36/47] Compiling CodeGenerator Utils.swift
[37/47] Compiling CodeGenerator WebServiceDescription+verify.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:162:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
160 | }
161 |
162 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
163 | switch self {
164 | case let .service(qname): return qname.hashValue
[38/47] Compiling CodeGenerator NameTranslation.swift
[39/47] Compiling CodeGenerator Models.swift
[40/47] Compiling CodeGenerator Graph.swift
[41/47] Compiling CodeGenerator Generator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:54:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
52 | }
53 |
54 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
55 | switch self {
56 | case let .element(qname): return qname.hashValue
[42/47] Compiling CodeGenerator Schema+toSwift.swift
[43/47] Compiling CodeGenerator SwiftCodeGenerator.swift
[44/47] Emitting module CodeGenerator
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/Generator.swift:54:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
52 | }
53 |
54 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Type' to 'Hashable' by implementing 'hash(into:)' instead
55 | switch self {
56 | case let .element(qname): return qname.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/CodeGenerator/WebServiceDescription+verify.swift:162:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
160 | }
161 |
162 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'WebServiceDescription.Node' to 'Hashable' by implementing 'hash(into:)' instead
163 | switch self {
164 | case let .service(qname): return qname.hashValue
[45/49] Compiling lark_generate_client main.swift
/Users/admin/builder/spi-builder-workspace/Sources/lark-generate-client/main.swift:7:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | var standardError = FileHandle.standardError
6 |
7 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public func write(_ string: String) {
9 | guard let data = string.data(using: .utf8) else { return }
[46/49] Emitting module lark_generate_client
/Users/admin/builder/spi-builder-workspace/Sources/lark-generate-client/main.swift:7:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | var standardError = FileHandle.standardError
6 |
7 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public func write(_ string: String) {
9 | guard let data = string.data(using: .utf8) else { return }
[46/49] Write Objects.LinkFileList
[47/49] Linking lark-generate-client
[48/49] Applying lark-generate-client
Build complete! (12.86s)
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "4.5.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Lark",
"name" : "Lark",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Lark",
"targets" : [
"Lark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "lark-generate-client",
"targets" : [
"lark-generate-client"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "lark_generate_client",
"module_type" : "SwiftTarget",
"name" : "lark-generate-client",
"path" : "Sources/lark-generate-client",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SchemaParser",
"CodeGenerator"
],
"type" : "executable"
},
{
"c99name" : "SchemaParserTests",
"module_type" : "SwiftTarget",
"name" : "SchemaParserTests",
"path" : "Tests/SchemaParserTests",
"sources" : [
"SchemaTests.swift",
"WebServiceDescriptionTests.swift"
],
"target_dependencies" : [
"SchemaParser"
],
"type" : "test"
},
{
"c99name" : "SchemaParser",
"module_type" : "SwiftTarget",
"name" : "SchemaParser",
"path" : "Sources/SchemaParser",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"QualifiedName+XMLElement.swift",
"Schema+Extensions.swift",
"Schema.swift",
"SchemaParser.swift",
"Utils.swift",
"WebServiceDescription.swift"
],
"target_dependencies" : [
"Lark"
],
"type" : "library"
},
{
"c99name" : "LarkTests",
"module_type" : "SwiftTarget",
"name" : "LarkTests",
"path" : "Tests/LarkTests",
"sources" : [
"SerializationTests.swift",
"StringSerializableListTests.swift",
"Utils.swift",
"UtilsTests.swift",
"ValidationTests.swift"
],
"target_dependencies" : [
"Lark"
],
"type" : "test"
},
{
"c99name" : "Lark",
"module_type" : "SwiftTarget",
"name" : "Lark",
"path" : "Sources/Lark",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"Lark",
"lark-generate-client"
],
"sources" : [
"Alamofire+Extensions.swift",
"Client.swift",
"Envelope.swift",
"QualifiedName.swift",
"Serialization.swift",
"StringSerializableList.swift",
"Utils.swift",
"Validation.swift"
],
"type" : "library"
},
{
"c99name" : "CodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "CodeGeneratorTests",
"path" : "Tests/CodeGeneratorTests",
"sources" : [
"CodeGeneratorTests.swift",
"NameTranslationTests.swift",
"RandomServicesTests.swift",
"SwiftTypeTests.swift",
"Utils.swift",
"WebServiceDescription+verifyTests.swift",
"simplediff.swift"
],
"target_dependencies" : [
"CodeGenerator"
],
"type" : "test"
},
{
"c99name" : "CodeGenerator",
"module_type" : "SwiftTarget",
"name" : "CodeGenerator",
"path" : "Sources/CodeGenerator",
"product_memberships" : [
"lark-generate-client"
],
"sources" : [
"Generator.swift",
"Graph.swift",
"Models.swift",
"NameTranslation.swift",
"Schema+toSwift.swift",
"SwiftCodeGenerator.swift",
"Utils.swift",
"WebServiceDescription+verify.swift"
],
"target_dependencies" : [
"Lark",
"SchemaParser"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.