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

Swift 6 data race errors: 1

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/rechsteiner/swift-ansi-picker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rechsteiner/swift-ansi-picker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4e9ce93 Add library product to Package.swift
Cloned https://github.com/rechsteiner/swift-ansi-picker.git
Revision (git rev-parse @):
4e9ce930a92afe34b7c41052475dbd56a2c2745d
SUCCESS checkout https://github.com/rechsteiner/swift-ansi-picker.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/rechsteiner/swift-ansi-picker.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/7] Write sources
[2/7] Write example-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/9] Compiling Picker Picker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Picker.swift:257:13: warning: var 'originalTerminal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
255 | }
256 |
257 | private var originalTerminal: termios?
    |             |- warning: var 'originalTerminal' 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 'originalTerminal' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'originalTerminal' 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
258 |
259 | private func handleSignal(signal: Int32) {
[6/9] Emitting module Picker
/Users/admin/builder/spi-builder-workspace/Sources/Picker.swift:257:13: warning: var 'originalTerminal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
255 | }
256 |
257 | private var originalTerminal: termios?
    |             |- warning: var 'originalTerminal' 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 'originalTerminal' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'originalTerminal' 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
258 |
259 | private func handleSignal(signal: Int32) {
[7/11] Emitting module example
[8/11] Compiling example main.swift
[8/11] Write Objects.LinkFileList
[9/11] Linking example
[10/11] Applying example
Build complete! (19.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-ansi-picker",
  "name" : "swift-ansi-picker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Picker",
      "targets" : [
        "Picker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "example",
      "targets" : [
        "example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "example",
      "module_type" : "SwiftTarget",
      "name" : "example",
      "path" : "Examples",
      "product_memberships" : [
        "example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Picker"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Picker",
      "module_type" : "SwiftTarget",
      "name" : "Picker",
      "path" : "Sources",
      "product_memberships" : [
        "Picker",
        "example"
      ],
      "sources" : [
        "Picker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.