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 dealer, reference main (cff68f), with Swift 6.1 for macOS (SPM) on 5 Jun 2025 06:48:28 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/example-package-dealer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/example-package-dealer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cff68f0 Merge pull request #17 from swiftlang/parispittman-patch-2
Cloned https://github.com/swiftlang/example-package-dealer.git
Revision (git rev-parse @):
cff68f00612c31e28d244196a1124b6442c9e8ee
SUCCESS checkout https://github.com/swiftlang/example-package-dealer.git at main
Fetching https://github.com/apple/example-package-deckofplayingcards.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/235] Fetching example-package-deckofplayingcards
Fetched https://github.com/apple/example-package-deckofplayingcards.git from cache (0.72s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.24s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (4.35s)
Computing version for https://github.com/apple/example-package-deckofplayingcards.git
Computed https://github.com/apple/example-package-deckofplayingcards.git at 3.0.5 (0.46s)
Fetching https://github.com/apple/example-package-playingcard.git
[1/227] Fetching example-package-playingcard
Fetched https://github.com/apple/example-package-playingcard.git from cache (0.66s)
Computing version for https://github.com/apple/example-package-playingcard.git
Computed https://github.com/apple/example-package-playingcard.git at 3.0.5 (3.22s)
Creating working copy for https://github.com/apple/example-package-playingcard.git
Working copy of https://github.com/apple/example-package-playingcard.git resolved at 3.0.5
Creating working copy for https://github.com/apple/example-package-deckofplayingcards.git
Working copy of https://github.com/apple/example-package-deckofplayingcards.git resolved at 3.0.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
========================================
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": "example-package-dealer",
      "name": "dealer",
      "url": "https://github.com/swiftlang/example-package-dealer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/example-package-dealer",
      "dependencies": [
        {
          "identity": "example-package-deckofplayingcards",
          "name": "DeckOfPlayingCards",
          "url": "https://github.com/apple/example-package-deckofplayingcards.git",
          "version": "3.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/example-package-deckofplayingcards",
          "dependencies": [
            {
              "identity": "example-package-playingcard",
              "name": "PlayingCard",
              "url": "https://github.com/apple/example-package-playingcard.git",
              "version": "3.0.5",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/example-package-playingcard",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swiftlang/example-package-dealer.git
[1/203] Fetching example-package-dealer
Fetched https://github.com/swiftlang/example-package-dealer.git from cache (0.76s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/example-package-deckofplayingcards.git from cache
Fetched https://github.com/apple/example-package-deckofplayingcards.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (0.64s)
Computing version for https://github.com/apple/example-package-deckofplayingcards.git
Computed https://github.com/apple/example-package-deckofplayingcards.git at 3.0.5 (0.03s)
Fetching https://github.com/apple/example-package-playingcard.git from cache
Fetched https://github.com/apple/example-package-playingcard.git from cache (0.45s)
Computing version for https://github.com/apple/example-package-playingcard.git
Computed https://github.com/apple/example-package-playingcard.git at 3.0.5 (0.50s)
Creating working copy for https://github.com/swiftlang/example-package-dealer.git
Working copy of https://github.com/swiftlang/example-package-dealer.git resolved at main (cff68f0)
Creating working copy for https://github.com/apple/example-package-deckofplayingcards.git
Working copy of https://github.com/apple/example-package-deckofplayingcards.git resolved at 3.0.5
Creating working copy for https://github.com/apple/example-package-playingcard.git
Working copy of https://github.com/apple/example-package-playingcard.git resolved at 3.0.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Found 2 product dependencies
  - DeckOfPlayingCards
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/example-package-dealer.git
https://github.com/swiftlang/example-package-dealer.git
{
  "dependencies" : [
    {
      "identity" : "example-package-deckofplayingcards",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/example-package-deckofplayingcards.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "dealer",
  "name" : "dealer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "dealer",
      "targets" : [
        "dealer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "dealer",
      "module_type" : "SwiftTarget",
      "name" : "dealer",
      "path" : "Sources/dealer",
      "product_dependencies" : [
        "DeckOfPlayingCards",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "dealer"
      ],
      "sources" : [
        "Deal.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DealerTests",
      "module_type" : "SwiftTarget",
      "name" : "DealerTests",
      "path" : "Tests/DealerTests",
      "sources" : [
        "DealerTests.swift"
      ],
      "target_dependencies" : [
        "dealer"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.10"
}
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/10] Write sources
[4/10] Write dealer-entitlement.plist
[5/10] Write sources
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/16] Compiling PlayingCard Suit.swift
[9/16] Compiling PlayingCard Rank.swift
[10/16] Emitting module PlayingCard
[11/16] Compiling PlayingCard PlayingCard.swift
[12/16] Emitting module ArgumentParserToolInfo
[13/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/18] Emitting module DeckOfPlayingCards
[15/18] Compiling DeckOfPlayingCards Deck.swift
[16/53] Emitting module ArgumentParser
[17/56] Compiling ArgumentParser SequenceExtensions.swift
[18/56] Compiling ArgumentParser StringExtensions.swift
[19/56] Compiling ArgumentParser Tree.swift
[20/56] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/56] Compiling ArgumentParser CompletionsGenerator.swift
[22/56] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/56] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/56] Compiling ArgumentParser Argument.swift
[25/56] Compiling ArgumentParser ArgumentHelp.swift
[26/56] Compiling ArgumentParser CompletionKind.swift
[27/56] Compiling ArgumentParser Errors.swift
[28/56] Compiling ArgumentParser Flag.swift
[29/56] Compiling ArgumentParser NameSpecification.swift
[30/56] Compiling ArgumentParser Option.swift
[31/56] Compiling ArgumentParser OptionGroup.swift
[32/56] Compiling ArgumentParser ArgumentSet.swift
[33/56] Compiling ArgumentParser CommandParser.swift
[34/56] Compiling ArgumentParser InputOrigin.swift
[35/56] Compiling ArgumentParser Name.swift
[36/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/56] Compiling ArgumentParser ParsableCommand.swift
[38/56] Compiling ArgumentParser ArgumentDecoder.swift
[39/56] Compiling ArgumentParser ArgumentDefinition.swift
[40/56] Compiling ArgumentParser CommandConfiguration.swift
[41/56] Compiling ArgumentParser EnumerableFlag.swift
[42/56] Compiling ArgumentParser ExpressibleByArgument.swift
[43/56] Compiling ArgumentParser ParsableArguments.swift
[44/56] Compiling ArgumentParser Parsed.swift
[45/56] Compiling ArgumentParser ParsedValues.swift
[46/56] Compiling ArgumentParser ParserError.swift
[47/56] Compiling ArgumentParser SplitArguments.swift
[48/56] Compiling ArgumentParser MessageInfo.swift
[49/56] Compiling ArgumentParser UsageGenerator.swift
[50/56] Compiling ArgumentParser CollectionExtensions.swift
[51/56] Compiling ArgumentParser DumpHelpGenerator.swift
[52/56] Compiling ArgumentParser HelpCommand.swift
[53/56] Compiling ArgumentParser HelpGenerator.swift
[54/58] Compiling dealer Deal.swift
/Users/admin/builder/spi-builder-workspace/Sources/dealer/Deal.swift:33:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     }
32 |
33 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |             abstract: "Shuffles a deck of playing cards and deals a number of cards.",
35 |             discussion: """
[55/58] Emitting module dealer
/Users/admin/builder/spi-builder-workspace/Sources/dealer/Deal.swift:33:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     }
32 |
33 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |             abstract: "Shuffles a deck of playing cards and deals a number of cards.",
35 |             discussion: """
[55/58] Write Objects.LinkFileList
[56/58] Linking dealer
[57/58] Applying dealer
Build complete! (8.81s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "example-package-deckofplayingcards",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/example-package-deckofplayingcards.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "dealer",
  "name" : "dealer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "dealer",
      "targets" : [
        "dealer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "dealer",
      "module_type" : "SwiftTarget",
      "name" : "dealer",
      "path" : "Sources/dealer",
      "product_dependencies" : [
        "DeckOfPlayingCards",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "dealer"
      ],
      "sources" : [
        "Deal.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DealerTests",
      "module_type" : "SwiftTarget",
      "name" : "DealerTests",
      "path" : "Tests/DealerTests",
      "sources" : [
        "DealerTests.swift"
      ],
      "target_dependencies" : [
        "dealer"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.10"
}
Done.