The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResolvingContainer, reference master (5ffead), with Swift 6.1 for Wasm on 30 May 2025 01:36:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cozmonat/ResolvingContainer.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/Cozmonat/ResolvingContainer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5ffead9 Added ability to check if the instance of the object is stored in the container
Cloned https://github.com/Cozmonat/ResolvingContainer.git
Revision (git rev-parse @):
5ffead9d72e4d90adac37570e7abe7633ac495df
SUCCESS checkout https://github.com/Cozmonat/ResolvingContainer.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cozmonat/ResolvingContainer.git
https://github.com/Cozmonat/ResolvingContainer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ResolvingContainer",
  "name" : "ResolvingContainer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "ResolvingContainer",
      "targets" : [
        "ResolvingContainer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ResolvingContainer",
      "module_type" : "SwiftTarget",
      "name" : "ResolvingContainer",
      "path" : "ResolvingContainer",
      "product_memberships" : [
        "ResolvingContainer"
      ],
      "sources" : [
        "ResolvingContainer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ResolvingContainer
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:101:27: error: cannot find type 'DispatchQueue' in scope
 99 |
100 |     public var registry: [ObjectIdentifier: Item]
101 |     public var syncQueue: DispatchQueue
    |                           `- error: cannot find type 'DispatchQueue' in scope
102 |
103 |     public init(qos: DispatchQoS = .default) {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:103:22: error: cannot find type 'DispatchQoS' in scope
101 |     public var syncQueue: DispatchQueue
102 |
103 |     public init(qos: DispatchQoS = .default) {
    |                      `- error: cannot find type 'DispatchQoS' in scope
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:53: error: cannot find 'DispatchSpecificKey' in scope
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
172 |
173 | internal extension DispatchQueue {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:173:20: error: cannot find type 'DispatchQueue' in scope
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
172 |
173 | internal extension DispatchQueue {
    |                    `- error: cannot find type 'DispatchQueue' in scope
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
[4/4] Compiling ResolvingContainer ResolvingContainer.swift
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:101:27: error: cannot find type 'DispatchQueue' in scope
 99 |
100 |     public var registry: [ObjectIdentifier: Item]
101 |     public var syncQueue: DispatchQueue
    |                           `- error: cannot find type 'DispatchQueue' in scope
102 |
103 |     public init(qos: DispatchQoS = .default) {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:103:22: error: cannot find type 'DispatchQoS' in scope
101 |     public var syncQueue: DispatchQueue
102 |
103 |     public init(qos: DispatchQoS = .default) {
    |                      `- error: cannot find type 'DispatchQoS' in scope
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:53: error: cannot find 'DispatchSpecificKey' in scope
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
172 |
173 | internal extension DispatchQueue {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:173:20: error: cannot find type 'DispatchQueue' in scope
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
172 |
173 | internal extension DispatchQueue {
    |                    `- error: cannot find type 'DispatchQueue' in scope
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:105:21: error: cannot find 'DispatchQueue' in scope
103 |     public init(qos: DispatchQoS = .default) {
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
    |                     `- error: cannot find 'DispatchQueue' in scope
106 |     }
107 |
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:163:12: error: cannot find 'DispatchQueue' in scope
161 |
162 |     @discardableResult open func sync<T>(_ block: () -> T) -> T {
163 |         if DispatchQueue.isRunning(on: syncQueue) {
    |            `- error: cannot find 'DispatchQueue' in scope
164 |             return block()
165 |         } else {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:175:37: error: cannot find type 'DispatchQueue' in scope
173 | internal extension DispatchQueue {
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
    |                                     `- error: cannot find type 'DispatchQueue' in scope
176 |         var identifier: UUID! = queue.getSpecific(key: ResolvingContainerQueueIdentifierKey)
177 |         if identifier == nil {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ResolvingContainer
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:101:27: error: cannot find type 'DispatchQueue' in scope
 99 |
100 |     public var registry: [ObjectIdentifier: Item]
101 |     public var syncQueue: DispatchQueue
    |                           `- error: cannot find type 'DispatchQueue' in scope
102 |
103 |     public init(qos: DispatchQoS = .default) {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:103:22: error: cannot find type 'DispatchQoS' in scope
101 |     public var syncQueue: DispatchQueue
102 |
103 |     public init(qos: DispatchQoS = .default) {
    |                      `- error: cannot find type 'DispatchQoS' in scope
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:53: error: cannot find 'DispatchSpecificKey' in scope
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
172 |
173 | internal extension DispatchQueue {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:173:20: error: cannot find type 'DispatchQueue' in scope
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
172 |
173 | internal extension DispatchQueue {
    |                    `- error: cannot find type 'DispatchQueue' in scope
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
[3/3] Compiling ResolvingContainer ResolvingContainer.swift
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:101:27: error: cannot find type 'DispatchQueue' in scope
 99 |
100 |     public var registry: [ObjectIdentifier: Item]
101 |     public var syncQueue: DispatchQueue
    |                           `- error: cannot find type 'DispatchQueue' in scope
102 |
103 |     public init(qos: DispatchQoS = .default) {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:103:22: error: cannot find type 'DispatchQoS' in scope
101 |     public var syncQueue: DispatchQueue
102 |
103 |     public init(qos: DispatchQoS = .default) {
    |                      `- error: cannot find type 'DispatchQoS' in scope
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:53: error: cannot find 'DispatchSpecificKey' in scope
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
172 |
173 | internal extension DispatchQueue {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:173:20: error: cannot find type 'DispatchQueue' in scope
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
172 |
173 | internal extension DispatchQueue {
    |                    `- error: cannot find type 'DispatchQueue' in scope
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:105:21: error: cannot find 'DispatchQueue' in scope
103 |     public init(qos: DispatchQoS = .default) {
104 |         registry = [:]
105 |         syncQueue = DispatchQueue(label: "ResolvingContainer.SyncQueue", qos: qos)
    |                     `- error: cannot find 'DispatchQueue' in scope
106 |     }
107 |
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:163:12: error: cannot find 'DispatchQueue' in scope
161 |
162 |     @discardableResult open func sync<T>(_ block: () -> T) -> T {
163 |         if DispatchQueue.isRunning(on: syncQueue) {
    |            `- error: cannot find 'DispatchQueue' in scope
164 |             return block()
165 |         } else {
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:175:37: error: cannot find type 'DispatchQueue' in scope
173 | internal extension DispatchQueue {
174 |
175 |     static func isRunning(on queue: DispatchQueue) -> Bool {
    |                                     `- error: cannot find type 'DispatchQueue' in scope
176 |         var identifier: UUID! = queue.getSpecific(key: ResolvingContainerQueueIdentifierKey)
177 |         if identifier == nil {
BUILD FAILURE 6.1 wasm