The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HMUtilities, reference master (0df908), with Swift 6.1 for Android on 27 May 2025 18:46:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/highmobility/hmutilities-swift.git
Reference: master
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/highmobility/hmutilities-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0df9080 update README typos
Cloned https://github.com/highmobility/hmutilities-swift.git
Revision (git rev-parse @):
0df90800db400b4c70209c22f6cc44a1f1b026ed
SUCCESS checkout https://github.com/highmobility/hmutilities-swift.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/highmobility/hmutilities-swift.git
https://github.com/highmobility/hmutilities-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HMUtilities",
  "name" : "HMUtilities",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HMUtilities",
      "targets" : [
        "HMUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HMUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "HMUtilitiesTests",
      "path" : "Tests/HMUtilitiesTests",
      "sources" : [
        "HMBytesConvertableTests.swift",
        "HMExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "HMUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HMUtilities",
      "module_type" : "SwiftTarget",
      "name" : "HMUtilities",
      "path" : "Sources/HMUtilities",
      "product_memberships" : [
        "HMUtilities"
      ],
      "sources" : [
        "Extensions/Bool+Extensions.swift",
        "Extensions/Collection+Extensions.swift",
        "Extensions/Date+Extensions.swift",
        "Extensions/Double+Extensions.swift",
        "Extensions/Float+Extensions.swift",
        "Extensions/NSLock+Extensions.swift",
        "Extensions/SignedInteger+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/URL+Extensions.swift",
        "HMBytesConvertable.swift",
        "HMDebugTree.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/13] Compiling HMUtilities URL+Extensions.swift
[4/14] Compiling HMUtilities HMBytesConvertable.swift
[5/14] Emitting module HMUtilities
[6/14] Compiling HMUtilities Bool+Extensions.swift
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:65:41: warning: capture of 'transform' with non-sendable type '(Self.Element) -> ElementOfResult?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 |
64 |         DispatchQueue.concurrentPerform(iterations: count) {
65 |             guard let elementOfResult = transform(self[$0]) else {
   |                                         |- warning: capture of 'transform' with non-sendable type '(Self.Element) -> ElementOfResult?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 |                 return
67 |             }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:65:51: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 |
64 |         DispatchQueue.concurrentPerform(iterations: count) {
65 |             guard let elementOfResult = transform(self[$0]) else {
   |                                                   `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |                 return
67 |             }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: capture of 'results' with non-sendable type '[ElementOfResult]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | public extension Collection where Index == Int {
59 |
60 |     func compactMapConcurrently<ElementOfResult>(_ transform: (Element) -> ElementOfResult?) -> [ElementOfResult] {
   |                                 `- note: consider making generic parameter 'ElementOfResult' conform to the 'Sendable' protocol
61 |         let lock = NSLock()
62 |         var results: [ElementOfResult] = []
   :
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: capture of 'results' with non-sendable type '[ElementOfResult]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 |         }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: capture of 'results' with non-sendable type '[ElementOfResult]' in an isolated closure; this is an error in the Swift 6 language mode
58 | public extension Collection where Index == Int {
59 |
60 |     func compactMapConcurrently<ElementOfResult>(_ transform: (Element) -> ElementOfResult?) -> [ElementOfResult] {
   |                                 `- note: consider making generic parameter 'ElementOfResult' conform to the 'Sendable' protocol
61 |         let lock = NSLock()
62 |         var results: [ElementOfResult] = []
   :
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: capture of 'results' with non-sendable type '[ElementOfResult]' in an isolated closure; this is an error in the Swift 6 language mode
71 |             }
72 |         }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 |         }
[7/14] Compiling HMUtilities Collection+Extensions.swift
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:65:41: warning: capture of 'transform' with non-sendable type '(Self.Element) -> ElementOfResult?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 |
64 |         DispatchQueue.concurrentPerform(iterations: count) {
65 |             guard let elementOfResult = transform(self[$0]) else {
   |                                         |- warning: capture of 'transform' with non-sendable type '(Self.Element) -> ElementOfResult?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 |                 return
67 |             }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:65:51: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 |
64 |         DispatchQueue.concurrentPerform(iterations: count) {
65 |             guard let elementOfResult = transform(self[$0]) else {
   |                                                   `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 |                 return
67 |             }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: capture of 'results' with non-sendable type '[ElementOfResult]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | public extension Collection where Index == Int {
59 |
60 |     func compactMapConcurrently<ElementOfResult>(_ transform: (Element) -> ElementOfResult?) -> [ElementOfResult] {
   |                                 `- note: consider making generic parameter 'ElementOfResult' conform to the 'Sendable' protocol
61 |         let lock = NSLock()
62 |         var results: [ElementOfResult] = []
   :
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: capture of 'results' with non-sendable type '[ElementOfResult]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 |         }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: capture of 'results' with non-sendable type '[ElementOfResult]' in an isolated closure; this is an error in the Swift 6 language mode
58 | public extension Collection where Index == Int {
59 |
60 |     func compactMapConcurrently<ElementOfResult>(_ transform: (Element) -> ElementOfResult?) -> [ElementOfResult] {
   |                                 `- note: consider making generic parameter 'ElementOfResult' conform to the 'Sendable' protocol
61 |         let lock = NSLock()
62 |         var results: [ElementOfResult] = []
   :
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: capture of 'results' with non-sendable type '[ElementOfResult]' in an isolated closure; this is an error in the Swift 6 language mode
71 |             }
72 |         }
/host/spi-builder-workspace/Sources/HMUtilities/Extensions/Collection+Extensions.swift:70:17: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
68 |
69 |             lock.lockUnlock {
70 |                 results.append(elementOfResult)
   |                 `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 |         }
[8/14] Compiling HMUtilities String+Extensions.swift
[9/14] Compiling HMUtilities Float+Extensions.swift
[10/14] Compiling HMUtilities NSLock+Extensions.swift
[11/14] Compiling HMUtilities Date+Extensions.swift
[12/14] Compiling HMUtilities Double+Extensions.swift
[13/14] Compiling HMUtilities SignedInteger+Extensions.swift
[14/14] Compiling HMUtilities HMDebugTree.swift
Build complete! (10.23s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HMUtilities",
  "name" : "HMUtilities",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HMUtilities",
      "targets" : [
        "HMUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HMUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "HMUtilitiesTests",
      "path" : "Tests/HMUtilitiesTests",
      "sources" : [
        "HMBytesConvertableTests.swift",
        "HMExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "HMUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HMUtilities",
      "module_type" : "SwiftTarget",
      "name" : "HMUtilities",
      "path" : "Sources/HMUtilities",
      "product_memberships" : [
        "HMUtilities"
      ],
      "sources" : [
        "Extensions/Bool+Extensions.swift",
        "Extensions/Collection+Extensions.swift",
        "Extensions/Date+Extensions.swift",
        "Extensions/Double+Extensions.swift",
        "Extensions/Float+Extensions.swift",
        "Extensions/NSLock+Extensions.swift",
        "Extensions/SignedInteger+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/URL+Extensions.swift",
        "HMBytesConvertable.swift",
        "HMDebugTree.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.