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 SwiftCSV, reference master (6ab5d0), with Swift 6.1 for Linux on 28 Apr 2025 19:02:51 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/swiftcsv/SwiftCSV.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/swiftcsv/SwiftCSV
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6ab5d0f bump version to 0.10.0
Cloned https://github.com/swiftcsv/SwiftCSV.git
Revision (git rev-parse @):
6ab5d0fe9b6ef3c79d717eefa70862df389e74d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftcsv/SwiftCSV.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftcsv/SwiftCSV.git
https://github.com/swiftcsv/SwiftCSV.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCSV",
  "name" : "SwiftCSV",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCSV",
      "targets" : [
        "SwiftCSV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "SwiftCSVTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSVTests",
      "path" : "SwiftCSVTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSVTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CSVDelimiterGuessingTests.swift",
        "CSVDelimiterTests.swift",
        "EnumeratedCSVViewTests.swift",
        "NamedCSVViewTests.swift",
        "NewlineTests.swift",
        "ParserTests.swift",
        "PerformanceTest.swift",
        "QuotedTests.swift",
        "ResourceHelper.swift",
        "TSVTests.swift",
        "URLTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCSV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCSV",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSV",
      "path" : "SwiftCSV",
      "product_memberships" : [
        "SwiftCSV"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSV/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CSV+DelimiterGuessing.swift",
        "CSV.swift",
        "CSVDelimiter.swift",
        "EnumeratedCSVView.swift",
        "NamedCSVView.swift",
        "Parser.swift",
        "ParsingState.swift",
        "Serializer.swift",
        "String+Lines.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftCSV Parser.swift
[5/14] Compiling SwiftCSV String+Lines.swift
[6/14] Compiling SwiftCSV ParsingState.swift
[7/14] Compiling SwiftCSV Serializer.swift
[8/14] Compiling SwiftCSV resource_bundle_accessor.swift
[9/14] Emitting module SwiftCSV
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recognized' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[10/14] Compiling SwiftCSV CSV+DelimiterGuessing.swift
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recognized' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[11/14] Compiling SwiftCSV CSV.swift
/host/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 |     public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
   |                       |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recognized' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/host/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
   |             `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 |     public typealias UnicodeScalarLiteralType = Character
[12/14] Compiling SwiftCSV NamedCSVView.swift
[13/14] Compiling SwiftCSV CSVDelimiter.swift
[14/14] Compiling SwiftCSV EnumeratedCSVView.swift
Build complete! (5.68s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCSV",
  "name" : "SwiftCSV",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCSV",
      "targets" : [
        "SwiftCSV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "SwiftCSVTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSVTests",
      "path" : "SwiftCSVTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSVTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CSVDelimiterGuessingTests.swift",
        "CSVDelimiterTests.swift",
        "EnumeratedCSVViewTests.swift",
        "NamedCSVViewTests.swift",
        "NewlineTests.swift",
        "ParserTests.swift",
        "PerformanceTest.swift",
        "QuotedTests.swift",
        "ResourceHelper.swift",
        "TSVTests.swift",
        "URLTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCSV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCSV",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCSV",
      "path" : "SwiftCSV",
      "product_memberships" : [
        "SwiftCSV"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftCSV/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CSV+DelimiterGuessing.swift",
        "CSV.swift",
        "CSVDelimiter.swift",
        "EnumeratedCSVView.swift",
        "NamedCSVView.swift",
        "Parser.swift",
        "ParsingState.swift",
        "Serializer.swift",
        "String+Lines.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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.