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 Parsimonious, reference master (f2de5b), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 20:29:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Prosumma/Parsimonious.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Prosumma/Parsimonious
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f2de5bc Better use of zip and reduce
Cloned https://github.com/Prosumma/Parsimonious.git
Revision (git rev-parse @):
f2de5bcee2728ba8613aabd00cc171e66ade5019
SUCCESS checkout https://github.com/Prosumma/Parsimonious.git at master
Fetching https://github.com/Prosumma/Iatheto
[1/637] Fetching iatheto
Fetched https://github.com/Prosumma/Iatheto from cache (0.79s)
Computing version for https://github.com/Prosumma/Iatheto
Computed https://github.com/Prosumma/Iatheto at 3.0.4 (0.70s)
Creating working copy for https://github.com/Prosumma/Iatheto
Working copy of https://github.com/Prosumma/Iatheto resolved at 3.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "parsimonious",
      "name": "Parsimonious",
      "url": "https://github.com/Prosumma/Parsimonious.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Parsimonious",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Prosumma/Parsimonious.git
[1/946] Fetching parsimonious
Fetched https://github.com/Prosumma/Parsimonious.git from cache (0.86s)
Creating working copy for https://github.com/Prosumma/Parsimonious.git
Working copy of https://github.com/Prosumma/Parsimonious.git resolved at master (f2de5bc)
warning: '.resolve-product-dependencies': dependency 'parsimonious' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Prosumma/Parsimonious.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/14] Compiling Parsimonious Parser.swift
[4/15] Compiling Parsimonious ParseResult.swift
[5/15] Compiling Parsimonious ParseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsimonious/ParseError.swift:14:14: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParseError' has non-sendable type 'Source.Index'; this is an error in the Swift 6 language mode
12 |
13 |   public let reason: Reason
14 |   public let index: Source.Index
   |              `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParseError' has non-sendable type 'Source.Index'; this is an error in the Swift 6 language mode
15 |
16 |   public init(reason: Reason, index: Source.Index) {
[6/15] Compiling Parsimonious Tuple.swift
[7/15] Compiling Parsimonious Chain.swift
[8/15] Compiling Parsimonious Match.swift
[9/15] Emitting module Parsimonious
/Users/admin/builder/spi-builder-workspace/Sources/Parsimonious/ParseError.swift:14:14: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParseError' has non-sendable type 'Source.Index'; this is an error in the Swift 6 language mode
12 |
13 |   public let reason: Reason
14 |   public let index: Source.Index
   |              `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParseError' has non-sendable type 'Source.Index'; this is an error in the Swift 6 language mode
15 |
16 |   public init(reason: Reason, index: Source.Index) {
[10/15] Compiling Parsimonious String.swift
[11/15] Compiling Parsimonious Predicates.swift
[12/15] Compiling Parsimonious Optional.swift
[13/15] Compiling Parsimonious Misc.swift
[14/15] Compiling Parsimonious OperatorDeclarations.swift
[15/15] Compiling Parsimonious ParseState.swift
Build complete! (12.00s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "iatheto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Prosumma/Iatheto"
    }
  ],
  "manifest_display_name" : "Parsimonious",
  "name" : "Parsimonious",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Parsimonious",
      "targets" : [
        "Parsimonious"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ParsimoniousTests",
      "module_type" : "SwiftTarget",
      "name" : "ParsimoniousTests",
      "path" : "Tests/ParsimoniousTests",
      "product_dependencies" : [
        "Iatheto"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ParsimoniousTests/JSON.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CombinatorTests.swift",
        "JSONTests.swift",
        "ParseErrorTests.swift",
        "ParseStateTests.swift",
        "ParserTests.swift",
        "StringTests.swift"
      ],
      "target_dependencies" : [
        "Parsimonious"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Parsimonious",
      "module_type" : "SwiftTarget",
      "name" : "Parsimonious",
      "path" : "Sources/Parsimonious",
      "product_memberships" : [
        "Parsimonious"
      ],
      "sources" : [
        "Chain.swift",
        "Match.swift",
        "Misc.swift",
        "OperatorDeclarations.swift",
        "Optional.swift",
        "ParseError.swift",
        "ParseResult.swift",
        "ParseState.swift",
        "Parser.swift",
        "Predicates.swift",
        "String.swift",
        "Tuple.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.