Build Information
Successful build of CodableCSV with Swift 6.0 for Linux.
Swift 6 data race errors: 3
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/dehesa/CodableCSV.git
Reference: master
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/dehesa/CodableCSV
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 99ace2c CI tests on DEBUG
Cloned https://github.com/dehesa/CodableCSV.git
Revision (git rev-parse @):
99ace2cfdfbc19108b529c021005fb57a460e715
SUCCESS checkout https://github.com/dehesa/CodableCSV.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/dehesa/CodableCSV.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/39] Emitting module CodableCSV
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[4/44] Compiling CodableCSV ShadowDecoder.swift
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
[5/44] Compiling CodableCSV Source.swift
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
[6/44] Compiling CodableCSV SourceBuffer.swift
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
[7/44] Compiling CodableCSV Encoder.swift
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
[8/44] Compiling CodableCSV EncoderConfiguration.swift
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:38:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | /// - parameter type: The Swift type for a data blob.
37 | /// - returns: `Data` blob with the CSV representation of `value`.
38 | open func encode<T:Encodable>(_ value: T, into type: Data.Type) throws -> Data {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
40 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:51:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
49 | /// - parameter type: The Swift type for a string.
50 | /// - returns: `String` with the CSV representation of `value`.
51 | open func encode<T:Encodable>(_ value: T, into type: String.Type) throws -> String {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 | let data = try self.encode(value, into: Data.self)
53 | let encoding = self._configuration.writerConfiguration.encoding ?? .utf8
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:61:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
59 | /// - parameter fileURL: The file receiving the encoded values.
60 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
61 | open func encode<T:Encodable>(_ value: T, into fileURL: URL, append: Bool = false) throws {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
62 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
63 | try withExtendedLifetime(try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:74:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
72 | /// - parameter type: The Swift type for a data blob.
73 | /// - returns: Instance used for _on demand_ encoding.
74 | open func lazy(into type: Data.Type) throws -> Lazy<Data> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
75 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
76 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:83:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | /// - parameter type: The Swift type for a data blob.
82 | /// - returns: Instance used for _on demand_ encoding.
83 | open func lazy(into type: String.Type) throws -> Lazy<String> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
84 | let writer = try CSVWriter(configuration: self._configuration.writerConfiguration)
85 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/encodable/Encoder.swift:93:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
91 | /// - parameter append: In case an existing file is under the given URL, this Boolean indicates that the information will be appended to the file (`true`), or the file will be overwritten (`false`).
92 | /// - returns: Instance used for _on demand_ encoding.
93 | open func lazy(into fileURL: URL, append: Bool = false) throws -> Lazy<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
94 | let writer = try CSVWriter(fileURL: fileURL, append: append, configuration: self._configuration.writerConfiguration)
95 | let sink = try ShadowEncoder.Sink(writer: writer, configuration: self._configuration, userInfo: self.userInfo)
[9/44] Compiling CodableCSV Delimiter.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[10/44] Compiling CodableCSV Error.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[11/44] Compiling CodableCSV Strategy.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[12/44] Compiling CodableCSV Utils.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[13/44] Compiling CodableCSV CodingKey.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[14/44] Compiling CodableCSV Decoder.swift
/host/spi-builder-workspace/sources/Error.swift:6:14: warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
4 | public final class CSVError<F>: LocalizedError, CustomNSError, CustomDebugStringConvertible where F:Failable {
5 | /// The type of error being raised.
6 | public let type: F.Failure
| `- warning: stored property 'type' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type 'F.Failure'; this is an error in the Swift 6 language mode
7 | /// A localized message describing the reason for the failure.
8 | public let failureReason: String?
/host/spi-builder-workspace/sources/Error.swift:14:14: warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 | public let helpAnchor: String?
13 | /// Any further context given needed information to debug the error.
14 | public let errorUserInfo: [String:Any]
| `- warning: stored property 'errorUserInfo' of 'Sendable'-conforming generic class 'CSVError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
15 | /// Any underlying error that cascade into this error.
16 | public let underlyingError: Swift.Error?
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:37:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 | /// - parameter type: The type of the value to decode from the supplied file.
36 | /// - parameter data: The data blob representing a CSV file.
37 | open func decode<T:Decodable>(_ type: T.Type, from data: Data) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
39 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:47:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
45 | /// - parameter type: The type of the value to decode from the supplied file.
46 | /// - parameter string: A Swift string representing a CSV file.
47 | open func decode<T:Decodable>(_ type: T.Type, from string: String) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
49 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:57:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 | /// - parameter type: The type of the value to decode from the supplied file.
56 | /// - parameter url: The URL pointing to the file to decode.
57 | open func decode<T:Decodable>(_ type: T.Type, from url: URL) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
58 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
59 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:67:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
65 | /// - parameter type: The type of the value to decode from the supplied file.
66 | /// - parameter stream: The input stream providing the raw bytes.
67 | open func decode<T:Decodable>(_ type: T.Type, from stream: InputStream) throws -> T {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
68 | let reader = try CSVReader(input: stream, configuration: self._configuration.readerConfiguration)
69 | return try withExtendedLifetime(ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)) {
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:79:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
77 | /// - parameter data: The data blob representing a CSV file.
78 | /// - throws: `CSVError<CSVReader>` exclusively.
79 | open func lazy(from data: Data) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
80 | let reader = try CSVReader(input: data, configuration: self._configuration.readerConfiguration)
81 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:88:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
86 | /// - parameter string: A Swift string representing a CSV file.
87 | /// - throws: `CSVError<CSVReader>` exclusively.
88 | open func lazy(from string: String) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
89 | let reader = try CSVReader(input: string, configuration: self._configuration.readerConfiguration)
90 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
/host/spi-builder-workspace/sources/declarative/decodable/Decoder.swift:97:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
95 | /// - parameter url: The URL pointing to the file to decode.
96 | /// - throws: `CSVError<CSVReader>` exclusively.
97 | open func lazy(from url: URL) throws -> Lazy {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
98 | let reader = try CSVReader(input: url, configuration: self._configuration.readerConfiguration)
99 | let source = ShadowDecoder.Source(reader: reader, configuration: self._configuration, userInfo: self.userInfo)
[15/44] Compiling CodableCSV WriterConfiguration.swift
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[16/44] Compiling CodableCSV WriterEncoder.swift
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[17/44] Compiling CodableCSV WriterEncoding.swift
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[18/44] Compiling CodableCSV WriterInference.swift
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[19/44] Compiling CodableCSV WriterInternals.swift
/host/spi-builder-workspace/sources/imperative/writer/WriterConfiguration.swift:7:33: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
5 | ///
6 | /// If no encoding is provided, UTF8 is presumed unless the CSV writer points to a file, in which case that file encoding will be used.
7 | public var encoding: String.Encoding?
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
8 | /// Indicates whether a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) will be included at the beginning of the CSV representation.
9 | ///
Foundation.String:2:19: note: type declared here
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: type declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
[20/44] Compiling CodableCSV EncoderLazy.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[21/44] Compiling CodableCSV InvalidEncodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[22/44] Compiling CodableCSV KeyedEncodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[23/44] Compiling CodableCSV SingleValueEncodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[24/44] Compiling CodableCSV UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[25/44] Compiling CodableCSV ShadowEncoder.swift
[26/44] Compiling CodableCSV Sink.swift
[27/44] Compiling CodableCSV SinkBuffer.swift
[28/44] Compiling CodableCSV BOM.swift
[29/44] Compiling CodableCSV Reader.swift
[30/44] Compiling CodableCSV DecoderConfiguration.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[31/44] Compiling CodableCSV DecoderLazy.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[32/44] Compiling CodableCSV KeyedDecodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[33/44] Compiling CodableCSV SingleValueDecodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[34/44] Compiling CodableCSV UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/sources/Utils.swift:39:14: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| `- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
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/Utils.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension InputStream {
:
37 | extension DateFormatter {
38 | /// `DateFormatter` for ISO 8610 date formats.
39 | static let iso8601: DateFormatter = {
| |- note: annotate 'iso8601' 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
40 | let formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
[35/44] Compiling CodableCSV ReaderEncodings.swift
[36/44] Compiling CodableCSV ReaderInference.swift
[37/44] Compiling CodableCSV ReaderInternals.swift
[38/44] Compiling CodableCSV Writer.swift
[39/44] Compiling CodableCSV WriterAPI.swift
[40/44] Compiling CodableCSV ReaderAPI.swift
[41/44] Compiling CodableCSV ReaderCollections.swift
[42/44] Compiling CodableCSV ReaderConfiguration.swift
[43/44] Compiling CodableCSV ReaderBuffer.swift
[44/44] Compiling CodableCSV ReaderDecoder.swift
Build complete! (17.46s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodableCSV",
"name" : "CodableCSV",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "CodableCSV",
"targets" : [
"CodableCSV"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodableCSVTests",
"module_type" : "SwiftTarget",
"name" : "CodableCSVTests",
"path" : "tests",
"sources" : [
"declarative/CodableFloatingPointTests.swift",
"declarative/CodableNumericBoolTests.swift",
"declarative/DecodingBadInputTests.swift",
"declarative/DecodingRegularUsageTests.swift",
"declarative/DecodingSinglesTests.swift",
"declarative/DecodingWrappersTests.swift",
"declarative/EncodingLazyTests.swift",
"declarative/EncodingOptionalsTests.swift",
"declarative/EncodingRegularUsageTests.swift",
"imperative/ReaderBadInputTests.swift",
"imperative/ReaderCollectionsTests.swift",
"imperative/ReaderTests.swift",
"imperative/WriterTests.swift"
],
"target_dependencies" : [
"CodableCSV"
],
"type" : "test"
},
{
"c99name" : "CodableCSVBenchmarks",
"module_type" : "SwiftTarget",
"name" : "CodableCSVBenchmarks",
"path" : "benchmarks",
"sources" : [
"PerformanceTests.swift"
],
"target_dependencies" : [
"CodableCSV"
],
"type" : "test"
},
{
"c99name" : "CodableCSV",
"module_type" : "SwiftTarget",
"name" : "CodableCSV",
"path" : "sources",
"product_memberships" : [
"CodableCSV"
],
"sources" : [
"Delimiter.swift",
"Error.swift",
"Strategy.swift",
"Utils.swift",
"declarative/CodingKey.swift",
"declarative/decodable/Decoder.swift",
"declarative/decodable/DecoderConfiguration.swift",
"declarative/decodable/DecoderLazy.swift",
"declarative/decodable/containers/KeyedDecodingContainer.swift",
"declarative/decodable/containers/SingleValueDecodingContainer.swift",
"declarative/decodable/containers/UnkeyedDecodingContainer.swift",
"declarative/decodable/internal/ShadowDecoder.swift",
"declarative/decodable/internal/Source.swift",
"declarative/decodable/internal/SourceBuffer.swift",
"declarative/encodable/Encoder.swift",
"declarative/encodable/EncoderConfiguration.swift",
"declarative/encodable/EncoderLazy.swift",
"declarative/encodable/containers/InvalidEncodingContainer.swift",
"declarative/encodable/containers/KeyedEncodingContainer.swift",
"declarative/encodable/containers/SingleValueEncodingContainer.swift",
"declarative/encodable/containers/UnkeyedEncodingContainer.swift",
"declarative/encodable/internal/ShadowEncoder.swift",
"declarative/encodable/internal/Sink.swift",
"declarative/encodable/internal/SinkBuffer.swift",
"imperative/BOM.swift",
"imperative/reader/Reader.swift",
"imperative/reader/ReaderAPI.swift",
"imperative/reader/ReaderCollections.swift",
"imperative/reader/ReaderConfiguration.swift",
"imperative/reader/internal/ReaderBuffer.swift",
"imperative/reader/internal/ReaderDecoder.swift",
"imperative/reader/internal/ReaderEncodings.swift",
"imperative/reader/internal/ReaderInference.swift",
"imperative/reader/internal/ReaderInternals.swift",
"imperative/writer/Writer.swift",
"imperative/writer/WriterAPI.swift",
"imperative/writer/WriterConfiguration.swift",
"imperative/writer/internal/WriterEncoder.swift",
"imperative/writer/internal/WriterEncoding.swift",
"imperative/writer/internal/WriterInference.swift",
"imperative/writer/internal/WriterInternals.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.