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 JSONSession, reference v1.1.1 (636fdf), with Swift 6.1 for Wasm on 28 May 2025 08:21:39 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/JSONSession.git
Reference: v1.1.1
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/JSONSession
 * tag               v1.1.1     -> FETCH_HEAD
HEAD is now at 636fdf1 Upped watchOS minimum to v6.
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
636fdf1fc8050f619e5299892c1ac0b95fd6677f
SUCCESS checkout https://github.com/elegantchaos/JSONSession.git at v1.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/JSONSession.git
https://github.com/elegantchaos/JSONSession.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "coercion",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Coercion.git"
    },
    {
      "identity" : "datafetcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/DataFetcher.git"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    },
    {
      "identity" : "actionbuilderplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ActionBuilderPlugin.git"
    },
    {
      "identity" : "swiftformatterplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/SwiftFormatterPlugin.git"
    }
  ],
  "manifest_display_name" : "JSONSession",
  "name" : "JSONSession",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONSession",
      "targets" : [
        "JSONSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONSessionTests",
      "path" : "Tests/JSONSessionTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "JSONSessionTests.swift",
        "LinuxShimTests.swift"
      ],
      "target_dependencies" : [
        "JSONSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONSession",
      "module_type" : "SwiftTarget",
      "name" : "JSONSession",
      "path" : "Sources/JSONSession",
      "product_dependencies" : [
        "Coercion",
        "DataFetcher",
        "Logger"
      ],
      "product_memberships" : [
        "JSONSession"
      ],
      "sources" : [
        "Failure.swift",
        "Processor.swift",
        "ProcessorGroup.swift",
        "Query.swift",
        "Request.swift",
        "Resource.swift",
        "ResourceResolver.swift",
        "Session.swift",
        "TimeExtensions.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
Fetching https://github.com/elegantchaos/DataFetcher.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Coercion.git
[1/87] Fetching swiftformatterplugin
[88/259] Fetching swiftformatterplugin, datafetcher
[260/830] Fetching swiftformatterplugin, datafetcher, xctestextensions
[369/1104] Fetching swiftformatterplugin, datafetcher, xctestextensions, coercion
[1105/1248] Fetching swiftformatterplugin, datafetcher, xctestextensions, coercion, actionbuilderplugin
[1249/3299] Fetching swiftformatterplugin, datafetcher, xctestextensions, coercion, actionbuilderplugin, logger
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.40s)
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.40s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.40s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.40s)
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.40s)
Fetched https://github.com/elegantchaos/DataFetcher.git from cache (0.41s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (1.47s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48182] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (23.97s)
Computing version for https://github.com/elegantchaos/DataFetcher.git
Computed https://github.com/elegantchaos/DataFetcher.git at 1.0.2 (28.91s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.8 (1.42s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/462] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.53s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 1.1.1 (1.10s)
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/676] Fetching runner
[177/828] Fetching runner, semanticversion
[829/1212] Fetching runner, semanticversion, versionator
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.26s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.26s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.26s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (1.09s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.48s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.51s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.1.3 (0.48s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.51s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.77s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.24s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.91s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.50s)
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.8
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Working copy of https://github.com/elegantchaos/SwiftFormatterPlugin.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Coercion.git
Working copy of https://github.com/elegantchaos/Coercion.git resolved at 1.1.3
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/DataFetcher.git
Working copy of https://github.com/elegantchaos/DataFetcher.git resolved at 1.0.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Runner Runner.swift
[5/9] Emitting module Runner
[6/10] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin ActionBuilderPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/33] Compiling Logger PrintHandler.swift
[11/34] Compiling Logger OSLogHandler.swift
[12/34] Compiling Logger NSLogHandler.swift
[13/34] Compiling Coercion StringConvertible.swift
[14/34] Compiling Coercion UIntConvertible.swift
[15/34] Compiling Coercion IntConvertible.swift
[16/34] Compiling Coercion StandardConvertible.swift
[17/35] Compiling Logger UserDefaultsManagerSettings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/35] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/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 |     /**
[19/35] Compiling Logger Channel.swift
/host/spi-builder-workspace/.build/checkouts/Logger/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 |     /**
[20/35] Compiling Logger Context.swift
/host/spi-builder-workspace/.build/checkouts/Logger/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 |     /**
[21/35] Compiling Coercion DateConvertible.swift
[22/35] Compiling Coercion DoubleConvertible.swift
[23/35] Compiling Coercion String+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/String+Coercion.swift:46:11: error: cannot find type 'CFBoolean' in scope
44 |
45 | #if !os(Linux)
46 | extension CFBoolean: StringConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
47 |     public var asString: String? { self == kCFBooleanTrue ? "true" : "false" }
48 | }
[26/35] Compiling Coercion Dictionary+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
[27/35] Compiling Coercion Double+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
[28/35] Compiling Logger Handler.swift
[29/35] Compiling Coercion BinaryInteger+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
[30/35] Compiling Coercion Bool+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/35] Compiling Coercion BoolConvertible.swift
[32/35] Compiling Coercion DataConvertible.swift
[33/35] Emitting module Coercion
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/String+Coercion.swift:46:11: error: cannot find type 'CFBoolean' in scope
44 |
45 | #if !os(Linux)
46 | extension CFBoolean: StringConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
47 |     public var asString: String? { self == kCFBooleanTrue ? "true" : "false" }
48 | }
[34/35] Compiling Logger ManagerSettings.swift
[35/35] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/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/.build/checkouts/Logger/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/.build/checkouts/Logger/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 |
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Runner Runner.swift
[3/7] Emitting module Runner
[5/9] Compiling VersionatorTool VersionatorTool.swift
[6/9] Emitting module VersionatorTool
[7/9] Write Objects.LinkFileList
[8/9] Linking VersionatorTool-tool
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin ActionBuilderPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling Coercion IntConvertible.swift
[7/29] Compiling Coercion StandardConvertible.swift
[8/29] Compiling Coercion StringConvertible.swift
[9/29] Compiling Coercion UIntConvertible.swift
[10/29] Compiling Coercion DateConvertible.swift
[11/29] Compiling Coercion DoubleConvertible.swift
[12/30] Compiling Logger NSLogHandler.swift
[13/31] Compiling Coercion BoolConvertible.swift
[14/31] Compiling Coercion DataConvertible.swift
[15/31] Compiling Coercion Dictionary+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
[16/31] Compiling Coercion Double+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] Emitting module Coercion
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Double+Coercion.swift:35:11: error: cannot find type 'CFBoolean' in scope
33 |
34 | #if !os(Linux)
35 | extension CFBoolean: DoubleConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
36 |     public var asDouble: Double? { self == kCFBooleanTrue ? 1.0 : 0.0 }
37 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/String+Coercion.swift:46:11: error: cannot find type 'CFBoolean' in scope
44 |
45 | #if !os(Linux)
46 | extension CFBoolean: StringConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
47 |     public var asString: String? { self == kCFBooleanTrue ? "true" : "false" }
48 | }
[18/31] Compiling Coercion BinaryInteger+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
[19/31] Compiling Coercion Bool+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:39:11: error: cannot find type 'CFBoolean' in scope
37 |
38 | #if !os(Linux)
39 | extension CFBoolean: IntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
40 |     public var asInt: Int? { self == kCFBooleanTrue ? 1 : 0 }
41 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/BinaryInteger+Coercion.swift:43:11: error: cannot find type 'CFBoolean' in scope
41 | }
42 |
43 | extension CFBoolean: UIntConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
44 |     public var asUInt: UInt? { self == kCFBooleanTrue ? 1 : 0 }
45 | }
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/Bool+Coercion.swift:33:11: error: cannot find type 'CFBoolean' in scope
31 |
32 | #if !os(Linux)
33 | extension CFBoolean: BoolConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
34 |     public var asBool: Bool? { self == kCFBooleanTrue }
35 | }
[20/31] Compiling Logger Channel.swift
[21/31] Compiling Logger Context.swift
[22/31] Compiling Logger OSLogHandler.swift
[23/31] Compiling Logger PrintHandler.swift
[24/31] Compiling Logger ManagerSettings.swift
[25/31] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/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/.build/checkouts/Logger/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/.build/checkouts/Logger/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 |
[26/31] Compiling Logger Handler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/31] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/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/.build/checkouts/Logger/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/.build/checkouts/Logger/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 |     /**
[30/31] Compiling Coercion String+Coercion.swift
/host/spi-builder-workspace/.build/checkouts/Coercion/Sources/Coercion/String+Coercion.swift:46:11: error: cannot find type 'CFBoolean' in scope
44 |
45 | #if !os(Linux)
46 | extension CFBoolean: StringConvertible {
   |           `- error: cannot find type 'CFBoolean' in scope
47 |     public var asString: String? { self == kCFBooleanTrue ? "true" : "false" }
48 | }
[31/31] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.1 wasm