The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CSVImporter, reference main (193aa0), with Swift 6.1 for Linux on 26 Apr 2025 22:31:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/CSVImporter.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/FlineDev/CSVImporter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 193aa03 Update code style
Cloned https://github.com/FlineDev/CSVImporter.git
Revision (git rev-parse @):
193aa03649f7fcdd1a2d9ed968885ef145e4ac18
SUCCESS checkout https://github.com/FlineDev/CSVImporter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FlineDev/CSVImporter.git
https://github.com/FlineDev/CSVImporter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "handyswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flinesoft/HandySwift.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "CSVImporter",
  "name" : "CSVImporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CSVImporter",
      "targets" : [
        "CSVImporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVImporterTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVImporterTests",
      "path" : "Tests/CSVImporterTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CSVImporterSpec.swift"
      ],
      "target_dependencies" : [
        "CSVImporter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSVImporter",
      "module_type" : "SwiftTarget",
      "name" : "CSVImporter",
      "path" : "Frameworks/CSVImporter",
      "product_dependencies" : [
        "HandySwift"
      ],
      "product_memberships" : [
        "CSVImporter"
      ],
      "sources" : [
        "CSVImporter.swift",
        "FileSource.swift",
        "Globals.swift",
        "Source.swift",
        "StringSource.swift",
        "TextFile.swift",
        "TextFileStreamReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Flinesoft/HandySwift.git
[1/3368] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.42s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[11953/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.66s)
Fetched https://github.com/Quick/Nimble.git from cache (1.72s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (4.18s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.60s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at main (f45bf51)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/33] Compiling HandySwift DurationExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/33] Compiling HandySwift FloatExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/33] Compiling HandySwift IntExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/33] Compiling HandySwift JSONDecoderExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/37] Compiling HandySwift ArrayExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/37] Compiling HandySwift CaseIterableExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/37] Compiling HandySwift CollectionExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/37] Compiling HandySwift ComparableExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/37] Compiling HandySwift DataExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/37] Compiling HandySwift JSONEncoderExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/37] Compiling HandySwift NSRangeExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/37] Compiling HandySwift RandomAccessCollectionExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/37] Compiling HandySwift SequenceExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/37] Compiling HandySwift Globals.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/37] Compiling HandySwift AutoConforming.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/37] Compiling HandySwift DivisibleArithmetic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/37] Compiling HandySwift Withable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/37] Compiling HandySwift StringExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/37] Compiling HandySwift StringProtocolExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/37] Compiling HandySwift SymmetricKeyExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/37] Compiling HandySwift TimeIntervalExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/37] Compiling HandySwift Debouncer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/37] Compiling HandySwift FrequencyTable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/37] Compiling HandySwift GregorianDay.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/37] Compiling HandySwift GregorianTime.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/37] Emitting module HandySwift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/37] Compiling HandySwift DateExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/37] Compiling HandySwift DictionaryExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/37] Compiling HandySwift DispatchTimeIntervalExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/37] Compiling HandySwift DoubleExt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/37] Compiling HandySwift HandyRegex.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/37] Compiling HandySwift OperatingSystem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/37] Compiling HandySwift RESTClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/37] Compiling HandySwift SortedArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/46] Compiling CSVImporter TextFile.swift
[40/46] Compiling CSVImporter TextFileStreamReader.swift
[41/46] Compiling CSVImporter Source.swift
[42/46] Compiling CSVImporter Globals.swift
[43/46] Compiling CSVImporter StringSource.swift
[44/46] Compiling CSVImporter FileSource.swift
[45/46] Emitting module CSVImporter
[46/46] Compiling CSVImporter CSVImporter.swift
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:147:41: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |              `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
145 |          var importedRecords = [T]()
146 |
147 |          let importedLinesWithSuccess = self.importLines { valuesInLine in
    |                                         `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
148 |             let newRecord = closure(valuesInLine)
149 |             importedRecords.append(newRecord)
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:148:29: warning: capture of 'closure' with non-sendable type '([String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
146 |
147 |          let importedLinesWithSuccess = self.importLines { valuesInLine in
148 |             let newRecord = closure(valuesInLine)
    |                             |- warning: capture of 'closure' with non-sendable type '([String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
149 |             importedRecords.append(newRecord)
150 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:148:29: warning: capture of 'closure' with non-sendable type '([String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
146 |
147 |          let importedLinesWithSuccess = self.importLines { valuesInLine in
148 |             let newRecord = closure(valuesInLine)
    |                             |- warning: capture of 'closure' with non-sendable type '([String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
149 |             importedRecords.append(newRecord)
150 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:151:13: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |              `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
149 |             importedRecords.append(newRecord)
150 |
151 |             self.reportProgressIfNeeded(importedRecords)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
152 |          }
153 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:178:41: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |              `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
176 |          var importedRecords = [T]()
177 |
178 |          let importedLinesWithSuccess = self.importLines { valuesInLine in
    |                                         `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 |             if recordStructure == nil {
180 |                recordStructure = valuesInLine
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:181:16: warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 |             if recordStructure == nil {
180 |                recordStructure = valuesInLine
181 |                structureClosure(valuesInLine)
    |                |- warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |             } else {
183 |                if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:184:35: warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
182 |             } else {
183 |                if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
184 |                   let newRecord = closure(structuredValuesInLine)
    |                                   |- warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
185 |                   importedRecords.append(newRecord)
186 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:181:16: warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
179 |             if recordStructure == nil {
180 |                recordStructure = valuesInLine
181 |                structureClosure(valuesInLine)
    |                |- warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |             } else {
183 |                if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:184:35: warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
182 |             } else {
183 |                if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
184 |                   let newRecord = closure(structuredValuesInLine)
    |                                   |- warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
    |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
185 |                   importedRecords.append(newRecord)
186 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:187:19: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |              `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
185 |                   importedRecords.append(newRecord)
186 |
187 |                   self.reportProgressIfNeeded(importedRecords)
    |                   `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
188 |                } else {
189 |                   print("Warning: Couldn't structurize line.")
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:356:13: warning: capture of 'failClosure' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 |       if let failClosure = self.failClosure {
355 |          callbacksDispatchQueue.async {
356 |             failClosure()
    |             |- warning: capture of 'failClosure' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 |          }
358 |       }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:367:16: warning: capture of 'progressClosure' with non-sendable type '(Int) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
365 |          if let progressClosure = self.progressClosure {
366 |             callbacksDispatchQueue.async {
367 |                progressClosure(importedRecords.count)
    |                |- warning: capture of 'progressClosure' with non-sendable type '(Int) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
368 |             }
369 |          }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:367:32: warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
365 |          if let progressClosure = self.progressClosure {
366 |             callbacksDispatchQueue.async {
367 |                progressClosure(importedRecords.count)
    |                                `- warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
368 |             }
369 |          }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:376:13: warning: capture of 'finishClosure' with non-sendable type '([T]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
374 |       if let finishClosure = self.finishClosure {
375 |          callbacksDispatchQueue.async {
376 |             finishClosure(importedRecords)
    |             |- warning: capture of 'finishClosure' with non-sendable type '([T]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
377 |          }
378 |       }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:376:27: warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 |
 12 | /// Importer for CSV files that maps your lines to a specified data structure.
 13 | public class CSVImporter<T> {
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 14 |    // MARK: - Stored Instance Properties
 15 |    let source: Source
    :
374 |       if let finishClosure = self.finishClosure {
375 |          callbacksDispatchQueue.async {
376 |             finishClosure(importedRecords)
    |                           `- warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
377 |          }
378 |       }
Build complete! (20.19s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "handyswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flinesoft/HandySwift.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "CSVImporter",
  "name" : "CSVImporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CSVImporter",
      "targets" : [
        "CSVImporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVImporterTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVImporterTests",
      "path" : "Tests/CSVImporterTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CSVImporterSpec.swift"
      ],
      "target_dependencies" : [
        "CSVImporter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSVImporter",
      "module_type" : "SwiftTarget",
      "name" : "CSVImporter",
      "path" : "Frameworks/CSVImporter",
      "product_dependencies" : [
        "HandySwift"
      ],
      "product_memberships" : [
        "CSVImporter"
      ],
      "sources" : [
        "CSVImporter.swift",
        "FileSource.swift",
        "Globals.swift",
        "Source.swift",
        "StringSource.swift",
        "TextFile.swift",
        "TextFileStreamReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.