The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PMKFoundation, reference 4.0.0 (d96743), with Swift 6.2 for Linux on 20 Jun 2025 21:54:48 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PromiseKit/Foundation.git
Reference: 4.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/PromiseKit/Foundation
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at d967438 Using PromiseKit 8 (#34)
Cloned https://github.com/PromiseKit/Foundation.git
Revision (git rev-parse @):
d967438f58183e02f091f4c17ac7f04f70947e0a
SUCCESS checkout https://github.com/PromiseKit/Foundation.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PromiseKit/Foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.31s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 8.2.0 (1.95s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 8.2.0
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/21] Emitting module PromiseKit
[6/23] Compiling PromiseKit Combine.swift
[7/23] Compiling PromiseKit Configuration.swift
[8/23] Compiling PromiseKit CustomStringConvertible.swift
[9/23] Compiling PromiseKit Resolver.swift
[10/23] Compiling PromiseKit Thenable.swift
[11/23] Compiling PromiseKit Async.swift
[12/23] Compiling PromiseKit Box.swift
[13/23] Compiling PromiseKit Catchable.swift
[14/23] Compiling PromiseKit when.swift
[15/23] Compiling PromiseKit resource_bundle_accessor.swift
[16/23] Compiling PromiseKit LogEvent.swift
[17/23] Compiling PromiseKit Promise.swift
[18/23] Compiling PromiseKit hang.swift
[19/23] Compiling PromiseKit race.swift
[20/23] Compiling PromiseKit after.swift
[21/23] Compiling PromiseKit firstly.swift
[22/23] Compiling PromiseKit Error.swift
[23/23] Compiling PromiseKit Guarantee.swift
[25/28] Compiling PMKFoundation Process+Promise.swift
[26/28] Emitting module PMKFoundation
[27/28] Compiling PMKFoundation NSNotificationCenter+Promise.swift
/host/spi-builder-workspace/Sources/NSNotificationCenter+Promise.swift:28:80: warning: converting non-Sendable function value to '@Sendable (Notification) -> Void' may introduce data races
26 |         let id = addObserver(forName: name, object: object, queue: nil, usingBlock: fulfill)
27 |       #else
28 |         let id = addObserver(forName: name, object: object, queue: nil, using: fulfill)
   |                                                                                `- warning: converting non-Sendable function value to '@Sendable (Notification) -> Void' may introduce data races
29 |       #endif
30 |         promise.done { _ in self.removeObserver(id) }
[28/28] Compiling PMKFoundation NSURLSession+Promise.swift
/host/spi-builder-workspace/Sources/NSURLSession+Promise.swift:88:84: warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 86 |      */
 87 |     public func dataTask(_: PMKNamespacer, with convertible: URLRequestConvertible) -> Promise<(data: Data, response: URLResponse)> {
 88 |         return Promise { dataTask(with: convertible.pmkRequest, completionHandler: adapter($0)).resume() }
    |                                                                                    `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 89 |     }
 90 |
/host/spi-builder-workspace/Sources/NSURLSession+Promise.swift:92:98: warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 90 |
 91 |     public func uploadTask(_: PMKNamespacer, with convertible: URLRequestConvertible, from data: Data) -> Promise<(data: Data, response: URLResponse)> {
 92 |         return Promise { uploadTask(with: convertible.pmkRequest, from: data, completionHandler: adapter($0)).resume() }
    |                                                                                                  `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 93 |     }
 94 |
/host/spi-builder-workspace/Sources/NSURLSession+Promise.swift:96:102: warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 94 |
 95 |     public func uploadTask(_: PMKNamespacer, with convertible: URLRequestConvertible, fromFile file: URL) -> Promise<(data: Data, response: URLResponse)> {
 96 |         return Promise { uploadTask(with: convertible.pmkRequest, fromFile: file, completionHandler: adapter($0)).resume() }
    |                                                                                                      `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 97 |     }
 98 |
Build complete! (26.01s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit.git"
    }
  ],
  "manifest_display_name" : "PMKFoundation",
  "name" : "PMKFoundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "PMKFoundation",
      "targets" : [
        "PMKFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PMKFoundation",
      "module_type" : "SwiftTarget",
      "name" : "PMKFoundation",
      "path" : "Sources",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "PMKFoundation"
      ],
      "sources" : [
        "NSNotificationCenter+Promise.swift",
        "NSURLSession+Promise.swift",
        "Process+Promise.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.