The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Logger, reference main (c6d619), with Swift 6.1 for Wasm on 29 May 2025 22:21:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/elegantchaos/Logger.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/elegantchaos/Logger
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c6d6198 bumped minimum iOS to 13
Cloned https://github.com/elegantchaos/Logger.git
Revision (git rev-parse @):
c6d619809e9a658331a70514340f4246f5f05134
SUCCESS checkout https://github.com/elegantchaos/Logger.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Logger.git
https://github.com/elegantchaos/Logger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Logger",
  "name" : "Logger",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Logger",
      "targets" : [
        "Logger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LoggerUI",
      "targets" : [
        "LoggerUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LoggerKit",
      "targets" : [
        "LoggerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LoggerTestSupport",
      "targets" : [
        "LoggerTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggerUI",
      "module_type" : "SwiftTarget",
      "name" : "LoggerUI",
      "path" : "Sources/LoggerUI",
      "product_memberships" : [
        "LoggerUI"
      ],
      "sources" : [
        "LoggerChannelsView.swift"
      ],
      "target_dependencies" : [
        "Logger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggerTests",
      "path" : "Tests/LoggerTests",
      "sources" : [
        "LoggerTests.swift",
        "UserDefaultsTests.swift"
      ],
      "target_dependencies" : [
        "Logger",
        "LoggerTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggerTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "LoggerTestSupport",
      "path" : "Sources/LoggerTestSupport",
      "product_memberships" : [
        "LoggerTestSupport"
      ],
      "sources" : [
        "XCTest+Logger.swift"
      ],
      "target_dependencies" : [
        "Logger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LoggerKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggerKitTests",
      "path" : "Tests/LoggerKitTests",
      "sources" : [
        "ChainableResponderTests.swift"
      ],
      "target_dependencies" : [
        "LoggerKit",
        "LoggerTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggerKit",
      "module_type" : "SwiftTarget",
      "name" : "LoggerKit",
      "path" : "Sources/LoggerKit",
      "product_memberships" : [
        "LoggerKit"
      ],
      "sources" : [
        "ChainableResponder.swift",
        "LoggerApplication+AppKit.swift",
        "LoggerApplication+LoggerMenu.swift",
        "LoggerApplication+UIKit.swift",
        "LoggerApplication.swift",
        "LoggerMenu+AppKit.swift",
        "LoggerMenu+UIKit.swift",
        "LoggerScene.swift",
        "LoggerSettingsView.swift"
      ],
      "target_dependencies" : [
        "Logger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Logger",
      "module_type" : "SwiftTarget",
      "name" : "Logger",
      "path" : "Sources/Logger",
      "product_memberships" : [
        "Logger",
        "LoggerUI",
        "LoggerKit",
        "LoggerTestSupport"
      ],
      "sources" : [
        "Channel.swift",
        "Context.swift",
        "Handler.swift",
        "Manager.swift",
        "ManagerSettings.swift",
        "NSLogHandler.swift",
        "OSLogHandler.swift",
        "PrintHandler.swift",
        "UserDefaultsManagerSettings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling Logger PrintHandler.swift
[7/14] Compiling Logger OSLogHandler.swift
[8/15] Compiling Logger NSLogHandler.swift
[9/15] Compiling Logger ManagerSettings.swift
[10/15] Compiling Logger Handler.swift
[11/15] Compiling Logger Manager.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/Sources/Logger/Manager.swift:59:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | /// whether or not they should share a single settings object.
 22 |
 23 | public class Manager {
    |              `- note: class 'Manager' does not conform to the 'Sendable' protocol
 24 |     typealias AssociatedChannelData = [Channel: Any]
 25 |     typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
    :
 57 |      */
 58 |
 59 |     public static let shared = initDefaultManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' 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
 60 |
 61 |     /// Initialise the default log manager.
/host/spi-builder-workspace/Sources/Logger/Manager.swift:66:26: error: cannot find 'Thread' in scope
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                          `- error: cannot find 'Thread' in scope
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/Sources/Logger/Manager.swift:74:13: error: cannot find 'Thread' in scope
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |             `- error: cannot find 'Thread' in scope
 75 |         #endif
 76 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/15] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |      */
 20 |
 21 |     public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
    |                       |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
 9 |  */
10 |
11 | public class PrintHandler: Handler {
   |              `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 |     public convenience init() {
13 |         self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |     }
 41 |
 42 |     public static let defaultHandler = initDefaultHandler()
    |                       |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 |  */
13 |
14 | public class Handler {
   |              `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 |     let name: String
16 |     let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |     /**
 17 |      Default log handler which prints to standard out,
    :
 63 |      */
 64 |
 65 |     public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     public let name: String
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/Sources/Logger/Manager.swift:59:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | /// whether or not they should share a single settings object.
 22 |
 23 | public class Manager {
    |              `- note: class 'Manager' does not conform to the 'Sendable' protocol
 24 |     typealias AssociatedChannelData = [Channel: Any]
 25 |     typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
    :
 57 |      */
 58 |
 59 |     public static let shared = initDefaultManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' 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
 60 |
 61 |     /// Initialise the default log manager.
[13/15] Compiling Logger Channel.swift
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |      */
 20 |
 21 |     public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
    |                       |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
 9 |  */
10 |
11 | public class PrintHandler: Handler {
   |              `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 |     public convenience init() {
13 |         self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |     }
 41 |
 42 |     public static let defaultHandler = initDefaultHandler()
    |                       |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 |  */
13 |
14 | public class Handler {
   |              `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 |     let name: String
16 |     let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |     /**
 17 |      Default log handler which prints to standard out,
    :
 63 |      */
 64 |
 65 |     public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     public let name: String
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[14/15] Compiling Logger Context.swift
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |      */
 20 |
 21 |     public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
    |                       |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
 9 |  */
10 |
11 | public class PrintHandler: Handler {
   |              `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 |     public convenience init() {
13 |         self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |     }
 41 |
 42 |     public static let defaultHandler = initDefaultHandler()
    |                       |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 |  */
13 |
14 | public class Handler {
   |              `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 |     let name: String
16 |     let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |     /**
 17 |      Default log handler which prints to standard out,
    :
 63 |      */
 64 |
 65 |     public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     public let name: String
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[15/15] Compiling Logger UserDefaultsManagerSettings.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/10] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[3/11] Compiling Logger PrintHandler.swift
[4/11] Compiling Logger OSLogHandler.swift
[5/11] Compiling Logger NSLogHandler.swift
[6/11] Compiling Logger ManagerSettings.swift
[7/11] Compiling Logger Manager.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/Sources/Logger/Manager.swift:66:26: error: cannot find 'Thread' in scope
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                          `- error: cannot find 'Thread' in scope
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/Sources/Logger/Manager.swift:74:13: error: cannot find 'Thread' in scope
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |             `- error: cannot find 'Thread' in scope
 75 |         #endif
 76 |
[8/11] Compiling Logger Handler.swift
[9/11] Compiling Logger Channel.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[10/11] Compiling Logger Context.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[11/11] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.1 wasm