Build Information
Successful build of FINporter, reference 1.2.3 (2e779a
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 10:03:54 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-portfolio/FINporter.git
Reference: 1.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/open-portfolio/FINporter
* tag 1.2.3 -> FETCH_HEAD
HEAD is now at 2e779ab restore local SwiftCSV pending further investigation
Cloned https://github.com/open-portfolio/FINporter.git
Revision (git rev-parse @):
2e779ab9e31735a5bcfb188ca291c6205d777866
SUCCESS checkout https://github.com/open-portfolio/FINporter.git at 1.2.3
Fetching https://github.com/openalloc/SwiftCSV.git
Fetching https://github.com/openalloc/AllocData.git
[1/1708] Fetching allocdata
[189/2775] Fetching allocdata, swiftcsv
Fetched https://github.com/openalloc/AllocData.git from cache (0.98s)
Fetched https://github.com/openalloc/SwiftCSV.git from cache (0.98s)
Computing version for https://github.com/openalloc/SwiftCSV.git
Computed https://github.com/openalloc/SwiftCSV.git at 0.6.2 (0.56s)
Computing version for https://github.com/openalloc/AllocData.git
Computed https://github.com/openalloc/AllocData.git at 1.2.0 (0.53s)
Creating working copy for https://github.com/openalloc/SwiftCSV.git
Working copy of https://github.com/openalloc/SwiftCSV.git resolved at 0.6.2
Creating working copy for https://github.com/openalloc/AllocData.git
Working copy of https://github.com/openalloc/AllocData.git resolved at 1.2.0
========================================
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": "finporter",
"name": "FINporter",
"url": "https://github.com/open-portfolio/FINporter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FINporter",
"dependencies": [
{
"identity": "allocdata",
"name": "AllocData",
"url": "https://github.com/openalloc/AllocData.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AllocData",
"dependencies": [
]
},
{
"identity": "swiftcsv",
"name": "SwiftCSV",
"url": "https://github.com/openalloc/SwiftCSV.git",
"version": "0.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCSV",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/open-portfolio/FINporter.git
[1/1064] Fetching finporter
Fetched https://github.com/open-portfolio/FINporter.git from cache (0.93s)
Fetching https://github.com/openalloc/SwiftCSV.git from cache
Fetching https://github.com/openalloc/AllocData.git from cache
Fetched https://github.com/openalloc/AllocData.git from cache (0.48s)
Fetched https://github.com/openalloc/SwiftCSV.git from cache (0.49s)
Computing version for https://github.com/openalloc/SwiftCSV.git
Computed https://github.com/openalloc/SwiftCSV.git at 0.6.2 (0.02s)
Computing version for https://github.com/openalloc/AllocData.git
Computed https://github.com/openalloc/AllocData.git at 1.2.0 (0.02s)
Creating working copy for https://github.com/openalloc/SwiftCSV.git
Working copy of https://github.com/openalloc/SwiftCSV.git resolved at 0.6.2
Creating working copy for https://github.com/openalloc/AllocData.git
Working copy of https://github.com/openalloc/AllocData.git resolved at 1.2.0
Creating working copy for https://github.com/open-portfolio/FINporter.git
Working copy of https://github.com/open-portfolio/FINporter.git resolved at 1.2.3 (2e779ab)
warning: '.resolve-product-dependencies': dependency 'finporter' is not used by any target
Found 2 product dependencies
- AllocData
- SwiftCSV
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/open-portfolio/FINporter.git
{
"dependencies" : [
{
"identity" : "allocdata",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openalloc/AllocData.git"
},
{
"identity" : "swiftcsv",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openalloc/SwiftCSV.git"
}
],
"manifest_display_name" : "FINporter",
"name" : "FINporter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "FINporter",
"targets" : [
"FINporter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FINporterTests",
"module_type" : "SwiftTarget",
"name" : "FINporterTests",
"path" : "Tests",
"sources" : [
"Core/FINporterTests.swift",
"Core/FINporterUtilsTests.swift",
"Handlers/DetectHandlerTests.swift",
"Handlers/TransformHandlerTests.swift",
"Helpers/DelimitedEncoderTests.swift",
"Helpers/StringCaptureGroupTests.swift",
"Helpers/TxnIDGenTests.swift",
"LinuxMain.swift",
"TestHelpers.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FINporter"
],
"type" : "test"
},
{
"c99name" : "FINporter",
"module_type" : "SwiftTarget",
"name" : "FINporter",
"path" : "Sources",
"product_dependencies" : [
"AllocData",
"SwiftCSV"
],
"product_memberships" : [
"FINporter"
],
"sources" : [
"Core/FINporter+Utils.swift",
"Core/FINporter.swift",
"Core/FINprospector.swift",
"Handlers/DetectHandler.swift",
"Handlers/TransformHandler.swift",
"Helpers/DelimitedEncoder.swift",
"Helpers/FINporterError.swift",
"Helpers/String+CaptureGroups.swift",
"Helpers/TxnIDGenerator.swift",
"Model/MAsset+StandardID.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/80] Emitting module AllocData
[6/87] Compiling SwiftCSV String+Lines.swift
[7/87] Compiling SwiftCSV Parser.swift
[8/87] Compiling SwiftCSV NamedView.swift
[9/87] Compiling SwiftCSV ParsingState.swift
[10/87] Compiling SwiftCSV EnumeratedView.swift
[11/87] Compiling SwiftCSV CSV.swift
[12/87] Emitting module SwiftCSV
[13/87] Compiling SwiftCSV Description.swift
[14/87] Compiling AllocData MCap.swift
[15/87] Compiling AllocData MHolding+Attributes.swift
[16/87] Compiling AllocData MHolding+Key.swift
[17/87] Compiling AllocData MHolding+Row.swift
[18/87] Compiling AllocData MHolding.swift
[19/87] Compiling AllocData MRebalanceAllocation+Attributes.swift
[20/87] Compiling AllocData MRebalanceAllocation+Key.swift
[21/87] Compiling AllocData MRebalanceAllocation+Row.swift
[22/87] Compiling AllocData MRebalanceSale+Row.swift
[23/87] Compiling AllocData MRebalanceSale.swift
[24/87] Compiling AllocData MSecurity+Attributes.swift
[25/87] Compiling AllocData MSecurity+Key.swift
[26/87] Compiling AllocData MSecurity+Row.swift
[27/87] Compiling AllocData MSecurity.swift
[28/87] Compiling AllocData MSourceMeta+Attributes.swift
[29/87] Compiling AllocData MAllocation.swift
[30/87] Compiling AllocData MAsset+Attributes.swift
[31/87] Compiling AllocData MAsset+Key.swift
[32/87] Compiling AllocData MAsset+Row.swift
[33/87] Compiling AllocData MAsset.swift
[34/87] Compiling AllocData MCap+Attributes.swift
[35/87] Compiling AllocData MCap+Key.swift
[36/87] Compiling AllocData MCap+Row.swift
[37/87] Compiling AllocData MSourceMeta+Key.swift
[38/87] Compiling AllocData MSourceMeta+Row.swift
[39/87] Compiling AllocData MSourceMeta.swift
[40/87] Compiling AllocData MStrategy+Attributes.swift
[41/87] Compiling AllocData MStrategy+Key.swift
[42/87] Compiling AllocData MStrategy+Row.swift
[43/87] Compiling AllocData MStrategy.swift
[44/87] Compiling AllocData MTracker+Attributes.swift
[45/87] Compiling AllocData MTracker+Key.swift
[46/87] Compiling AllocData MTracker+Row.swift
[47/87] Compiling AllocData MTracker.swift
[48/87] Compiling AllocData MTransaction+Action.swift
[49/87] Compiling AllocData MTransaction+Attributes.swift
[50/87] Compiling AllocData MTransaction+Key.swift
[51/87] Compiling AllocData MRebalanceAllocation.swift
[52/87] Compiling AllocData MRebalancePurchase+Attributes.swift
[53/87] Compiling AllocData MRebalancePurchase+Key.swift
[54/87] Compiling AllocData MRebalancePurchase+Row.swift
[55/87] Compiling AllocData MRebalancePurchase.swift
[56/87] Compiling AllocData MRebalanceSale+Attributes.swift
[57/87] Compiling AllocData MRebalanceSale+Key.swift
[58/87] Compiling AllocData MTransaction+Row.swift
[59/87] Compiling AllocData MTransaction.swift
[60/87] Compiling AllocData MValuationCashflow+Attributes.swift
[61/87] Compiling AllocData MValuationCashflow+Key.swift
[62/87] Compiling AllocData MValuationCashflow+Row.swift
[63/87] Compiling AllocData MValuationCashflow.swift
[64/87] Compiling AllocData MValuationPosition+Attributes.swift
[65/87] Compiling AllocData AllocAttributable.swift
[66/87] Compiling AllocData AllocBase+Parsers.swift
[67/87] Compiling AllocData AllocBase.swift
[68/87] Compiling AllocData AllocDataError.swift
[69/87] Compiling AllocData AllocFormat.swift
[70/87] Compiling AllocData AllocKeyed.swift
[71/87] Compiling AllocData AllocRowed.swift
[72/87] Compiling AllocData AllocSchema+TableSignature.swift
[73/87] Compiling AllocData AllocSchema.swift
[74/87] Compiling AllocData MAccount+Attributes.swift
[75/87] Compiling AllocData MAccount+Key.swift
[76/87] Compiling AllocData MAccount+Row.swift
[77/87] Compiling AllocData MAccount.swift
[78/87] Compiling AllocData MAllocation+Attributes.swift
[79/87] Compiling AllocData MAllocation+Key.swift
[80/87] Compiling AllocData MAllocation+Row.swift
[81/87] Compiling AllocData MValuationPosition+Key.swift
[82/87] Compiling AllocData MValuationPosition+Row.swift
[83/87] Compiling AllocData MValuationPosition.swift
[84/87] Compiling AllocData MValuationSnapshot+Attributes.swift
[85/87] Compiling AllocData MValuationSnapshot+Key.swift
[86/87] Compiling AllocData MValuationSnapshot+Row.swift
[87/87] Compiling AllocData MValuationSnapshot.swift
[88/97] Compiling FINporter String+CaptureGroups.swift
[89/97] Compiling FINporter TxnIDGenerator.swift
[90/98] Compiling FINporter DetectHandler.swift
[91/98] Compiling FINporter FINprospector.swift
[92/98] Compiling FINporter TransformHandler.swift
[93/98] Compiling FINporter FINporter.swift
[94/98] Emitting module FINporter
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/DelimitedEncoder.swift:30:24: warning: static property 'isoDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | private var data = Data()
29 |
30 | private static let isoDateFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoDateFormatter' 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
31 |
32 | public init(delimiter: String = ",",
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:27:10: warning: associated value 'needExplicitOutputSchema' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
25 | case decodingError(_ msg: String)
26 | case decodingKeyError(key: String, classType: String, _ msg: String)
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
| `- warning: associated value 'needExplicitOutputSchema' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AllocData'
18 | import Foundation
19 |
20 | import AllocData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AllocData'
21 |
22 | public enum FINporterError: Error, Equatable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:28:10: warning: associated value 'targetSchemaNotSupported' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
26 | case decodingKeyError(key: String, classType: String, _ msg: String)
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
| `- warning: associated value 'targetSchemaNotSupported' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:29:10: warning: associated value 'multipleImportersMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'FINporter'; this is an error in the Swift 6 language mode
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
| `- warning: associated value 'multipleImportersMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'FINporter'; this is an error in the Swift 6 language mode
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
/Users/admin/builder/spi-builder-workspace/Sources/Core/FINporter.swift:22:12: note: class 'FINporter' does not conform to the 'Sendable' protocol
20 | import AllocData
21 |
22 | open class FINporter: Identifiable, Hashable {
| `- note: class 'FINporter' does not conform to the 'Sendable' protocol
23 | public typealias DetectResult = [AllocSchema: [AllocFormat]]
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:30:10: warning: associated value 'multipleDetectedSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
| `- warning: associated value 'multipleDetectedSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
32 | case sourceFormatNotRecognized
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:31:10: warning: associated value 'multipleOutputSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
| `- warning: associated value 'multipleOutputSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
32 | case sourceFormatNotRecognized
33 | case importerNotRecognized(_ msg: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
[95/98] Compiling FINporter FINporter+Utils.swift
[96/98] Compiling FINporter DelimitedEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/DelimitedEncoder.swift:30:24: warning: static property 'isoDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 | private var data = Data()
29 |
30 | private static let isoDateFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoDateFormatter' 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
31 |
32 | public init(delimiter: String = ",",
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[97/98] Compiling FINporter FINporterError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:27:10: warning: associated value 'needExplicitOutputSchema' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
25 | case decodingError(_ msg: String)
26 | case decodingKeyError(key: String, classType: String, _ msg: String)
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
| `- warning: associated value 'needExplicitOutputSchema' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AllocData'
18 | import Foundation
19 |
20 | import AllocData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AllocData'
21 |
22 | public enum FINporterError: Error, Equatable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:28:10: warning: associated value 'targetSchemaNotSupported' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
26 | case decodingKeyError(key: String, classType: String, _ msg: String)
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
| `- warning: associated value 'targetSchemaNotSupported' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:29:10: warning: associated value 'multipleImportersMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'FINporter'; this is an error in the Swift 6 language mode
27 | case needExplicitOutputSchema(_ supported: [AllocSchema])
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
| `- warning: associated value 'multipleImportersMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'FINporter'; this is an error in the Swift 6 language mode
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
/Users/admin/builder/spi-builder-workspace/Sources/Core/FINporter.swift:22:12: note: class 'FINporter' does not conform to the 'Sendable' protocol
20 | import AllocData
21 |
22 | open class FINporter: Identifiable, Hashable {
| `- note: class 'FINporter' does not conform to the 'Sendable' protocol
23 | public typealias DetectResult = [AllocSchema: [AllocFormat]]
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:30:10: warning: associated value 'multipleDetectedSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
28 | case targetSchemaNotSupported(_ supported: [AllocSchema])
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
| `- warning: associated value 'multipleDetectedSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
32 | case sourceFormatNotRecognized
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/FINporterError.swift:31:10: warning: associated value 'multipleOutputSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
29 | case multipleImportersMatch(_ importers: [FINporter])
30 | case multipleDetectedSchemasMatch(_ schemas: [AllocSchema])
31 | case multipleOutputSchemasMatch(_ schemas: [AllocSchema])
| `- warning: associated value 'multipleOutputSchemasMatch' of 'Sendable'-conforming enum 'FINporterError' has non-sendable type 'AllocSchema'; this is an error in the Swift 6 language mode
32 | case sourceFormatNotRecognized
33 | case importerNotRecognized(_ msg: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AllocData/Sources/Core/AllocSchema.swift:20:13: note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
18 | import Foundation
19 |
20 | public enum AllocSchema: String, CaseIterable {
| `- note: enum 'AllocSchema' does not conform to the 'Sendable' protocol
21 | case allocStrategy = "openalloc/strategy"
22 | case allocAllocation = "openalloc/allocation"
[98/98] Compiling FINporter MAsset+StandardID.swift
Build complete! (28.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "allocdata",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openalloc/AllocData.git"
},
{
"identity" : "swiftcsv",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openalloc/SwiftCSV.git"
}
],
"manifest_display_name" : "FINporter",
"name" : "FINporter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "FINporter",
"targets" : [
"FINporter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FINporterTests",
"module_type" : "SwiftTarget",
"name" : "FINporterTests",
"path" : "Tests",
"sources" : [
"Core/FINporterTests.swift",
"Core/FINporterUtilsTests.swift",
"Handlers/DetectHandlerTests.swift",
"Handlers/TransformHandlerTests.swift",
"Helpers/DelimitedEncoderTests.swift",
"Helpers/StringCaptureGroupTests.swift",
"Helpers/TxnIDGenTests.swift",
"LinuxMain.swift",
"TestHelpers.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FINporter"
],
"type" : "test"
},
{
"c99name" : "FINporter",
"module_type" : "SwiftTarget",
"name" : "FINporter",
"path" : "Sources",
"product_dependencies" : [
"AllocData",
"SwiftCSV"
],
"product_memberships" : [
"FINporter"
],
"sources" : [
"Core/FINporter+Utils.swift",
"Core/FINporter.swift",
"Core/FINprospector.swift",
"Handlers/DetectHandler.swift",
"Handlers/TransformHandler.swift",
"Helpers/DelimitedEncoder.swift",
"Helpers/FINporterError.swift",
"Helpers/String+CaptureGroups.swift",
"Helpers/TxnIDGenerator.swift",
"Model/MAsset+StandardID.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.