The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftCSV, reference master (c8993f), with Swift 6.1 for macOS (SPM) on 22 Oct 2025 07:42:46 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftcsv/SwiftCSV.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftcsv/SwiftCSV
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c8993f6 Fix README.md typo (#143)
Cloned https://github.com/swiftcsv/SwiftCSV.git
Revision (git rev-parse @):
c8993f63c69603a6cb75b842881aac83d5b655a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftcsv/SwiftCSV.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftcsv/SwiftCSV.git
https://github.com/swiftcsv/SwiftCSV.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCSV",
  "name" : "SwiftCSV",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling SwiftCSV CSVDelimiter.swift
[5/13] Compiling SwiftCSV EnumeratedCSVView.swift
[6/13] Compiling SwiftCSV NamedCSVView.swift
[7/14] Compiling SwiftCSV String+Lines.swift
[8/14] Compiling SwiftCSV Serializer.swift
[9/14] Compiling SwiftCSV CSV.swift
[10/14] Emitting module SwiftCSV
/Users/admin/builder/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`.
/Users/admin/builder/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+DelimiterGuessing.swift
/Users/admin/builder/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`.
/Users/admin/builder/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 ParsingState.swift
[13/14] Compiling SwiftCSV Parser.swift
[14/14] Compiling SwiftCSV resource_bundle_accessor.swift
Build complete! (4.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCSV",
  "name" : "SwiftCSV",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Done.