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 EventLimiter, reference 2.0.0 (7d7360), with Swift 6.1 for Android on 4 Oct 2025 07:36:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/baekteun/EventLimiter.git
Reference: 2.0.0
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/baekteun/EventLimiter
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 7d73607 :recycle: :: action 클로저에 throws를 제거해서 throws동작은 do catch로 에러처리하도록 유도
Cloned https://github.com/baekteun/EventLimiter.git
Revision (git rev-parse @):
7d736079df813f84bb4c218f5efe665664041194
SUCCESS checkout https://github.com/baekteun/EventLimiter.git at 2.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/baekteun/EventLimiter.git
https://github.com/baekteun/EventLimiter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EventLimiter",
  "name" : "EventLimiter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "EventLimiter",
      "targets" : [
        "EventLimiter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EventLimiterTests",
      "module_type" : "SwiftTarget",
      "name" : "EventLimiterTests",
      "path" : "Tests/EventLimiterTests",
      "sources" : [
        "DebouncerTests.swift",
        "ThrottlerTests.swift"
      ],
      "target_dependencies" : [
        "EventLimiter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EventLimiter",
      "module_type" : "SwiftTarget",
      "name" : "EventLimiter",
      "path" : "Sources/EventLimiter",
      "product_memberships" : [
        "EventLimiter"
      ],
      "sources" : [
        "Debouncer.swift",
        "Throttler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling EventLimiter Throttler.swift
/host/spi-builder-workspace/Sources/EventLimiter/Throttler.swift:40:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |         guard self.task?.isCancelled ?? true else { return }
39 |
40 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 |             await action()
   |                   `- note: closure captures 'action' which is accessible to code in the current task
42 |         }
43 |         self.action = nil
/host/spi-builder-workspace/Sources/EventLimiter/Throttler.swift:45:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
43 |         self.action = nil
44 |
45 |         self.task = Task { [weak self] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
46 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
47 |             defer {
48 |                 self.action = nil
[4/5] Emitting module EventLimiter
[5/5] Compiling EventLimiter Debouncer.swift
/host/spi-builder-workspace/Sources/EventLimiter/Debouncer.swift:28:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 |     func execute(action: @escaping () async -> Void) {
27 |         self.task?.cancel()
28 |         self.task = Task { [dueTime] in
   |                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 |             do {
30 |                 try await Task.sleep(nanoseconds: dueTime)
   :
33 |             }
34 |             guard !Task.isCancelled else { return }
35 |             await action()
   |                   `- note: closure captures 'action' which is accessible to code in the current task
36 |         }
37 |     }
Build complete! (7.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EventLimiter",
  "name" : "EventLimiter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "EventLimiter",
      "targets" : [
        "EventLimiter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EventLimiterTests",
      "module_type" : "SwiftTarget",
      "name" : "EventLimiterTests",
      "path" : "Tests/EventLimiterTests",
      "sources" : [
        "DebouncerTests.swift",
        "ThrottlerTests.swift"
      ],
      "target_dependencies" : [
        "EventLimiter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EventLimiter",
      "module_type" : "SwiftTarget",
      "name" : "EventLimiter",
      "path" : "Sources/EventLimiter",
      "product_memberships" : [
        "EventLimiter"
      ],
      "sources" : [
        "Debouncer.swift",
        "Throttler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.