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 Prompt, reference master (b777d6), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 00:17:34 UTC.

Swift 6 data race errors: 2

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/getGuaka/Prompt.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getGuaka/Prompt
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b777d6b Turn off Travis email notifications
Cloned https://github.com/getGuaka/Prompt.git
Revision (git rev-parse @):
b777d6bb0974caa787ba73d650829d32378024fd
SUCCESS checkout https://github.com/getGuaka/Prompt.git at master
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/getGuaka/Args.git
Fetching https://github.com/Quick/Nimble.git
[1/34] Fetching args
[35/14789] Fetching args, quick
[773/34356] Fetching args, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.63s)
Fetched https://github.com/Quick/Nimble.git from cache (1.63s)
Fetched https://github.com/getGuaka/Args.git from cache (1.63s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (2.24s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.58s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.0 (0.53s)
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
========================================
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": "prompt",
      "name": "Prompt",
      "url": "https://github.com/getGuaka/Prompt.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Prompt",
      "dependencies": [
        {
          "identity": "args",
          "name": "Args",
          "url": "https://github.com/getGuaka/Args.git",
          "version": "0.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Args",
          "dependencies": [
            {
              "identity": "quick",
              "name": "Quick",
              "url": "https://github.com/Quick/Quick.git",
              "version": "1.3.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
              "dependencies": [
                {
                  "identity": "nimble",
                  "name": "Nimble",
                  "url": "https://github.com/Quick/Nimble.git",
                  "version": "7.3.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble.git",
              "version": "7.3.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick.git",
          "version": "1.3.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "dependencies": [
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble.git",
              "version": "7.3.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "7.3.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/getGuaka/Prompt.git
[1/44] Fetching prompt
Fetched https://github.com/getGuaka/Prompt.git from cache (0.56s)
Fetching https://github.com/getGuaka/Args.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/Quick/Quick.git from cache (0.51s)
Fetched https://github.com/Quick/Nimble.git from cache (0.53s)
Fetched https://github.com/getGuaka/Args.git from cache (0.53s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.58s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.04s)
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at master (b777d6b)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
warning: '.resolve-product-dependencies': dependency 'prompt' is not used by any target
Found 3 product dependencies
  - Args
  - Quick
  - Nimble
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getGuaka/Prompt.git
https://github.com/getGuaka/Prompt.git
{
  "dependencies" : [
    {
      "identity" : "args",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getGuaka/Args.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.3.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Prompt",
  "name" : "Prompt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prompt",
      "targets" : [
        "Prompt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PromptTests",
      "module_type" : "SwiftTarget",
      "name" : "PromptTests",
      "path" : "Tests/PromptTests",
      "product_dependencies" : [
        "Nimble",
        "Quick"
      ],
      "sources" : [
        "AgreeSettingsTest.swift",
        "AgreeTests.swift",
        "AskSettingsTests.swift",
        "AskTests.swift",
        "ChooseSettingsTests.swift",
        "ChooseTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Prompt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prompt",
      "module_type" : "SwiftTarget",
      "name" : "Prompt",
      "path" : "Sources/Prompt",
      "product_dependencies" : [
        "Args"
      ],
      "product_memberships" : [
        "Prompt"
      ],
      "sources" : [
        "Agree.swift",
        "AgreeSettings.swift",
        "Ask.swift",
        "AskSettings.swift",
        "AskerValidator.swift",
        "Choose.swift",
        "ChooseSettings.swift",
        "PromptPrinter.swift",
        "PromptReader.swift",
        "PromptSettings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling Args ProcessInfo.swift
[5/9] Compiling Args Args.swift
[6/9] Compiling Args ArgConvertible.swift
[7/9] Compiling Args ArgsParser.swift
[8/9] Emitting module Args
[9/9] Compiling Args Argument.swift
[10/19] Compiling Prompt PromptReader.swift
[11/19] Compiling Prompt AskerValidator.swift
[12/19] Compiling Prompt Choose.swift
[13/20] Compiling Prompt Ask.swift
[14/20] Compiling Prompt AgreeSettings.swift
[15/20] Compiling Prompt Agree.swift
[16/20] Compiling Prompt AskSettings.swift
[17/20] Emitting module Prompt
/Users/admin/builder/spi-builder-workspace/Sources/Prompt/PromptSettings.swift:12:23: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class PromptSettings {
11 |
12 |     public static var reader: PromptReader = ConsolePromptReader()
   |                       |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'reader' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Prompt/PromptSettings.swift:13:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var reader: PromptReader = ConsolePromptReader()
13 |     public static var printer: PromptPrinter = ConsolePromptPrinter()
   |                       |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public class func read() -> String? {
[18/20] Compiling Prompt PromptPrinter.swift
[19/20] Compiling Prompt ChooseSettings.swift
[20/20] Compiling Prompt PromptSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prompt/PromptSettings.swift:12:23: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class PromptSettings {
11 |
12 |     public static var reader: PromptReader = ConsolePromptReader()
   |                       |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'reader' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Prompt/PromptSettings.swift:13:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var reader: PromptReader = ConsolePromptReader()
13 |     public static var printer: PromptPrinter = ConsolePromptPrinter()
   |                       |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public class func read() -> String? {
Build complete! (6.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "args",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getGuaka/Args.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.3.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Prompt",
  "name" : "Prompt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prompt",
      "targets" : [
        "Prompt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PromptTests",
      "module_type" : "SwiftTarget",
      "name" : "PromptTests",
      "path" : "Tests/PromptTests",
      "product_dependencies" : [
        "Nimble",
        "Quick"
      ],
      "sources" : [
        "AgreeSettingsTest.swift",
        "AgreeTests.swift",
        "AskSettingsTests.swift",
        "AskTests.swift",
        "ChooseSettingsTests.swift",
        "ChooseTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Prompt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prompt",
      "module_type" : "SwiftTarget",
      "name" : "Prompt",
      "path" : "Sources/Prompt",
      "product_dependencies" : [
        "Args"
      ],
      "product_memberships" : [
        "Prompt"
      ],
      "sources" : [
        "Agree.swift",
        "AgreeSettings.swift",
        "Ask.swift",
        "AskSettings.swift",
        "AskerValidator.swift",
        "Choose.swift",
        "ChooseSettings.swift",
        "PromptPrinter.swift",
        "PromptReader.swift",
        "PromptSettings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.