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 Life, reference main (230acd), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:45:30 UTC.

Swift 6 data race errors: 0

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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zntfdr/Life.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zntfdr/Life
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 230acd2 Merge pull request #3 from zntfdr/swift-5.5-migration
Cloned https://github.com/zntfdr/Life.git
Revision (git rev-parse @):
230acd22b5441ed10eee376dd6d4da4b9c9978ed
SUCCESS checkout https://github.com/zntfdr/Life.git at main
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.82s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.4 (1.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.2 (0.65s)
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 1.0.2
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.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": "life",
      "name": "Life",
      "url": "https://github.com/zntfdr/Life.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Life",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-tools-support-core",
          "name": "swift-tools-support-core",
          "url": "https://github.com/apple/swift-tools-support-core.git",
          "version": "0.2.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
          "dependencies": [
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/zntfdr/Life.git
[1/93] Fetching life
Fetched https://github.com/zntfdr/Life.git from cache (0.99s)
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.76s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.83s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.7 (0.62s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.22s)
Creating working copy for https://github.com/zntfdr/Life.git
Working copy of https://github.com/zntfdr/Life.git resolved at main (230acd2)
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 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.7
Found 2 product dependencies
  - swift-argument-parser
  - swift-tools-support-core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zntfdr/Life.git
https://github.com/zntfdr/Life.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.4",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    }
  ],
  "manifest_display_name" : "Life",
  "name" : "Life",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Life",
      "targets" : [
        "Life"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "life-cli",
      "targets" : [
        "lifeCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "lifeCLI",
      "module_type" : "SwiftTarget",
      "name" : "lifeCLI",
      "path" : "Sources/lifeCLI",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "life-cli"
      ],
      "sources" : [
        "Command.swift",
        "Life.swift",
        "Mode.swift"
      ],
      "target_dependencies" : [
        "Life"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LifeTests",
      "module_type" : "SwiftTarget",
      "name" : "LifeTests",
      "path" : "Tests/LifeTests",
      "sources" : [
        "CellTests.swift",
        "WorldAddTests.swift",
        "WorldContainsTests.swift",
        "WorldGenerationTests.swift",
        "WorldInitializationTests.swift",
        "WorldIsAliveTests.swift",
        "WorldNeighborsTests.swift",
        "WorldOscillatorPatternTests.swift",
        "WorldRemoveTests.swift",
        "WorldResetTests.swift",
        "WorldStillPatternTests.swift"
      ],
      "target_dependencies" : [
        "Life"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Life",
      "module_type" : "SwiftTarget",
      "name" : "Life",
      "path" : "Sources/Life",
      "product_memberships" : [
        "Life",
        "life-cli"
      ],
      "sources" : [
        "Cell.swift",
        "Mode.swift",
        "World.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/14] Write sources
[1/14] Write life-cli-entitlement.plist
[1/14] Write sources
[8/14] Compiling TSCclibc process.c
[9/14] Compiling TSCclibc libc.c
[10/14] Write swift-version-2F0A5646E1D333AE.txt
[12/22] Compiling Life Mode.swift
[13/22] Compiling Life World.swift
[14/22] Compiling Life Cell.swift
[15/22] Emitting module Life
[16/22] Emitting module ArgumentParserToolInfo
[17/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/57] Emitting module TSCLibc
[19/57] Compiling TSCLibc libc.swift
[20/98] Compiling TSCBasic Await.swift
[21/98] Compiling TSCBasic Base64URL.swift
[22/98] Compiling TSCBasic ByteString.swift
[23/98] Compiling TSCBasic CStringArray.swift
[24/101] Emitting module ArgumentParser
[25/101] Compiling TSCBasic CacheableSequence.swift
[26/101] Compiling TSCBasic DeltaAlgorithm.swift
[27/101] Compiling TSCBasic DiagnosticsEngine.swift
[28/101] Compiling TSCBasic DictionaryExtensions.swift
[29/101] Emitting module TSCBasic
[30/105] Compiling TSCBasic Closable.swift
[31/105] Compiling TSCBasic CodableResult.swift
[32/105] Compiling TSCBasic CollectionAlgorithms.swift
[33/105] Compiling TSCBasic CollectionExtensions.swift
[34/105] Compiling ArgumentParser SequenceExtensions.swift
[35/105] Compiling ArgumentParser StringExtensions.swift
[36/105] Compiling ArgumentParser Tree.swift
[37/105] Compiling TSCBasic TemporaryFile.swift
[38/105] Compiling TSCBasic TerminalController.swift
[39/105] Compiling TSCBasic JSONMapper.swift
[40/105] Compiling TSCBasic KeyedPair.swift
[41/105] Compiling TSCBasic DictionaryLiteralExtensions.swift
[42/105] Compiling TSCBasic EditDistance.swift
[43/105] Compiling TSCBasic StringConversions.swift
[44/105] Compiling TSCBasic SynchronizedQueue.swift
[45/105] Compiling TSCBasic Condition.swift
[46/105] Compiling TSCBasic OSLog.swift
[47/105] Compiling TSCBasic ObjectIdentifierProtocol.swift
[48/105] Compiling TSCBasic OrderedDictionary.swift
[49/105] Compiling TSCBasic OrderedSet.swift
[50/105] Compiling TSCBasic FileInfo.swift
[51/105] Compiling TSCBasic FileSystem.swift
[52/105] Compiling TSCBasic GraphAlgorithms.swift
[68/105] Compiling TSCBasic RegEx.swift
[69/105] Compiling TSCBasic Result.swift
[70/105] Compiling TSCBasic SortedArray.swift
[71/105] Compiling TSCBasic LazyCache.swift
[72/105] Compiling TSCBasic Lock.swift
[73/105] Compiling TSCBasic Path.swift
[74/105] Compiling TSCBasic PathShims.swift
[75/105] Compiling TSCBasic Process.swift
[76/105] Compiling TSCBasic ProcessEnv.swift
[85/105] Compiling TSCBasic Thread.swift
[86/105] Compiling TSCBasic Tuple.swift
[87/105] Compiling TSCBasic WritableByteStream.swift
[88/105] Compiling TSCBasic misc.swift
[103/142] Emitting module TSCUtility
[104/146] Compiling TSCUtility FSWatch.swift
[105/146] Compiling TSCUtility FloatingPointExtensions.swift
[106/146] Compiling TSCUtility Git.swift
[107/146] Compiling TSCUtility Hex.swift
[108/146] Compiling TSCUtility Tracing.swift
[109/146] Compiling TSCUtility Triple.swift
[110/146] Compiling TSCUtility URL.swift
[111/146] Compiling TSCUtility Verbosity.swift
[112/146] Compiling TSCUtility BuildFlags.swift
[113/146] Compiling TSCUtility CollectionExtensions.swift
[114/146] Compiling TSCUtility Context.swift
[115/146] Compiling TSCUtility Diagnostics.swift
[116/146] Compiling TSCUtility OSLog.swift
[117/146] Compiling TSCUtility OrderedZip.swift
[118/146] Compiling TSCUtility PersistenceCache.swift
[119/146] Compiling TSCUtility PkgConfig.swift
[120/146] Compiling TSCUtility Archiver.swift
[121/146] Compiling TSCUtility ArgumentParser.swift
[122/146] Compiling TSCUtility ArgumentParserShellCompletion.swift
[123/146] Compiling TSCUtility Array+Extensions.swift
[124/146] Compiling TSCUtility Version.swift
[125/146] Compiling TSCUtility Versioning.swift
[126/146] Compiling TSCUtility dlopen.swift
[127/146] Compiling TSCUtility misc.swift
[128/146] Compiling TSCUtility SerializedDiagnostics.swift
[129/146] Compiling TSCUtility SimplePersistence.swift
[130/146] Compiling TSCUtility StringExtensions.swift
[131/146] Compiling TSCUtility StringMangling.swift
[132/146] Compiling TSCUtility IndexStore.swift
[133/146] Compiling TSCUtility InterruptHandler.swift
[134/146] Compiling TSCUtility JSONMessageStreamingParser.swift
[135/146] Compiling TSCUtility Netrc.swift
[136/146] Compiling TSCUtility Platform.swift
[137/146] Compiling TSCUtility PolymorphicCodable.swift
[138/146] Compiling TSCUtility ProgressAnimation.swift
[139/146] Compiling TSCUtility SQLite.swift
[140/146] Compiling TSCUtility Bits.swift
[141/146] Compiling TSCUtility Bitstream.swift
[142/146] Compiling TSCUtility BitstreamReader.swift
[143/146] Compiling TSCUtility BitstreamWriter.swift
[144/150] Compiling lifeCLI Mode.swift
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Mode.swift:4:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Life' introduce this conformance in the future
 2 | import Life
 3 |
 4 | extension Mode: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Life' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |   public init?(argument: String) {
 6 |     switch argument {
[145/150] Emitting module lifeCLI
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Mode.swift:4:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Life' introduce this conformance in the future
 2 | import Life
 3 |
 4 | extension Mode: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Life' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |   public init?(argument: String) {
 6 |     switch argument {
[146/150] Compiling lifeCLI Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Command.swift:25:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |     while !world.aliveCells.isEmpty {
24 |       printWorld(world)
25 |       stdoutStream.flush()
   |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |       usleep(generationPeriod)
27 |       world.spawnNextGeneration()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Command.swift:30:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 |       clearWorld()
29 |     }
30 |     stdoutStream.flush()
   |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 |   }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Command.swift:48:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
46 |   func clearWorld() {
47 |     for _ in 0..<rows {
48 |       stdoutStream <<< "\u{001B}[2K\r\u{001B}[1A" // clear entire row & go up one row
   |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 |     }
50 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/lifeCLI/Command.swift:60:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 |         line += world.isCellAlive(cell) ? "█" : " "
59 |       }
60 |       stdoutStream <<< "\(line)\u{001B}[0m\n"
   |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 |     }
62 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
[147/150] Compiling lifeCLI Life.swift
[147/150] Write Objects.LinkFileList
[148/150] Linking life-cli
[149/150] Applying life-cli
Build complete! (8.65s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.4",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    }
  ],
  "manifest_display_name" : "Life",
  "name" : "Life",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Life",
      "targets" : [
        "Life"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "life-cli",
      "targets" : [
        "lifeCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "lifeCLI",
      "module_type" : "SwiftTarget",
      "name" : "lifeCLI",
      "path" : "Sources/lifeCLI",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "life-cli"
      ],
      "sources" : [
        "Command.swift",
        "Life.swift",
        "Mode.swift"
      ],
      "target_dependencies" : [
        "Life"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LifeTests",
      "module_type" : "SwiftTarget",
      "name" : "LifeTests",
      "path" : "Tests/LifeTests",
      "sources" : [
        "CellTests.swift",
        "WorldAddTests.swift",
        "WorldContainsTests.swift",
        "WorldGenerationTests.swift",
        "WorldInitializationTests.swift",
        "WorldIsAliveTests.swift",
        "WorldNeighborsTests.swift",
        "WorldOscillatorPatternTests.swift",
        "WorldRemoveTests.swift",
        "WorldResetTests.swift",
        "WorldStillPatternTests.swift"
      ],
      "target_dependencies" : [
        "Life"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Life",
      "module_type" : "SwiftTarget",
      "name" : "Life",
      "path" : "Sources/Life",
      "product_memberships" : [
        "Life",
        "life-cli"
      ],
      "sources" : [
        "Cell.swift",
        "Mode.swift",
        "World.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.