This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/getGuaka/Prompt.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling Args ProcessInfo.swift
[5/9] Compiling Args ArgsParser.swift
[6/9] Compiling Args Argument.swift
[7/9] Emitting module Args
[8/9] Compiling Args Args.swift
[9/9] Compiling Args ArgConvertible.swift
[10/19] Compiling Prompt PromptReader.swift
[11/19] Compiling Prompt PromptPrinter.swift
[12/19] Compiling Prompt Ask.swift
[13/19] Compiling Prompt Choose.swift
[14/19] Compiling Prompt AskSettings.swift
[15/19] 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 non-isolated 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 non-isolated 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: annotate 'reader' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 non-isolated 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 non-isolated 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: annotate 'printer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public class func read() -> String? {
[16/19] Compiling Prompt ChooseSettings.swift
[17/19] Compiling Prompt Agree.swift
[18/19] Compiling Prompt AgreeSettings.swift
[19/19] Compiling Prompt AskerValidator.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 non-isolated 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 non-isolated 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: annotate 'reader' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 non-isolated 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 non-isolated 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: annotate 'printer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public class func read() -> String? {
Build complete! (27.39s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/getGuaka/Args.git
[1/34] Fetching args
[35/14583] Fetching args, quick
[14584/33223] Fetching args, quick, nimble
Fetched https://github.com/getGuaka/Args.git from cache (3.22s)
Fetched https://github.com/Quick/Quick.git from cache (3.22s)
Fetched https://github.com/Quick/Nimble.git from cache (3.22s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.71s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.70s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.0 (0.66s)
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/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.