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 DeckOfPlayingCards, reference 4.0.0 (0ba86c), with Swift 6.0 for Linux on 20 Aug 2025 02:12:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/example-package-deckofplayingcards.git
Reference: 4.0.0
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-deckofplayingcards
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 0ba86cd Update to use Swift6 version of playingcard
Cloned https://github.com/swiftlang/example-package-deckofplayingcards.git
Revision (git rev-parse @):
0ba86cd5f2f5a0b8bd8902b5a17ccfccfd6b4748
SUCCESS checkout https://github.com/swiftlang/example-package-deckofplayingcards.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftlang/example-package-deckofplayingcards.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
660ffc76f83b: Pulling fs layer
be8e04c57ff9: Pulling fs layer
d2a6d85eeb8d: Pulling fs layer
b50bbe30b6ef: Pulling fs layer
7ccd84d0dedf: Pulling fs layer
e7029b8ec849: Pulling fs layer
e1664b216299: Pulling fs layer
a2b2db8f2318: Pulling fs layer
e7029b8ec849: Waiting
e1664b216299: Waiting
b50bbe30b6ef: Waiting
a2b2db8f2318: Waiting
7ccd84d0dedf: Waiting
660ffc76f83b: Verifying Checksum
660ffc76f83b: Download complete
b50bbe30b6ef: Download complete
7ccd84d0dedf: Verifying Checksum
7ccd84d0dedf: Download complete
e7029b8ec849: Verifying Checksum
e7029b8ec849: Download complete
e1664b216299: Verifying Checksum
e1664b216299: Download complete
660ffc76f83b: Pull complete
be8e04c57ff9: Verifying Checksum
be8e04c57ff9: Download complete
a2b2db8f2318: Verifying Checksum
a2b2db8f2318: Download complete
d2a6d85eeb8d: Verifying Checksum
d2a6d85eeb8d: Download complete
be8e04c57ff9: Pull complete
d2a6d85eeb8d: Pull complete
b50bbe30b6ef: Pull complete
7ccd84d0dedf: Pull complete
e7029b8ec849: Pull complete
e1664b216299: Pull complete
a2b2db8f2318: Pull complete
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/example-package-playingcard.git
[1/270] Fetching example-package-playingcard
Fetched https://github.com/apple/example-package-playingcard.git from cache (0.32s)
Computing version for https://github.com/apple/example-package-playingcard.git
Computed https://github.com/apple/example-package-playingcard.git at 4.0.0 (0.78s)
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 4.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling PlayingCard PlayingCard.swift
[5/7] Compiling PlayingCard Suit.swift
[6/7] Emitting module PlayingCard
[7/7] Compiling PlayingCard Rank.swift
[9/10] Emitting module DeckOfPlayingCards
[10/10] Compiling DeckOfPlayingCards Deck.swift
Build complete! (7.07s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "example-package-playingcard",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/example-package-playingcard.git"
    }
  ],
  "manifest_display_name" : "DeckOfPlayingCards",
  "name" : "DeckOfPlayingCards",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "DeckOfPlayingCards",
      "targets" : [
        "DeckOfPlayingCards"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeckOfPlayingCardsTests",
      "module_type" : "SwiftTarget",
      "name" : "DeckOfPlayingCardsTests",
      "path" : "Tests/DeckOfPlayingCardsTests",
      "sources" : [
        "DeckTest.swift"
      ],
      "target_dependencies" : [
        "DeckOfPlayingCards"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeckOfPlayingCards",
      "module_type" : "SwiftTarget",
      "name" : "DeckOfPlayingCards",
      "path" : "Sources/DeckOfPlayingCards",
      "product_dependencies" : [
        "PlayingCard"
      ],
      "product_memberships" : [
        "DeckOfPlayingCards"
      ],
      "sources" : [
        "Deck.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.