The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LoggingCamp, reference main (385866), with Swift 6.3 for Wasm on 16 Apr 2026 06:07:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/DariuszGulbicki/Logging-Camp.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/DariuszGulbicki/Logging-Camp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3858669 Merge pull request #7 from DariuszGulbicki/full-refactor
Cloned https://github.com/DariuszGulbicki/Logging-Camp.git
Revision (git rev-parse @):
385866908f45d3a89f68a6c7b658dff4a11b76ed
SUCCESS checkout https://github.com/DariuszGulbicki/Logging-Camp.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/DariuszGulbicki/Logging-Camp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/DariuszGulbicki/Colorizer
[1/59] Fetching colorizer
Fetched https://github.com/DariuszGulbicki/Colorizer from cache (0.21s)
Computing version for https://github.com/DariuszGulbicki/Colorizer
Computed https://github.com/DariuszGulbicki/Colorizer at 1.2.0 (3.14s)
Creating working copy for https://github.com/DariuszGulbicki/Colorizer
Working copy of https://github.com/DariuszGulbicki/Colorizer resolved at 1.2.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Colorizer StringEffects.swift
[5/7] Compiling Colorizer EffectEscapeCode.swift
[6/7] Emitting module Colorizer
[7/7] Compiling Colorizer Colorizer.swift
[9/19] Compiling LoggingCamp LogHandlerManager.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:106: error: cannot infer contextual base in reference to member 'concurrent'
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:10:35: error: cannot infer contextual base in reference to member 'barrier'
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
10 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
11 |             handlers[handlerId] = handler
12 |         }
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:22:35: error: cannot infer contextual base in reference to member 'barrier'
20 |
21 |     public static func disableHandler(_ handlerId: String) {
22 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
23 |             disabledHandlers.append(handlerId)
24 |         }
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:28:35: error: cannot infer contextual base in reference to member 'barrier'
26 |
27 |     public static func enableHandler(_ handlerId: String) {
28 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
29 |             disabledHandlers.removeAll(where: { $0 == handlerId })
30 |         }
[10/19] Compiling LoggingCamp LogLevel.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:106: error: cannot infer contextual base in reference to member 'concurrent'
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:10:35: error: cannot infer contextual base in reference to member 'barrier'
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
10 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
11 |             handlers[handlerId] = handler
12 |         }
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:22:35: error: cannot infer contextual base in reference to member 'barrier'
20 |
21 |     public static func disableHandler(_ handlerId: String) {
22 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
23 |             disabledHandlers.append(handlerId)
24 |         }
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:28:35: error: cannot infer contextual base in reference to member 'barrier'
26 |
27 |     public static func enableHandler(_ handlerId: String) {
28 |         handlerQueue.sync(flags: .barrier) {
   |                                   `- error: cannot infer contextual base in reference to member 'barrier'
29 |             disabledHandlers.removeAll(where: { $0 == handlerId })
30 |         }
[11/20] Compiling LoggingCamp LogDispatcher.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |
 6 |     public static let shared = LogDispatcher()
 7 |     public static let instanceQueue = DispatchQueue(label: "LoggingCamp.LogDispatcher")
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     private init() {
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:15:41: error: cannot find type 'DispatchQueue' in scope
13 |     }
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
   |                                         `- error: cannot find type 'DispatchQueue' in scope
16 |     private let dispatchGroup = DispatchGroup()
17 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:16:33: error: cannot find 'DispatchGroup' in scope
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
16 |     private let dispatchGroup = DispatchGroup()
   |                                 `- error: cannot find 'DispatchGroup' in scope
17 |
18 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:19:59: error: cannot find type 'DispatchQueue' in scope
17 |
18 |
19 |     private func getQueueForHandler(_ handler: String) -> DispatchQueue {
   |                                                           `- error: cannot find type 'DispatchQueue' in scope
20 |         // Use instanceQueue for thread-safe access to handlerQueues
21 |         return LogDispatcher.instanceQueue.sync {
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:25:25: error: cannot find 'DispatchQueue' in scope
23 |                 return queue
24 |             }
25 |             let queue = DispatchQueue(label: handler, qos: .background)
   |                         `- error: cannot find 'DispatchQueue' in scope
26 |             handlerQueues[handler] = queue
27 |             return queue
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:36:33: error: cannot infer contextual base in reference to member 'barrier'
34 |             dispatchGroup.enter()
35 |             let queue = getQueueForHandler(handlerId)
36 |             queue.async(flags: .barrier) {
   |                                 `- error: cannot infer contextual base in reference to member 'barrier'
37 |                 handler.log(entry)
38 |                 self.dispatchGroup.leave()
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:44:51: error: cannot call value of non-function type 'Date'
42 |
43 |     private func flushLogs() {
44 |         let result = dispatchGroup.wait(timeout: .now() + 10)
   |                                                   `- error: cannot call value of non-function type 'Date'
45 |         if result == .timedOut {
46 |             print("⚠️ Log flushing incomplete! Timeout waiting for logs to finish.")
[12/20] Compiling LoggingCamp LogEntry.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |
 6 |     public static let shared = LogDispatcher()
 7 |     public static let instanceQueue = DispatchQueue(label: "LoggingCamp.LogDispatcher")
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     private init() {
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:15:41: error: cannot find type 'DispatchQueue' in scope
13 |     }
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
   |                                         `- error: cannot find type 'DispatchQueue' in scope
16 |     private let dispatchGroup = DispatchGroup()
17 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:16:33: error: cannot find 'DispatchGroup' in scope
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
16 |     private let dispatchGroup = DispatchGroup()
   |                                 `- error: cannot find 'DispatchGroup' in scope
17 |
18 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:19:59: error: cannot find type 'DispatchQueue' in scope
17 |
18 |
19 |     private func getQueueForHandler(_ handler: String) -> DispatchQueue {
   |                                                           `- error: cannot find type 'DispatchQueue' in scope
20 |         // Use instanceQueue for thread-safe access to handlerQueues
21 |         return LogDispatcher.instanceQueue.sync {
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:25:25: error: cannot find 'DispatchQueue' in scope
23 |                 return queue
24 |             }
25 |             let queue = DispatchQueue(label: handler, qos: .background)
   |                         `- error: cannot find 'DispatchQueue' in scope
26 |             handlerQueues[handler] = queue
27 |             return queue
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:36:33: error: cannot infer contextual base in reference to member 'barrier'
34 |             dispatchGroup.enter()
35 |             let queue = getQueueForHandler(handlerId)
36 |             queue.async(flags: .barrier) {
   |                                 `- error: cannot infer contextual base in reference to member 'barrier'
37 |                 handler.log(entry)
38 |                 self.dispatchGroup.leave()
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:44:51: error: cannot call value of non-function type 'Date'
42 |
43 |     private func flushLogs() {
44 |         let result = dispatchGroup.wait(timeout: .now() + 10)
   |                                                   `- error: cannot call value of non-function type 'Date'
45 |         if result == .timedOut {
46 |             print("⚠️ Log flushing incomplete! Timeout waiting for logs to finish.")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/20] Emitting module LoggingCamp
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |
 6 |     public static let shared = LogDispatcher()
 7 |     public static let instanceQueue = DispatchQueue(label: "LoggingCamp.LogDispatcher")
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     private init() {
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:15:41: error: cannot find type 'DispatchQueue' in scope
13 |     }
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
   |                                         `- error: cannot find type 'DispatchQueue' in scope
16 |     private let dispatchGroup = DispatchGroup()
17 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:16:33: error: cannot find 'DispatchGroup' in scope
14 |
15 |     private var handlerQueues: [String: DispatchQueue] = [:]
16 |     private let dispatchGroup = DispatchGroup()
   |                                 `- error: cannot find 'DispatchGroup' in scope
17 |
18 |
/host/spi-builder-workspace/Sources/LoggingCamp/LogDispatcher.swift:19:59: error: cannot find type 'DispatchQueue' in scope
17 |
18 |
19 |     private func getQueueForHandler(_ handler: String) -> DispatchQueue {
   |                                                           `- error: cannot find type 'DispatchQueue' in scope
20 |         // Use instanceQueue for thread-safe access to handlerQueues
21 |         return LogDispatcher.instanceQueue.sync {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:39: error: cannot find 'DispatchQueue' in scope
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                       `- error: cannot find 'DispatchQueue' in scope
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LogHandlerManager.swift:7:106: error: cannot infer contextual base in reference to member 'concurrent'
 5 |     nonisolated(unsafe) private static var handlers: [String: LogHandler] = ["default": ColoredPrintLogHandler()]
 6 |     nonisolated(unsafe) private static var disabledHandlers: [String] = []
 7 |     private static let handlerQueue = DispatchQueue(label: "LoggingCamp.LogHandlerManager", attributes: .concurrent)
   |                                                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 8 |
 9 |     public static func loadHandler(_ handlerId: String, _ handler: LogHandler) {
/host/spi-builder-workspace/Sources/LoggingCamp/LoggerPool.swift:6:36: error: cannot find 'DispatchQueue' in scope
  4 |
  5 |     nonisolated(unsafe) private static var _pools: [String:LoggerPool] = [:]
  6 |     private static let poolQueue = DispatchQueue(label: "pl.dariuszgulbicki.loggingcamp.poolqueue")
    |                                    `- error: cannot find 'DispatchQueue' in scope
  7 |
  8 |     public static var pools: [String:LoggerPool] {
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:9:38: error: cannot find 'DispatchQueue' in scope
 7 |     nonisolated(unsafe) private static var defaultLoggerId: String = "Main"
 8 |
 9 |     private static let configQueue = DispatchQueue(label: "LoggingCamp.LoggingConfig", attributes: .concurrent)
   |                                      `- error: cannot find 'DispatchQueue' in scope
10 |
11 |     public static func setDefaultLoggingLevel(_ level: LogLevel) {
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:9:101: error: cannot infer contextual base in reference to member 'concurrent'
 7 |     nonisolated(unsafe) private static var defaultLoggerId: String = "Main"
 8 |
 9 |     private static let configQueue = DispatchQueue(label: "LoggingCamp.LoggingConfig", attributes: .concurrent)
   |                                                                                                     `- error: cannot infer contextual base in reference to member 'concurrent'
10 |
11 |     public static func setDefaultLoggingLevel(_ level: LogLevel) {
[14/20] Compiling LoggingCamp Operators.swift
[15/20] Compiling LoggingCamp ColoredPrintLogHandler.swift
[16/20] Compiling LoggingCamp Logger.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LoggerPool.swift:6:36: error: cannot find 'DispatchQueue' in scope
  4 |
  5 |     nonisolated(unsafe) private static var _pools: [String:LoggerPool] = [:]
  6 |     private static let poolQueue = DispatchQueue(label: "pl.dariuszgulbicki.loggingcamp.poolqueue")
    |                                    `- error: cannot find 'DispatchQueue' in scope
  7 |
  8 |     public static var pools: [String:LoggerPool] {
[17/20] Compiling LoggingCamp LoggerPool.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LoggerPool.swift:6:36: error: cannot find 'DispatchQueue' in scope
  4 |
  5 |     nonisolated(unsafe) private static var _pools: [String:LoggerPool] = [:]
  6 |     private static let poolQueue = DispatchQueue(label: "pl.dariuszgulbicki.loggingcamp.poolqueue")
    |                                    `- error: cannot find 'DispatchQueue' in scope
  7 |
  8 |     public static var pools: [String:LoggerPool] {
[18/20] Compiling LoggingCamp LogHandler.swift
[19/20] Compiling LoggingCamp LoggingConfig.swift
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:9:38: error: cannot find 'DispatchQueue' in scope
 7 |     nonisolated(unsafe) private static var defaultLoggerId: String = "Main"
 8 |
 9 |     private static let configQueue = DispatchQueue(label: "LoggingCamp.LoggingConfig", attributes: .concurrent)
   |                                      `- error: cannot find 'DispatchQueue' in scope
10 |
11 |     public static func setDefaultLoggingLevel(_ level: LogLevel) {
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:9:101: error: cannot infer contextual base in reference to member 'concurrent'
 7 |     nonisolated(unsafe) private static var defaultLoggerId: String = "Main"
 8 |
 9 |     private static let configQueue = DispatchQueue(label: "LoggingCamp.LoggingConfig", attributes: .concurrent)
   |                                                                                                     `- error: cannot infer contextual base in reference to member 'concurrent'
10 |
11 |     public static func setDefaultLoggingLevel(_ level: LogLevel) {
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:12:34: error: cannot infer contextual base in reference to member 'barrier'
10 |
11 |     public static func setDefaultLoggingLevel(_ level: LogLevel) {
12 |         configQueue.sync(flags: .barrier) {
   |                                  `- error: cannot infer contextual base in reference to member 'barrier'
13 |             defaultLoggingLevel = level
14 |             LoggerPool.pools.values.forEach { $0.loggingLevel = level }
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:25:34: error: cannot infer contextual base in reference to member 'barrier'
23 |
24 |     public static func setDefaultLoggerPoolId(_ poolId: String) {
25 |         configQueue.sync(flags: .barrier) {
   |                                  `- error: cannot infer contextual base in reference to member 'barrier'
26 |             defaultLoggerPoolId = poolId
27 |         }
/host/spi-builder-workspace/Sources/LoggingCamp/LoggingConfig.swift:37:34: error: cannot infer contextual base in reference to member 'barrier'
35 |
36 |     public static func setDefaultLoggerId(_ loggerId: String) {
37 |         configQueue.sync(flags: .barrier) {
   |                                  `- error: cannot infer contextual base in reference to member 'barrier'
38 |             defaultLoggerId = loggerId
39 |         }
[20/20] Compiling LoggingCamp PrintLogHandler.swift
BUILD FAILURE 6.3 wasm