The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-system, reference 1.6.2 (890830), with Swift 6.1 for Wasm on 4 Aug 2025 09:06:48 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-system.git
Reference: 1.6.2
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/apple/swift-system
 * tag               1.6.2      -> FETCH_HEAD
HEAD is now at 890830f Merge pull request #254 from jrflat/fix-generic-int-typedefs-1.6.0
Cloned https://github.com/apple/swift-system.git
Revision (git rev-parse @):
890830fff1a577dc83134890c7984020c5f6b43b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-system.git at 1.6.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-system.git
https://github.com/apple/swift-system.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-system",
  "name" : "swift-system",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SystemPackage",
      "targets" : [
        "SystemPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemTests",
      "path" : "Tests/SystemTests",
      "sources" : [
        "ErrnoTest.swift",
        "FileDescriptorExtras.swift",
        "FileOperationsTest.swift",
        "FileOperationsTestWindows.swift",
        "FilePathTests/FilePathComponentsTest.swift",
        "FilePathTests/FilePathDecodable.swift",
        "FilePathTests/FilePathExtras.swift",
        "FilePathTests/FilePathParsingTest.swift",
        "FilePathTests/FilePathSyntaxTest.swift",
        "FilePathTests/FilePathTempTest.swift",
        "FilePathTests/FilePathTest.swift",
        "FileTypesTest.swift",
        "IORequestTests.swift",
        "IORingTests.swift",
        "MachPortTests.swift",
        "MockingTest.swift",
        "SystemCharTest.swift",
        "SystemStringTests.swift",
        "TestingInfrastructure.swift",
        "UtilTests.swift"
      ],
      "target_dependencies" : [
        "SystemPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemPackage",
      "module_type" : "SwiftTarget",
      "name" : "SystemPackage",
      "path" : "Sources/System",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "Errno.swift",
        "ErrnoWindows.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath/FilePath.swift",
        "FilePath/FilePathComponentView.swift",
        "FilePath/FilePathComponents.swift",
        "FilePath/FilePathParsing.swift",
        "FilePath/FilePathString.swift",
        "FilePath/FilePathSyntax.swift",
        "FilePath/FilePathTemp.swift",
        "FilePath/FilePathTempPosix.swift",
        "FilePath/FilePathTempWindows.swift",
        "FilePath/FilePathWindows.swift",
        "FilePermissions.swift",
        "IORing/IOCompletion.swift",
        "IORing/IORequest.swift",
        "IORing/IORing.swift",
        "IORing/RawIORequest.swift",
        "Internals/Backcompat.swift",
        "Internals/CInterop.swift",
        "Internals/Constants.swift",
        "Internals/Exports.swift",
        "Internals/Mocking.swift",
        "Internals/RawBuffer.swift",
        "Internals/Syscalls.swift",
        "Internals/WindowsSyscallAdapters.swift",
        "MachPort.swift",
        "PlatformString.swift",
        "SystemString.swift",
        "Util+StringArray.swift",
        "Util.swift",
        "UtilConsumers.swift"
      ],
      "target_dependencies" : [
        "CSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystem",
      "module_type" : "ClangTarget",
      "name" : "CSystem",
      "path" : "Sources/CSystem",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CSystem shims.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/34] Emitting module SystemPackage
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
[5/38] Compiling SystemPackage FilePathSyntax.swift
[6/38] Compiling SystemPackage FilePathTemp.swift
[7/38] Compiling SystemPackage FilePathTempPosix.swift
[8/38] Compiling SystemPackage FilePathTempWindows.swift
[9/38] Compiling SystemPackage SystemString.swift
[10/38] Compiling SystemPackage Util+StringArray.swift
[11/38] Compiling SystemPackage Util.swift
[12/38] Compiling SystemPackage UtilConsumers.swift
[13/38] Compiling SystemPackage Errno.swift
[14/38] Compiling SystemPackage ErrnoWindows.swift
[15/38] Compiling SystemPackage FileDescriptor.swift
[16/38] Compiling SystemPackage FileHelpers.swift
[17/38] Compiling SystemPackage FileOperations.swift
[18/38] Compiling SystemPackage IORing.swift
[19/38] Compiling SystemPackage RawIORequest.swift
[20/38] Compiling SystemPackage Backcompat.swift
[21/38] Compiling SystemPackage CInterop.swift
[22/38] Compiling SystemPackage FilePathWindows.swift
[23/38] Compiling SystemPackage FilePermissions.swift
[24/38] Compiling SystemPackage IOCompletion.swift
[25/38] Compiling SystemPackage IORequest.swift
[26/38] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
[27/38] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
[28/38] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
[29/38] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
[30/38] Compiling SystemPackage FilePath.swift
[31/38] Compiling SystemPackage FilePathComponentView.swift
[32/38] Compiling SystemPackage FilePathComponents.swift
[33/38] Compiling SystemPackage FilePathParsing.swift
[34/38] Compiling SystemPackage FilePathString.swift
[35/38] Compiling SystemPackage Syscalls.swift
[36/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[37/38] Compiling SystemPackage MachPort.swift
[38/38] Compiling SystemPackage PlatformString.swift
Build complete! (8.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-system",
  "name" : "swift-system",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SystemPackage",
      "targets" : [
        "SystemPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemTests",
      "path" : "Tests/SystemTests",
      "sources" : [
        "ErrnoTest.swift",
        "FileDescriptorExtras.swift",
        "FileOperationsTest.swift",
        "FileOperationsTestWindows.swift",
        "FilePathTests/FilePathComponentsTest.swift",
        "FilePathTests/FilePathDecodable.swift",
        "FilePathTests/FilePathExtras.swift",
        "FilePathTests/FilePathParsingTest.swift",
        "FilePathTests/FilePathSyntaxTest.swift",
        "FilePathTests/FilePathTempTest.swift",
        "FilePathTests/FilePathTest.swift",
        "FileTypesTest.swift",
        "IORequestTests.swift",
        "IORingTests.swift",
        "MachPortTests.swift",
        "MockingTest.swift",
        "SystemCharTest.swift",
        "SystemStringTests.swift",
        "TestingInfrastructure.swift",
        "UtilTests.swift"
      ],
      "target_dependencies" : [
        "SystemPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemPackage",
      "module_type" : "SwiftTarget",
      "name" : "SystemPackage",
      "path" : "Sources/System",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "Errno.swift",
        "ErrnoWindows.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath/FilePath.swift",
        "FilePath/FilePathComponentView.swift",
        "FilePath/FilePathComponents.swift",
        "FilePath/FilePathParsing.swift",
        "FilePath/FilePathString.swift",
        "FilePath/FilePathSyntax.swift",
        "FilePath/FilePathTemp.swift",
        "FilePath/FilePathTempPosix.swift",
        "FilePath/FilePathTempWindows.swift",
        "FilePath/FilePathWindows.swift",
        "FilePermissions.swift",
        "IORing/IOCompletion.swift",
        "IORing/IORequest.swift",
        "IORing/IORing.swift",
        "IORing/RawIORequest.swift",
        "Internals/Backcompat.swift",
        "Internals/CInterop.swift",
        "Internals/Constants.swift",
        "Internals/Exports.swift",
        "Internals/Mocking.swift",
        "Internals/RawBuffer.swift",
        "Internals/Syscalls.swift",
        "Internals/WindowsSyscallAdapters.swift",
        "MachPort.swift",
        "PlatformString.swift",
        "SystemString.swift",
        "Util+StringArray.swift",
        "Util.swift",
        "UtilConsumers.swift"
      ],
      "target_dependencies" : [
        "CSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystem",
      "module_type" : "ClangTarget",
      "name" : "CSystem",
      "path" : "Sources/CSystem",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.