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 device-input, reference main (c48a7d), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 12:53:43 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/device-input.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sersoft-gmbh/device-input
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c48a7d9 Fix build using static linux sdk
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
c48a7d9618eb46342296be259b7718d6e64a3268
SUCCESS checkout https://github.com/sersoft-gmbh/device-input.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/device-input.git
https://github.com/sersoft-gmbh/device-input.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-filestreamer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
    }
  ],
  "manifest_display_name" : "device-input",
  "name" : "device-input",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceInput",
      "targets" : [
        "DeviceInput"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceInputTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInputTests",
      "path" : "Tests/DeviceInputTests",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "sources" : [
        "InputDeviceTests.swift"
      ],
      "target_dependencies" : [
        "CInput",
        "DeviceInput"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceInput",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInput",
      "path" : "Sources/DeviceInput",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "FileHandle+Grab.swift",
        "InputDevice.swift",
        "InputEvent.swift",
        "InputEventCode.swift",
        "InputEventKind.swift",
        "InputEventValue.swift"
      ],
      "target_dependencies" : [
        "CInput"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CInput",
      "module_type" : "ClangTarget",
      "name" : "CInput",
      "path" : "Sources/CInput",
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "grabdevice.c",
        "input.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[5/9] Compiling CSystem shims.c
[6/9] Compiling CInput grabdevice.c
[7/9] Write swift-version-2F0A5646E1D333AE.txt
[8/37] Compiling CInput input.c
[10/37] Emitting module SystemPackage
[11/40] Compiling SystemPackage Util+StringArray.swift
[12/40] Compiling SystemPackage Util.swift
[13/40] Compiling SystemPackage UtilConsumers.swift
[14/40] Compiling SystemPackage FileHelpers.swift
[15/40] Compiling SystemPackage FileOperations.swift
[16/40] Compiling SystemPackage FilePath.swift
[17/40] Compiling SystemPackage FilePathString.swift
[18/40] Compiling SystemPackage FilePathSyntax.swift
[19/40] Compiling SystemPackage FilePathTemp.swift
[20/40] Compiling SystemPackage RawBuffer.swift
[21/40] Compiling SystemPackage Syscalls.swift
[22/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[23/40] Compiling SystemPackage Errno.swift
[24/40] Compiling SystemPackage ErrnoWindows.swift
[25/40] Compiling SystemPackage FileDescriptor.swift
[26/40] Compiling SystemPackage MachPort.swift
[27/40] Compiling SystemPackage PlatformString.swift
[28/40] Compiling SystemPackage SystemString.swift
[29/40] Compiling SystemPackage FilePathTempPosix.swift
[30/40] Compiling SystemPackage FilePathTempWindows.swift
[31/40] Compiling SystemPackage FilePathWindows.swift
[32/40] Compiling SystemPackage Constants.swift
[33/40] Compiling SystemPackage Exports.swift
[34/40] Compiling SystemPackage Mocking.swift
[35/40] Compiling SystemPackage FilePermissions.swift
[36/40] Compiling SystemPackage Backcompat.swift
[37/40] Compiling SystemPackage CInterop.swift
[38/40] Compiling SystemPackage FilePathComponentView.swift
[39/40] Compiling SystemPackage FilePathComponents.swift
[40/40] Compiling SystemPackage FilePathParsing.swift
[41/42] Compiling FileStreamer FileStream.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[42/42] Emitting module FileStreamer
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[43/49] Compiling DeviceInput InputEventValue.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[44/49] Compiling DeviceInput InputEventCode.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[45/49] Compiling DeviceInput InputEvent.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[46/49] Compiling DeviceInput InputEventKind.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[47/49] Emitting module DeviceInput
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[48/49] Compiling DeviceInput FileHandle+Grab.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
[49/49] Compiling DeviceInput InputDevice.swift
<unknown>:0: warning: upcoming feature 'GlobalConcurrency' is already enabled as of Swift version 6
Build complete! (21.10s)
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system from cache
[1/2049] Fetching swift-docc-plugin
[42/3583] Fetching swift-docc-plugin, swift-filestreamer
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (1.14s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.14s)
Fetched https://github.com/apple/swift-system from cache (1.15s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.9.0 (1.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.38s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.44s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-filestreamer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
    }
  ],
  "manifest_display_name" : "device-input",
  "name" : "device-input",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceInput",
      "targets" : [
        "DeviceInput"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceInputTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInputTests",
      "path" : "Tests/DeviceInputTests",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "sources" : [
        "InputDeviceTests.swift"
      ],
      "target_dependencies" : [
        "CInput",
        "DeviceInput"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceInput",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInput",
      "path" : "Sources/DeviceInput",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "FileHandle+Grab.swift",
        "InputDevice.swift",
        "InputEvent.swift",
        "InputEventCode.swift",
        "InputEventKind.swift",
        "InputEventValue.swift"
      ],
      "target_dependencies" : [
        "CInput"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CInput",
      "module_type" : "ClangTarget",
      "name" : "CInput",
      "path" : "Sources/CInput",
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "grabdevice.c",
        "input.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.