The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Queuer, reference main (db4cee), with Swift 6.1 for Android on 29 May 2025 08:55:55 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/FabrizioBrancati/Queuer.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/FabrizioBrancati/Queuer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at db4ceec Merge pull request #42 from FabrizioBrancati/dependabot/swift/github.com/apple/swift-docc-plugin-1.4.3
Cloned https://github.com/FabrizioBrancati/Queuer.git
Revision (git rev-parse @):
db4ceec955b20842a210c8b8d5bb306822bfb81c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FabrizioBrancati/Queuer.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FabrizioBrancati/Queuer.git
https://github.com/FabrizioBrancati/Queuer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Queuer",
  "name" : "Queuer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Queuer",
      "targets" : [
        "Queuer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QueuerTests",
      "module_type" : "SwiftTarget",
      "name" : "QueuerTests",
      "path" : "Tests/QueuerTests",
      "sources" : [
        "ConcurrentOperationTests.swift",
        "GroupOperationTests.swift",
        "QueuerTests.swift",
        "SchedulerTests.swift",
        "SemaphoreTests.swift"
      ],
      "target_dependencies" : [
        "Queuer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Queuer",
      "module_type" : "SwiftTarget",
      "name" : "Queuer",
      "path" : "Sources/Queuer",
      "product_memberships" : [
        "Queuer"
      ],
      "sources" : [
        "ConcurrentOperation.swift",
        "GroupOperation.swift",
        "Queuer.swift",
        "Scheduler.swift",
        "Semaphore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.11s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling Queuer Semaphore.swift
[6/10] Compiling Queuer Queuer.swift
/host/spi-builder-workspace/Sources/Queuer/Queuer.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// Queuer class.
 30 | public class Queuer {
    |              `- note: class 'Queuer' does not conform to the 'Sendable' protocol
 31 |     /// Shared Queuer.
 32 |     public static let shared = Queuer(name: "Queuer")
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Queuer `OperationQueue`.
/host/spi-builder-workspace/Sources/Queuer/Queuer.swift:128:28: warning: passing non-sendable parameter 'operation' to function expecting a @Sendable closure
125 |     ///
126 |     /// - Parameter block: Block to be executed.
127 |     func addOperation(_ operation: @escaping () -> Void) {
    |                         `- note: parameter 'operation' is implicitly non-sendable
128 |         queue.addOperation(operation)
    |                            `- warning: passing non-sendable parameter 'operation' to function expecting a @Sendable closure
129 |     }
130 |
/host/spi-builder-workspace/Sources/Queuer/Queuer.swift:182:57: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
179 |     ///
180 |     /// - Parameter completionHandler: Completion handler to be executed as last `Operation`.
181 |     func addCompletionHandler(_ completionHandler: @escaping () -> Void) {
    |                                 `- note: parameter 'completionHandler' is implicitly non-sendable
182 |         let completionOperation = BlockOperation(block: completionHandler)
    |                                                         `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
183 |         if let lastOperation = operations.last {
184 |             completionOperation.addDependency(lastOperation)
[7/10] Compiling Queuer Scheduler.swift
[8/10] Compiling Queuer GroupOperation.swift
/host/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
/host/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:57:30: warning: assigning non-sendable parameter 'completionHandler' to a @Sendable closure
51 |     ///     - operations: Array of ConcurrentOperation to be executed.
52 |     ///     - completionHandler: Block that will be executed once all operations are over.
53 |     public init(_ operations: [ConcurrentOperation], completionHandler: (() -> Void)? = nil) {
   |                                                      `- note: parameter 'completionHandler' is implicitly non-sendable
54 |         super.init()
55 |
56 |         self.operations = operations
57 |         self.completionBlock = completionHandler
   |                              `- warning: assigning non-sendable parameter 'completionHandler' to a @Sendable closure
58 |     }
59 |
[9/10] Emitting module Queuer
/host/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
/host/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
/host/spi-builder-workspace/Sources/Queuer/Queuer.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// Queuer class.
 30 | public class Queuer {
    |              `- note: class 'Queuer' does not conform to the 'Sendable' protocol
 31 |     /// Shared Queuer.
 32 |     public static let shared = Queuer(name: "Queuer")
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Queuer `OperationQueue`.
[10/10] Compiling Queuer ConcurrentOperation.swift
/host/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
Build complete! (27.54s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Queuer",
  "name" : "Queuer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Queuer",
      "targets" : [
        "Queuer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QueuerTests",
      "module_type" : "SwiftTarget",
      "name" : "QueuerTests",
      "path" : "Tests/QueuerTests",
      "sources" : [
        "ConcurrentOperationTests.swift",
        "GroupOperationTests.swift",
        "QueuerTests.swift",
        "SchedulerTests.swift",
        "SemaphoreTests.swift"
      ],
      "target_dependencies" : [
        "Queuer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Queuer",
      "module_type" : "SwiftTarget",
      "name" : "Queuer",
      "path" : "Sources/Queuer",
      "product_memberships" : [
        "Queuer"
      ],
      "sources" : [
        "ConcurrentOperation.swift",
        "GroupOperation.swift",
        "Queuer.swift",
        "Scheduler.swift",
        "Semaphore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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.