The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Macaroni, reference main (015ba4), with Swift 6.3 for Wasm on 21 Apr 2026 19:15:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bealex/Macaroni.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/bealex/Macaroni
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 015ba44 Added information about locking in the README
Cloned https://github.com/bealex/Macaroni.git
Revision (git rev-parse @):
015ba440cca1842e653b3b14d108738fb0caff2d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bealex/Macaroni.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bealex/Macaroni.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Macaroni Injected.swift
/host/spi-builder-workspace/Sources/Container.swift:35:24: error: cannot find type 'DispatchQueue' in scope
 33 |
 34 |     private static var counter: Int = 1
 35 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 36 |
 37 |     /// you can lock container in case it will not be updated anymore.
[4/12] Compiling Macaroni InjectedWeakly.swift
[5/13] Compiling Macaroni ContainerLookupPolicy.swift
[6/13] Compiling Macaroni MacaroniLogger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Compiling Macaroni Macaroni.swift
[8/13] Emitting module Macaroni
/host/spi-builder-workspace/Sources/Container.swift:35:24: error: cannot find type 'DispatchQueue' in scope
 33 |
 34 |     private static var counter: Int = 1
 35 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 36 |
 37 |     /// you can lock container in case it will not be updated anymore.
[9/13] Compiling Macaroni ContainerableLookupPolicy.swift
[10/13] Compiling Macaroni SingletonContainerLookupPolicy.swift
[11/13] Compiling Macaroni Container.swift
/host/spi-builder-workspace/Sources/Container.swift:35:24: error: cannot find type 'DispatchQueue' in scope
 33 |
 34 |     private static var counter: Int = 1
 35 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 36 |
 37 |     /// you can lock container in case it will not be updated anymore.
/host/spi-builder-workspace/Sources/Container.swift:48:17: error: cannot find 'DispatchQueue' in scope
 46 |         self.parent = parent
 47 |         self.name = name ?? "UnnamedContainer.\(Container.counter)"
 48 |         queue = DispatchQueue(label: "container.\(self.name)", attributes: [ .concurrent ])
    |                 `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |         Container.counter += 1
/host/spi-builder-workspace/Sources/Container.swift:48:79: error: reference to member 'concurrent' cannot be resolved without a contextual type
 46 |         self.parent = parent
 47 |         self.name = name ?? "UnnamedContainer.\(Container.counter)"
 48 |         queue = DispatchQueue(label: "container.\(self.name)", attributes: [ .concurrent ])
    |                                                                               `- error: reference to member 'concurrent' cannot be resolved without a contextual type
 49 |
 50 |         Container.counter += 1
/host/spi-builder-workspace/Sources/Container.swift:121:29: error: cannot infer contextual base in reference to member 'barrier'
119 |
120 |         let alternativeKey = alternative ?? defaultAlternativeKey
121 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
122 |             let nonOptionalObjectId = ObjectIdentifier(D.self)
123 |             let optionalObjectId = ObjectIdentifier(Optional<D>.self)
/host/spi-builder-workspace/Sources/Container.swift:150:29: error: cannot infer contextual base in reference to member 'barrier'
148 |
149 |         let alternativeKey = alternative ?? defaultAlternativeKey
150 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
151 |             let nonOptionalObjectId = ObjectIdentifier(D.self)
152 |             let optionalObjectId = ObjectIdentifier(Optional<D>.self)
/host/spi-builder-workspace/Sources/Container.swift:210:29: error: cannot infer contextual base in reference to member 'barrier'
208 |     /// Removes all resolvers.
209 |     public func cleanup(file: StaticString = #fileID, function: String = #function, line: UInt = #line) {
210 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
211 |             typeResolvers = [:]
212 |             typeParametrizedResolvers = [:]
[12/13] Compiling Macaroni ContainerLookupPolicy+Resolve.swift
/host/spi-builder-workspace/Sources/Container.swift:35:24: error: cannot find type 'DispatchQueue' in scope
 33 |
 34 |     private static var counter: Int = 1
 35 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 36 |
 37 |     /// you can lock container in case it will not be updated anymore.
/host/spi-builder-workspace/Sources/Container.swift:48:17: error: cannot find 'DispatchQueue' in scope
 46 |         self.parent = parent
 47 |         self.name = name ?? "UnnamedContainer.\(Container.counter)"
 48 |         queue = DispatchQueue(label: "container.\(self.name)", attributes: [ .concurrent ])
    |                 `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |         Container.counter += 1
/host/spi-builder-workspace/Sources/Container.swift:48:79: error: reference to member 'concurrent' cannot be resolved without a contextual type
 46 |         self.parent = parent
 47 |         self.name = name ?? "UnnamedContainer.\(Container.counter)"
 48 |         queue = DispatchQueue(label: "container.\(self.name)", attributes: [ .concurrent ])
    |                                                                               `- error: reference to member 'concurrent' cannot be resolved without a contextual type
 49 |
 50 |         Container.counter += 1
/host/spi-builder-workspace/Sources/Container.swift:121:29: error: cannot infer contextual base in reference to member 'barrier'
119 |
120 |         let alternativeKey = alternative ?? defaultAlternativeKey
121 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
122 |             let nonOptionalObjectId = ObjectIdentifier(D.self)
123 |             let optionalObjectId = ObjectIdentifier(Optional<D>.self)
/host/spi-builder-workspace/Sources/Container.swift:150:29: error: cannot infer contextual base in reference to member 'barrier'
148 |
149 |         let alternativeKey = alternative ?? defaultAlternativeKey
150 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
151 |             let nonOptionalObjectId = ObjectIdentifier(D.self)
152 |             let optionalObjectId = ObjectIdentifier(Optional<D>.self)
/host/spi-builder-workspace/Sources/Container.swift:210:29: error: cannot infer contextual base in reference to member 'barrier'
208 |     /// Removes all resolvers.
209 |     public func cleanup(file: StaticString = #fileID, function: String = #function, line: UInt = #line) {
210 |         queue.async(flags: .barrier) { [self] in
    |                             `- error: cannot infer contextual base in reference to member 'barrier'
211 |             typeResolvers = [:]
212 |             typeParametrizedResolvers = [:]
[13/13] Compiling Macaroni RegistrationAlternative.swift
BUILD FAILURE 6.3 wasm