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 Linux on 5 Jun 2025 06:42:26 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/example-package-dealer.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/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
========================================
Build
========================================
Selected platform:         linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/example-package-deckofplayingcards.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/235] Fetching example-package-deckofplayingcards
[236/15615] Fetching example-package-deckofplayingcards, swift-argument-parser
Fetched https://github.com/apple/example-package-deckofplayingcards.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (3.44s)
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.51s)
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.22s)
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.60s)
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
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/19] Compiling PlayingCard Suit.swift
[8/19] Emitting module ArgumentParserToolInfo
[9/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/20] Compiling PlayingCard PlayingCard.swift
[11/20] Emitting module PlayingCard
[12/20] Compiling PlayingCard Rank.swift
[14/21] Wrapping AST for ArgumentParserToolInfo for debugging
[15/21] Wrapping AST for PlayingCard for debugging
[17/57] Emitting module DeckOfPlayingCards
[18/57] Compiling DeckOfPlayingCards Deck.swift
[19/58] Wrapping AST for DeckOfPlayingCards for debugging
[21/58] Emitting module ArgumentParser
[22/62] Compiling ArgumentParser CollectionExtensions.swift
[23/62] Compiling ArgumentParser SequenceExtensions.swift
[24/62] Compiling ArgumentParser StringExtensions.swift
[25/62] Compiling ArgumentParser Tree.swift
[26/62] Compiling ArgumentParser ArgumentSet.swift
[27/62] Compiling ArgumentParser CommandParser.swift
[28/62] Compiling ArgumentParser InputOrigin.swift
[29/62] Compiling ArgumentParser Name.swift
[30/62] Compiling ArgumentParser Parsed.swift
[31/62] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/62] Compiling ArgumentParser CompletionsGenerator.swift
[33/62] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/62] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/62] Compiling ArgumentParser Argument.swift
[36/62] Compiling ArgumentParser ParsableArguments.swift
[37/62] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/62] Compiling ArgumentParser ParsableCommand.swift
[39/62] Compiling ArgumentParser ArgumentDecoder.swift
[40/62] Compiling ArgumentParser ArgumentDefinition.swift
[41/62] Compiling ArgumentParser ArgumentHelp.swift
[42/62] Compiling ArgumentParser CompletionKind.swift
[43/62] Compiling ArgumentParser Errors.swift
[44/62] Compiling ArgumentParser Flag.swift
[45/62] Compiling ArgumentParser NameSpecification.swift
[46/62] Compiling ArgumentParser Option.swift
[47/62] Compiling ArgumentParser OptionGroup.swift
[48/62] Compiling ArgumentParser CommandConfiguration.swift
[49/62] Compiling ArgumentParser EnumerableFlag.swift
[50/62] Compiling ArgumentParser ExpressibleByArgument.swift
[51/62] Compiling ArgumentParser ParsedValues.swift
[52/62] Compiling ArgumentParser ParserError.swift
[53/62] Compiling ArgumentParser SplitArguments.swift
[54/62] Compiling ArgumentParser DumpHelpGenerator.swift
[55/62] Compiling ArgumentParser HelpCommand.swift
[56/62] Compiling ArgumentParser HelpGenerator.swift
[57/62] Compiling ArgumentParser MessageInfo.swift
[58/62] Compiling ArgumentParser UsageGenerator.swift
[59/63] Wrapping AST for ArgumentParser for debugging
[61/65] Emitting module dealer
/host/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: """
[62/65] Compiling dealer Deal.swift
/host/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: """
[63/66] Wrapping AST for dealer for debugging
[64/66] Write Objects.LinkFileList
[65/66] Linking dealer
Build complete! (20.34s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.