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 Codedeck 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/Sherlouk/Codedeck.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sherlouk/Codedeck
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cd34f63 Merge pull request #16 from Sherlouk/ci
Cloned https://github.com/Sherlouk/Codedeck.git
Revision (git rev-parse @):
cd34f634adc519ba69422e520588404de992bd65
SUCCESS checkout https://github.com/Sherlouk/Codedeck.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Sherlouk/Codedeck.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/13] Compiling HIDSwift HIDDeviceMonitorDelegate.swift
[5/13] Compiling HIDSwift IOReturnMapper.swift
[6/14] Compiling HIDSwift HIDDeviceMonitor.swift
[7/14] Compiling HIDSwift HIDDevice.swift
[8/14] Compiling HIDSwift IOHIDManager+Configure.swift
[9/14] Compiling HIDSwift IOHIDDevice+FeatureReport.swift
[10/14] Compiling HIDSwift IOHIDDevice+Configure.swift
[11/14] Emitting module HIDSwift
[12/14] Compiling HIDSwift IOHIDDevice+GetProperty.swift
[13/14] Compiling HIDSwift IOHIDDevice+Write.swift
[14/14] Compiling HIDSwift RawDeviceProtocols.swift
[15/25] Compiling Codedeck StreamDeckKeyMapper.swift
[16/25] Compiling Codedeck StreamDeckKey.swift
[17/25] Compiling Codedeck StreamDeck.swift
[18/26] Compiling Codedeck HIDDeviceMonitor+StreamDeckProducts.swift
[19/26] Compiling Codedeck Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Codedeck/Logging/Logger.swift:13:23: warning: static property 'verboseMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public class Logger {
12 |
13 |     public static var verboseMode = true
   |                       |- warning: static property 'verboseMode' 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 'verboseMode' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'verboseMode' 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 |     private enum Severity: String {
[20/26] Compiling Codedeck UInt16+ToBuffer.swift
[21/26] Emitting module Codedeck
/Users/admin/builder/spi-builder-workspace/Sources/Codedeck/Logging/Logger.swift:13:23: warning: static property 'verboseMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public class Logger {
12 |
13 |     public static var verboseMode = true
   |                       |- warning: static property 'verboseMode' 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 'verboseMode' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'verboseMode' 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 |     private enum Severity: String {
[22/26] Compiling Codedeck Data+Convenience.swift
[23/26] Compiling Codedeck Data+JPEG.swift
[24/26] Compiling Codedeck StreamDeckKey+Cocoa.swift
[25/26] Compiling Codedeck HIDDevice+StreamDeckProduct.swift
[26/26] Compiling Codedeck StreamDeckProduct.swift
Build complete! (31.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Codedeck",
  "name" : "Codedeck",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Codedeck",
      "targets" : [
        "Codedeck"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HIDSwift",
      "targets" : [
        "HIDSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HIDSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "HIDSwiftTests",
      "path" : "Tests/HIDSwiftTests",
      "sources" : [
        "IOReturnMapperTests.swift"
      ],
      "target_dependencies" : [
        "HIDSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HIDSwift",
      "module_type" : "SwiftTarget",
      "name" : "HIDSwift",
      "path" : "Sources/HIDSwift",
      "product_memberships" : [
        "Codedeck",
        "HIDSwift"
      ],
      "sources" : [
        "Extensions/IOHIDDevice+Configure.swift",
        "Extensions/IOHIDDevice+FeatureReport.swift",
        "Extensions/IOHIDDevice+GetProperty.swift",
        "Extensions/IOHIDDevice+Write.swift",
        "Extensions/IOHIDManager+Configure.swift",
        "HIDDevice.swift",
        "HIDDeviceMonitor.swift",
        "HIDDeviceMonitorDelegate.swift",
        "IOReturnMapper.swift",
        "RawDeviceProtocols.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodedeckTests",
      "module_type" : "SwiftTarget",
      "name" : "CodedeckTests",
      "path" : "Tests/CodedeckTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CodedeckTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/HIDDevice+Mock.swift",
        "Helpers/TestDevice.swift",
        "Helpers/XCTHelperFunctions.swift",
        "Tests/DataConvenienceExtensionsTests.swift",
        "Tests/StreamDeckCreateKeyTests.swift",
        "Tests/StreamDeckKeyPressedTests.swift",
        "Tests/StreamDeckProductTests.swift",
        "Tests/StreamDeckSetColorTests.swift"
      ],
      "target_dependencies" : [
        "Codedeck"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Codedeck",
      "module_type" : "SwiftTarget",
      "name" : "Codedeck",
      "path" : "Sources/Codedeck",
      "product_memberships" : [
        "Codedeck"
      ],
      "sources" : [
        "Extensions/Data+Convenience.swift",
        "Extensions/Data+JPEG.swift",
        "Extensions/HIDDevice+StreamDeckProduct.swift",
        "Extensions/HIDDeviceMonitor+StreamDeckProducts.swift",
        "Extensions/StreamDeckKey+Cocoa.swift",
        "Extensions/UInt16+ToBuffer.swift",
        "Logging/Logger.swift",
        "StreamDeck.swift",
        "StreamDeckKey.swift",
        "StreamDeckKeyMapper.swift",
        "StreamDeckProduct.swift"
      ],
      "target_dependencies" : [
        "HIDSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.