Build Information
Successful build of FINporter with Swift 6.0 for Linux.
Swift 6 data race errors: 7
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-portfolio/FINporter.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/open-portfolio/FINporter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6fa3c20 Drop "App" from binary name; add space after "Flow"
Cloned https://github.com/open-portfolio/FINporter.git
Revision (git rev-parse @):
6fa3c205d6ed5ab84bc001954d72f54269859d80
SUCCESS checkout https://github.com/open-portfolio/FINporter.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/open-portfolio/FINporter.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/swiftcsv/SwiftCSV.git
Fetching https://github.com/openalloc/AllocData.git
[1/1754] Fetching swiftcsv
[1755/3462] Fetching swiftcsv, allocdata
Fetched https://github.com/openalloc/AllocData.git from cache (0.26s)
Fetched https://github.com/swiftcsv/SwiftCSV.git from cache (0.27s)
Computing version for https://github.com/swiftcsv/SwiftCSV.git
Computed https://github.com/swiftcsv/SwiftCSV.git at 0.10.0 (0.43s)
Computing version for https://github.com/openalloc/AllocData.git
Computed https://github.com/openalloc/AllocData.git at 1.2.0 (0.65s)
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/swiftcsv/SwiftCSV.git
Working copy of https://github.com/swiftcsv/SwiftCSV.git resolved at 0.10.0
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/81] Emitting module SwiftCSV
[7/82] Compiling SwiftCSV NamedCSVView.swift
[8/82] Compiling SwiftCSV Parser.swift
[9/82] Compiling SwiftCSV String+Lines.swift
[10/82] Compiling SwiftCSV Serializer.swift
[11/82] Compiling SwiftCSV ParsingState.swift
[12/82] Compiling AllocData MRebalanceSale+Key.swift
[13/82] Compiling AllocData MRebalanceSale+Row.swift
[14/82] Compiling AllocData MRebalanceSale.swift
[15/82] Compiling AllocData MSecurity+Attributes.swift
[16/82] Compiling AllocData MSecurity+Key.swift
[17/82] Compiling AllocData MSecurity+Row.swift
[18/82] Compiling AllocData MSecurity.swift
[19/82] Compiling AllocData MSourceMeta+Attributes.swift
[20/82] Compiling AllocData MSourceMeta+Key.swift
[21/82] Compiling AllocData AllocAttributable.swift
[22/82] Compiling AllocData AllocBase+Parsers.swift
[23/82] Compiling AllocData AllocBase.swift
[24/82] Compiling AllocData AllocDataError.swift
[25/82] Compiling AllocData AllocFormat.swift
[26/82] Compiling AllocData AllocKeyed.swift
[27/82] Compiling AllocData AllocRowed.swift
[28/82] Compiling AllocData AllocSchema+TableSignature.swift
[29/82] Compiling AllocData AllocSchema.swift
[30/82] Compiling AllocData MAccount+Attributes.swift
[31/82] Emitting module AllocData
[32/82] Compiling SwiftCSV resource_bundle_accessor.swift
[33/91] Compiling AllocData MTracker.swift
[34/91] Compiling AllocData MTransaction+Action.swift
[35/91] Compiling AllocData MTransaction+Attributes.swift
[36/91] Compiling AllocData MTransaction+Key.swift
[37/91] Compiling AllocData MTransaction+Row.swift
[38/91] Compiling AllocData MTransaction.swift
[39/91] Compiling AllocData MValuationCashflow+Attributes.swift
[40/91] Compiling AllocData MValuationCashflow+Key.swift
[41/91] Compiling AllocData MValuationCashflow+Row.swift
[47/92] Compiling AllocData MSourceMeta+Row.swift
[48/92] Compiling AllocData MSourceMeta.swift
[49/92] Compiling AllocData MStrategy+Attributes.swift
[50/92] Compiling AllocData MStrategy+Key.swift
[51/92] Compiling AllocData MStrategy+Row.swift
[52/92] Compiling AllocData MStrategy.swift
[53/92] Compiling AllocData MTracker+Attributes.swift
[54/92] Compiling AllocData MTracker+Key.swift
[55/92] Compiling AllocData MTracker+Row.swift
[56/92] Compiling AllocData MAccount+Key.swift
[57/92] Compiling AllocData MAccount+Row.swift
[58/92] Compiling AllocData MAccount.swift
[59/92] Compiling AllocData MAllocation+Attributes.swift
[60/92] Compiling AllocData MAllocation+Key.swift
[61/92] Compiling AllocData MAllocation+Row.swift
[62/92] Compiling AllocData MAllocation.swift
[63/92] Compiling AllocData MAsset+Attributes.swift
[64/92] Compiling AllocData MAsset+Key.swift
[65/92] Compiling AllocData MAsset+Row.swift
[66/92] Compiling AllocData MAsset.swift
[67/92] Compiling AllocData MCap+Attributes.swift
[68/92] Compiling AllocData MCap+Key.swift
[69/92] Compiling AllocData MCap+Row.swift
[70/92] Compiling AllocData MCap.swift
[71/92] Compiling AllocData MHolding+Attributes.swift
[72/92] Compiling AllocData MHolding+Key.swift
[73/92] Compiling AllocData MHolding+Row.swift
[74/92] Compiling AllocData MHolding.swift
[75/92] Compiling AllocData MRebalanceAllocation+Attributes.swift
[76/92] Compiling AllocData MRebalanceAllocation+Key.swift
[77/92] Compiling AllocData MRebalanceAllocation+Row.swift
[78/92] Compiling AllocData MRebalanceAllocation.swift
[79/92] Compiling AllocData MRebalancePurchase+Attributes.swift
[80/92] Compiling AllocData MRebalancePurchase+Key.swift
[81/92] Compiling AllocData MRebalancePurchase+Row.swift
[82/92] Compiling AllocData MRebalancePurchase.swift
[83/92] Compiling AllocData MRebalanceSale+Attributes.swift
[84/92] Compiling AllocData MValuationCashflow.swift
[85/92] Compiling AllocData MValuationPosition+Attributes.swift
[86/92] Compiling AllocData MValuationPosition+Key.swift
[87/92] Compiling AllocData MValuationPosition+Row.swift
[88/92] Compiling AllocData MValuationPosition.swift
[89/92] Compiling AllocData MValuationSnapshot+Attributes.swift
[90/92] Compiling AllocData MValuationSnapshot+Key.swift
[91/92] Compiling AllocData MValuationSnapshot+Row.swift
[92/92] Compiling AllocData MValuationSnapshot.swift
[94/103] Compiling FINporter TxnIDGenerator.swift
/host/spi-builder-workspace/Sources/Helpers/TxnIDGenerator.swift:20:13: warning: let 'txnDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | private let txnDateFormatter: DateFormatter = {
| `- warning: let 'txnDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
21 | let df = DateFormatter()
22 | df.dateFormat = "yyyyMMdd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Helpers/TxnIDGenerator.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
16 | // limitations under the License.
17 |
18 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
19 |
20 | private let txnDateFormatter: DateFormatter = {
| |- note: annotate 'txnDateFormatter' 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
21 | let df = DateFormatter()
22 | df.dateFormat = "yyyyMMdd"
[95/104] Compiling FINporter String+CaptureGroups.swift
[96/104] Compiling FINporter FINporterError.swift
/host/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])
/host/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"
/host/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 {
/host/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])
/host/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"
/host/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])
/host/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 |
/host/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
/host/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"
/host/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)
/host/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"
[97/104] Compiling FINporter MAsset+StandardID.swift
[98/104] Compiling FINporter FINporter+Utils.swift
[99/104] Compiling FINporter FINporter.swift
[100/104] Compiling FINporter TransformHandler.swift
[101/104] Compiling FINporter DelimitedEncoder.swift
/host/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
31 |
32 | public init(delimiter: String = ",",
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/Helpers/DelimitedEncoder.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
18 | // limitations under the License.
19 |
20 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
21 |
22 | public class DelimitedEncoder: Encoder {
:
28 | private var data = Data()
29 |
30 | private static let isoDateFormatter = ISO8601DateFormatter()
| |- 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 = ",",
[102/104] Emitting module FINporter
/host/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
31 |
32 | public init(delimiter: String = ",",
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/Helpers/DelimitedEncoder.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
18 | // limitations under the License.
19 |
20 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
21 |
22 | public class DelimitedEncoder: Encoder {
:
28 | private var data = Data()
29 |
30 | private static let isoDateFormatter = ISO8601DateFormatter()
| |- 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 = ",",
/host/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])
/host/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"
/host/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 {
/host/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])
/host/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"
/host/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])
/host/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 |
/host/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
/host/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"
/host/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)
/host/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"
/host/spi-builder-workspace/Sources/Helpers/TxnIDGenerator.swift:20:13: warning: let 'txnDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Foundation
19 |
20 | private let txnDateFormatter: DateFormatter = {
| `- warning: let 'txnDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
21 | let df = DateFormatter()
22 | df.dateFormat = "yyyyMMdd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Helpers/TxnIDGenerator.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
16 | // limitations under the License.
17 |
18 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
19 |
20 | private let txnDateFormatter: DateFormatter = {
| |- note: annotate 'txnDateFormatter' 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
21 | let df = DateFormatter()
22 | df.dateFormat = "yyyyMMdd"
[103/104] Compiling FINporter FINprospector.swift
/host/spi-builder-workspace/Sources/Core/FINprospector.swift:54:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | }
53 | } catch let CSVParseError.generic(message) {
54 | fputs("[FINprospector.prospect] CSV generic \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | } catch let CSVParseError.quotation(message) {
56 | fputs("[FINprospector.prospect] CSV quotation \(message)", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Core/FINprospector.swift:56:76: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | fputs("[FINprospector.prospect] CSV generic \(message)", stderr)
55 | } catch let CSVParseError.quotation(message) {
56 | fputs("[FINprospector.prospect] CSV quotation \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[104/104] Compiling FINporter DetectHandler.swift
/host/spi-builder-workspace/Sources/Core/FINprospector.swift:54:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | }
53 | } catch let CSVParseError.generic(message) {
54 | fputs("[FINprospector.prospect] CSV generic \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | } catch let CSVParseError.quotation(message) {
56 | fputs("[FINprospector.prospect] CSV quotation \(message)", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Core/FINprospector.swift:56:76: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | fputs("[FINprospector.prospect] CSV generic \(message)", stderr)
55 | } catch let CSVParseError.quotation(message) {
56 | fputs("[FINprospector.prospect] CSV quotation \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
Build complete! (21.34s)
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.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftcsv/SwiftCSV.git"
}
],
"manifest_display_name" : "FINporter",
"name" : "FINporter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"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.7"
}
Done.