The Swift Package Index logo.Swift Package Index

Build Information

Successful build of distributed-lock, reference main (ad171f), with Swift 6.4 for Wasm on 27 Sep 2026 13:19:35 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rosecoder/distributed-lock-swift.git
Reference: main
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/rosecoder/distributed-lock-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad171f3 feat: Added a per-lock timeout
Cloned https://github.com/rosecoder/distributed-lock-swift.git
Revision (git rev-parse @):
ad171f300149fb3f18c4aece925a3ca428c12fc1
SUCCESS checkout https://github.com/rosecoder/distributed-lock-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/rosecoder/distributed-lock-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/8165] Fetching swift-log
[83/14527] Fetching swift-log, swift-distributed-tracing
Fetched https://github.com/apple/swift-log.git (0.55s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.56s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.77s)
Fetching https://github.com/apple/swift-service-context.git
[1/1386] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.42s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 215]
[Starting]
[53 / 92] Logging
[54 / 92] ServiceContextModule
[57 / 92] ServiceContextModule
[65 / 92] Logging
[72 / 100] Instrumentation
[76 / 100] Instrumentation
[86 / 110] Tracing
[91 / 111] Tracing
[103 / 118] Instrumentation
[109 / 119] Tracing
[112 / 120] DistributedLock
[117 / 120] DistributedLock
/host/spi-builder-workspace/Sources/DistributedLock/DistributedLock+Lock.swift:65:7: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
63 |     // Unlock async after return
64 |     defer {
65 |       Task {
   |       |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
   |       `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
66 |         try await withThrowingDiscardingTaskGroup { group in
67 |           for key in keys {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete! (6.77 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    }
  ],
  "manifest_display_name" : "distributed-lock",
  "name" : "distributed-lock",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "DistributedLock",
      "targets" : [
        "DistributedLock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DistributedLockTests",
      "module_type" : "SwiftTarget",
      "name" : "DistributedLockTests",
      "path" : "Tests/DistributedLockTests",
      "sources" : [
        "Implementations/LocalDistributedLockTests.swift",
        "Implementations/NoOpDistributedLockTests.swift",
        "KeyTests.swift",
        "Utils/AssertedLock.swift",
        "WithLockTests.swift"
      ],
      "target_dependencies" : [
        "DistributedLock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DistributedLock",
      "module_type" : "SwiftTarget",
      "name" : "DistributedLock",
      "path" : "Sources/DistributedLock",
      "product_dependencies" : [
        "Logging",
        "Tracing"
      ],
      "product_memberships" : [
        "DistributedLock"
      ],
      "sources" : [
        "DistributedLock+Lock.swift",
        "DistributedLock.swift",
        "Implementations/LocalDistributedLock.swift",
        "Implementations/NoOpDistributedLock.swift",
        "Key.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Done.