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 1.0.1 (230acd), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 05:18:32 UTC.

Swift 6 data race errors: 0

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/zntfdr/Life.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zntfdr/Life
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/12353] Fetching swift-argument-parser
[249/18875] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.50s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.50s)
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 (0.75s)
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.67s)
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 (1.07s)
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-tools-support-core.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
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.04s)
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.71s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.63s)
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
Creating working copy for https://github.com/zntfdr/Life.git
Working copy of https://github.com/zntfdr/Life.git resolved at 1.0.1 (230acd2)
Found 2 product dependencies
  - swift-argument-parser
  - swift-tools-support-core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/zntfdr/Life.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/14] Write sources
[0/14] Write life-cli-entitlement.plist
[3/14] Write sources
[8/14] Compiling TSCclibc process.c
[9/14] Compiling TSCclibc libc.c
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/22] Emitting module Life
[13/22] Emitting module ArgumentParserToolInfo
[14/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/22] Compiling Life Cell.swift
[16/22] Compiling Life World.swift
[17/22] Compiling Life Mode.swift
[18/57] Emitting module TSCLibc
[19/57] Compiling TSCLibc libc.swift
[20/98] Compiling TSCBasic CStringArray.swift
[21/98] Compiling TSCBasic CacheableSequence.swift
[22/98] Compiling TSCBasic OSLog.swift
[23/98] Compiling TSCBasic ObjectIdentifierProtocol.swift
[24/101] Compiling TSCBasic DeltaAlgorithm.swift
[25/101] Compiling TSCBasic DiagnosticsEngine.swift
[26/101] Compiling TSCBasic DictionaryExtensions.swift
[27/101] Compiling TSCBasic DictionaryLiteralExtensions.swift
[28/101] Compiling TSCBasic Condition.swift
[29/101] Compiling TSCBasic Await.swift
[30/101] Compiling TSCBasic Base64URL.swift
[31/101] Compiling TSCBasic ByteString.swift
[32/101] Compiling TSCBasic Closable.swift
[33/101] Compiling TSCBasic CodableResult.swift
[34/101] Compiling TSCBasic CollectionAlgorithms.swift
[35/101] Compiling TSCBasic CollectionExtensions.swift
[36/101] Emitting module ArgumentParser
[37/101] Compiling ArgumentParser SequenceExtensions.swift
[38/101] Compiling ArgumentParser StringExtensions.swift
[39/101] Compiling ArgumentParser Tree.swift
[40/101] Compiling TSCBasic FileSystem.swift
[41/101] Compiling TSCBasic GraphAlgorithms.swift
[42/101] Compiling TSCBasic HashAlgorithms.swift
[43/101] Compiling TSCBasic JSON.swift
[48/101] Compiling TSCBasic EditDistance.swift
[49/105] Compiling TSCBasic TemporaryFile.swift
[50/105] Compiling TSCBasic TerminalController.swift
[51/105] Compiling TSCBasic ProcessSet.swift
[52/105] Compiling TSCBasic RegEx.swift
[53/105] Emitting module TSCBasic
[55/105] Compiling TSCBasic KeyedPair.swift
[56/105] Compiling TSCBasic LazyCache.swift
[57/105] Compiling TSCBasic Lock.swift
[59/105] Compiling TSCBasic Path.swift
[60/105] Compiling TSCBasic PathShims.swift
[61/105] Compiling TSCBasic Process.swift
[62/105] Compiling TSCBasic ProcessEnv.swift
[63/105] Compiling TSCBasic StringConversions.swift
[64/105] Compiling TSCBasic SynchronizedQueue.swift
[75/105] Compiling TSCBasic OrderedDictionary.swift
[76/105] Compiling TSCBasic OrderedSet.swift
[77/105] Compiling TSCBasic FileInfo.swift
[90/105] Compiling TSCBasic Thread.swift
[91/105] Compiling TSCBasic Tuple.swift
[92/105] Compiling TSCBasic WritableByteStream.swift
[93/105] Compiling TSCBasic misc.swift
[103/142] Compiling TSCUtility Tracing.swift
[104/142] Compiling TSCUtility Triple.swift
[105/142] Compiling TSCUtility URL.swift
[106/142] Compiling TSCUtility Verbosity.swift
[107/146] Compiling TSCUtility FSWatch.swift
[108/146] Compiling TSCUtility FloatingPointExtensions.swift
[109/146] Compiling TSCUtility Git.swift
[110/146] Compiling TSCUtility Hex.swift
[111/146] Compiling TSCUtility BuildFlags.swift
[112/146] Compiling TSCUtility CollectionExtensions.swift
[113/146] Compiling TSCUtility Context.swift
[114/146] Compiling TSCUtility Diagnostics.swift
[115/146] Compiling TSCUtility OSLog.swift
[116/146] Compiling TSCUtility OrderedZip.swift
[117/146] Compiling TSCUtility PersistenceCache.swift
[118/146] Compiling TSCUtility PkgConfig.swift
[119/146] Compiling TSCUtility Platform.swift
[120/146] Compiling TSCUtility PolymorphicCodable.swift
[121/146] Compiling TSCUtility ProgressAnimation.swift
[122/146] Compiling TSCUtility SQLite.swift
[123/146] Emitting module TSCUtility
[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 IndexStore.swift
[129/146] Compiling TSCUtility InterruptHandler.swift
[130/146] Compiling TSCUtility JSONMessageStreamingParser.swift
[131/146] Compiling TSCUtility Netrc.swift
[132/146] Compiling TSCUtility Archiver.swift
[133/146] Compiling TSCUtility ArgumentParser.swift
[134/146] Compiling TSCUtility ArgumentParserShellCompletion.swift
[135/146] Compiling TSCUtility Array+Extensions.swift
[136/146] Compiling TSCUtility SerializedDiagnostics.swift
[137/146] Compiling TSCUtility SimplePersistence.swift
[138/146] Compiling TSCUtility StringExtensions.swift
[139/146] Compiling TSCUtility StringMangling.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] 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 {
[145/150] Compiling lifeCLI Life.swift
[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 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 {
[147/150] Write Objects.LinkFileList
[148/150] Linking life-cli
[149/150] Applying life-cli
Build complete! (22.38s)
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.