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 Linux on 25 Apr 2025 13:22:05 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /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/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getGuaka/Prompt.git
https://github.com/getGuaka/Prompt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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/14789] Fetching args, quick
[8741/34356] Fetching args, quick, nimble
Fetched https://github.com/getGuaka/Args.git from cache (0.71s)
Fetched https://github.com/Quick/Quick.git from cache (0.72s)
[3718/19567] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.51s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (3.35s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.75s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.67s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Args Args.swift
[5/9] Compiling Args ArgConvertible.swift
[6/9] Compiling Args Argument.swift
[7/9] Compiling Args ArgsParser.swift
[8/9] Emitting module Args
[9/9] Compiling Args ProcessInfo.swift
[11/20] Compiling Prompt PromptReader.swift
[12/21] Compiling Prompt Choose.swift
[13/21] Compiling Prompt AskerValidator.swift
[14/21] Compiling Prompt Ask.swift
[15/21] Compiling Prompt AskSettings.swift
[16/21] Compiling Prompt Agree.swift
[17/21] Compiling Prompt AgreeSettings.swift
[18/21] Emitting module Prompt
/host/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 |
/host/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? {
[19/21] Compiling Prompt ChooseSettings.swift
[20/21] Compiling Prompt PromptPrinter.swift
[21/21] Compiling Prompt PromptSettings.swift
/host/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 |
/host/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! (19.13s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.