The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lexical, reference 0.2.0 (4a85d2), with Swift 6.1 for Wasm on 28 May 2025 23:27:05 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/facebook/lexical-ios.git
Reference: 0.2.0
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/facebook/lexical-ios
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 4a85d22 Release notes v0.2 (#48)
Cloned https://github.com/facebook/lexical-ios.git
Revision (git rev-parse @):
4a85d223a2e1e8683e49569a1ad172bdbf84cbc6
SUCCESS checkout https://github.com/facebook/lexical-ios.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/facebook/lexical-ios.git
https://github.com/facebook/lexical-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.6.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    }
  ],
  "manifest_display_name" : "Lexical",
  "name" : "Lexical",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Lexical",
      "targets" : [
        "Lexical"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LexicalListPlugin",
      "targets" : [
        "LexicalListPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LexicalListHTMLSupport",
      "targets" : [
        "LexicalListHTMLSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LexicalHTML",
      "targets" : [
        "LexicalHTML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LexicalLinkPlugin",
      "targets" : [
        "LexicalLinkPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LexicalInlineImagePlugin",
      "targets" : [
        "LexicalInlineImagePlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SelectableDecoratorNode",
      "targets" : [
        "SelectableDecoratorNode"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EditorHistoryPlugin",
      "targets" : [
        "EditorHistoryPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SelectableDecoratorNode",
      "module_type" : "SwiftTarget",
      "name" : "SelectableDecoratorNode",
      "path" : "Plugins/SelectableDecoratorNode/SelectableDecoratorNode",
      "product_memberships" : [
        "LexicalInlineImagePlugin",
        "SelectableDecoratorNode"
      ],
      "sources" : [
        "SelectableDecoratorNode.swift",
        "SelectableDecoratorView.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LexicalTests",
      "module_type" : "SwiftTarget",
      "name" : "LexicalTests",
      "path" : "LexicalTests",
      "sources" : [
        "Helpers/NodeTreeCreationHelpers.swift",
        "Helpers/TestAttributesNode.swift",
        "Tests/AttributesUtilsTests.swift",
        "Tests/CodeNodeTests.swift",
        "Tests/DecoratorNodeTests.swift",
        "Tests/EditorState.swift",
        "Tests/ElementNodeTests.swift",
        "Tests/GarbageCollectionTests.swift",
        "Tests/MutationsTests.swift",
        "Tests/NodeTests.swift",
        "Tests/ParagraphNodeTests.swift",
        "Tests/PluginTests.swift",
        "Tests/RangeCacheTests.swift",
        "Tests/ReconcilerTests.swift",
        "Tests/SelectionHelpersTests.swift",
        "Tests/SelectionTests.swift",
        "Tests/SelectionUtilsTests.swift",
        "Tests/SerializationTests.swift",
        "Tests/TextViewTests.swift",
        "Tests/TransformsTests.swift",
        "Tests/UnknownNodeTests.swift",
        "Tests/UpdatesTests.swift",
        "Tests/UtilsTests.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LexicalListPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "LexicalListPluginTests",
      "path" : "Plugins/LexicalListPlugin/LexicalListPluginTests",
      "sources" : [
        "ListItemNodeTests.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "LexicalListPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LexicalListPlugin",
      "module_type" : "SwiftTarget",
      "name" : "LexicalListPlugin",
      "path" : "Plugins/LexicalListPlugin/LexicalListPlugin",
      "product_memberships" : [
        "LexicalListPlugin",
        "LexicalListHTMLSupport"
      ],
      "sources" : [
        "ListItemAttribute.swift",
        "ListItemNode.swift",
        "ListNode.swift",
        "ListPlugin.swift",
        "ListStyleEvents.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LexicalListHTMLSupport",
      "module_type" : "SwiftTarget",
      "name" : "LexicalListHTMLSupport",
      "path" : "Plugins/LexicalListPlugin/LexicalListHTMLSupport",
      "product_memberships" : [
        "LexicalListHTMLSupport"
      ],
      "sources" : [
        "LexicalListHTMLSupport.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "LexicalListPlugin",
        "LexicalHTML"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LexicalLinkPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "LexicalLinkPluginTests",
      "path" : "Plugins/LexicalLinkPlugin/LexicalLinkPluginTests",
      "sources" : [
        "LinkNodeTests.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "LexicalLinkPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LexicalLinkPlugin",
      "module_type" : "SwiftTarget",
      "name" : "LexicalLinkPlugin",
      "path" : "Plugins/LexicalLinkPlugin/LexicalLinkPlugin",
      "product_memberships" : [
        "LexicalLinkPlugin"
      ],
      "sources" : [
        "LinkPlugin.swift",
        "Nodes/LinkNode.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LexicalInlineImagePluginTests",
      "module_type" : "SwiftTarget",
      "name" : "LexicalInlineImagePluginTests",
      "path" : "Plugins/LexicalInlineImagePlugin/LexicalInlineImagePluginTests",
      "sources" : [
        "InlineImageTests.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "LexicalInlineImagePlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LexicalInlineImagePlugin",
      "module_type" : "SwiftTarget",
      "name" : "LexicalInlineImagePlugin",
      "path" : "Plugins/LexicalInlineImagePlugin/LexicalInlineImagePlugin",
      "product_memberships" : [
        "LexicalInlineImagePlugin"
      ],
      "sources" : [
        "InlineImagePlugin.swift",
        "Nodes/ImageNode.swift",
        "Nodes/SelectableImageNode.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "SelectableDecoratorNode"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LexicalHTMLTests",
      "module_type" : "SwiftTarget",
      "name" : "LexicalHTMLTests",
      "path" : "Plugins/LexicalHTML/LexicalHTMLTests",
      "product_dependencies" : [
        "SwiftSoup"
      ],
      "sources" : [
        "LexicalHTMLTests.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "LexicalHTML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LexicalHTML",
      "module_type" : "SwiftTarget",
      "name" : "LexicalHTML",
      "path" : "Plugins/LexicalHTML/LexicalHTML",
      "product_dependencies" : [
        "SwiftSoup"
      ],
      "product_memberships" : [
        "LexicalListHTMLSupport",
        "LexicalHTML"
      ],
      "sources" : [
        "CoreNodesHTMLSupport.swift",
        "HTMLPlugin.swift",
        "HTMLUtils.swift",
        "NodeHTMLSupport.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Lexical",
      "module_type" : "SwiftTarget",
      "name" : "Lexical",
      "path" : "Lexical",
      "product_memberships" : [
        "Lexical",
        "LexicalListPlugin",
        "LexicalListHTMLSupport",
        "LexicalHTML",
        "LexicalLinkPlugin",
        "LexicalInlineImagePlugin",
        "SelectableDecoratorNode",
        "EditorHistoryPlugin"
      ],
      "sources" : [
        "Core/Constants.swift",
        "Core/Editor.swift",
        "Core/EditorState.swift",
        "Core/Errors.swift",
        "Core/Events.swift",
        "Core/FeatureFlags.swift",
        "Core/GarbageCollection.swift",
        "Core/Mutations.swift",
        "Core/Nodes/CodeHighlightNode.swift",
        "Core/Nodes/CodeNode.swift",
        "Core/Nodes/DecoratorNode.swift",
        "Core/Nodes/ElementNode.swift",
        "Core/Nodes/HeadingNode.swift",
        "Core/Nodes/LineBreakNode.swift",
        "Core/Nodes/Node.swift",
        "Core/Nodes/ParagraphNode.swift",
        "Core/Nodes/QuoteNode.swift",
        "Core/Nodes/RootNode.swift",
        "Core/Nodes/TextNode.swift",
        "Core/Nodes/UnknownNode.swift",
        "Core/Reconciler.swift",
        "Core/Selection/BaseSelection.swift",
        "Core/Selection/GridSelection.swift",
        "Core/Selection/NodeSelection.swift",
        "Core/Selection/Point.swift",
        "Core/Selection/RangeSelection.swift",
        "Core/Selection/SelectionUtils.swift",
        "Core/Serialization.swift",
        "Core/StyleEvents.swift",
        "Core/TextUtils.swift",
        "Core/Updates.swift",
        "Core/Utils.swift",
        "Helper/AttributesUtils.swift",
        "Helper/CopyPasteHelpers.swift",
        "Helper/Logging.swift",
        "Helper/NSAttributedStringKey+Extensions.swift",
        "Helper/ObjCHelpers.swift",
        "Helper/RangeHelpers.swift",
        "Helper/SelectionHelpers.swift",
        "Helper/Theme.swift",
        "LexicalView/FrontendProtocol.swift",
        "LexicalView/LexicalView.swift",
        "LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift",
        "LexicalView/ReadOnly/LexicalReadOnlyView.swift",
        "LexicalView/ResponderForNodeSelection.swift",
        "Plugin/Plugin.swift",
        "TextKit/LayoutManager.swift",
        "TextKit/LayoutManagerDelegate.swift",
        "TextKit/RangeCache.swift",
        "TextKit/TextAttachment.swift",
        "TextKit/TextContainer.swift",
        "TextKit/TextKitUtils.swift",
        "TextKit/TextStorage.swift",
        "TextView/InputDelegateProxy.swift",
        "TextView/NativeSelection.swift",
        "TextView/TextView.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EditorHistoryPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "EditorHistoryPluginTests",
      "path" : "Plugins/EditorHistoryPlugin/EditorHistoryPluginTests",
      "sources" : [
        "HistoryTests.swift"
      ],
      "target_dependencies" : [
        "Lexical",
        "EditorHistoryPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EditorHistoryPlugin",
      "module_type" : "SwiftTarget",
      "name" : "EditorHistoryPlugin",
      "path" : "Plugins/EditorHistoryPlugin/EditorHistoryPlugin",
      "product_memberships" : [
        "EditorHistoryPlugin"
      ],
      "sources" : [
        "EditorHistoryPlugin.swift",
        "History.swift",
        "HistoryConstants.swift"
      ],
      "target_dependencies" : [
        "Lexical"
      ],
      "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/scinfu/SwiftSoup.git
[1/3908] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.45s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (1.03s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/114] Compiling SwiftSoup StringUtil.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[12/114] Compiling SwiftSoup StructuralEvaluator.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[13/114] Compiling SwiftSoup SwiftSoup.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[14/114] Compiling SwiftSoup Tag.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[15/114] Compiling SwiftSoup TextNode.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[16/114] Compiling SwiftSoup Token.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[17/114] Compiling SwiftSoup TokenQueue.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/121] Emitting module Lexical
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[19/121] Compiling SwiftSoup Collector.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[20/121] Compiling SwiftSoup CombiningEvaluator.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[21/121] Compiling SwiftSoup Comment.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[22/121] Compiling SwiftSoup Connection.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[23/121] Compiling SwiftSoup CssSelector.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[24/121] Compiling SwiftSoup DataNode.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[25/121] Compiling SwiftSoup DataUtil.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[26/121] Compiling SwiftSoup Document.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[27/121] Compiling SwiftSoup ArrayExt.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[28/121] Compiling SwiftSoup Attribute.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[29/121] Compiling SwiftSoup Attributes.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[30/121] Compiling SwiftSoup BinarySearch.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[31/121] Compiling SwiftSoup BooleanAttribute.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[32/121] Compiling SwiftSoup CharacterExt.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[33/121] Compiling SwiftSoup ParseErrorList.swift
[34/121] Compiling SwiftSoup ParseSettings.swift
[35/121] Compiling SwiftSoup Parser.swift
[36/121] Compiling SwiftSoup ParsingStrings.swift
[37/121] Compiling SwiftSoup Pattern.swift
[38/121] Compiling SwiftSoup QueryParser.swift
[39/121] Compiling SwiftSoup SerializationException.swift
[40/128] Compiling SwiftSoup SimpleDictionary.swift
[41/128] Compiling SwiftSoup StreamReader.swift
[42/128] Compiling SwiftSoup String.swift
[43/128] Compiling SwiftSoup StringBuilder.swift
[47/128] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[48/128] Compiling SwiftSoup HttpStatusException.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[49/128] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[50/128] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[51/128] Compiling Lexical TextAttachment.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[52/128] Compiling Lexical TextContainer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[53/128] Compiling Lexical TextKitUtils.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[54/128] Compiling Lexical TextStorage.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[59/128] Compiling SwiftSoup Tokeniser.swift
[60/128] Compiling SwiftSoup TokeniserState.swift
[61/128] Compiling SwiftSoup TreeBuilder.swift
[62/128] Emitting module SwiftSoup
[63/128] Compiling SwiftSoup DocumentType.swift
[64/128] Compiling SwiftSoup Element.swift
[65/128] Compiling SwiftSoup Elements.swift
[66/128] Compiling SwiftSoup Entities.swift
[67/128] Compiling SwiftSoup Evaluator.swift
[68/128] Compiling SwiftSoup Exception.swift
[69/128] Compiling SwiftSoup FormElement.swift
[70/128] Compiling SwiftSoup HtmlTreeBuilder.swift
[85/128] Compiling SwiftSoup CharacterReader.swift
[86/128] Compiling SwiftSoup Cleaner.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[91/128] Compiling SwiftSoup UTF8Arrays.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[92/128] Compiling SwiftSoup UnfairLock.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[93/128] Compiling SwiftSoup UnicodeScalar.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[97/128] Compiling SwiftSoup Validate.swift
[98/128] Compiling SwiftSoup Whitelist.swift
[99/128] Compiling SwiftSoup XmlDeclaration.swift
[100/128] Compiling SwiftSoup XmlTreeBuilder.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
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/105] Emitting module Lexical
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[3/112] Compiling SwiftSoup ArrayExt.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[4/112] Compiling SwiftSoup Attribute.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[5/112] Compiling SwiftSoup Attributes.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[6/112] Compiling SwiftSoup BinarySearch.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[7/112] Compiling SwiftSoup BooleanAttribute.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[8/112] Compiling SwiftSoup CharacterExt.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[9/112] Compiling SwiftSoup CharacterReader.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[10/112] Compiling Lexical TextAttachment.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[11/112] Compiling Lexical TextContainer.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[12/112] Compiling Lexical TextKitUtils.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[13/112] Compiling Lexical TextStorage.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[14/112] Compiling Lexical InputDelegateProxy.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[15/112] Compiling Lexical NativeSelection.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[16/112] Compiling Lexical TextView.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
[24/112] Compiling SwiftSoup Cleaner.swift
[25/119] Emitting module SwiftSoup
[26/119] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[27/119] Compiling SwiftSoup HttpStatusException.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[28/119] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[29/119] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[34/119] Compiling SwiftSoup ParseErrorList.swift
[35/119] Compiling SwiftSoup ParseSettings.swift
[36/119] Compiling SwiftSoup Parser.swift
[37/119] Compiling SwiftSoup ParsingStrings.swift
[38/119] Compiling SwiftSoup Pattern.swift
[39/119] Compiling SwiftSoup QueryParser.swift
[40/119] Compiling SwiftSoup SerializationException.swift
[41/119] Compiling SwiftSoup SimpleDictionary.swift
[42/119] Compiling SwiftSoup StreamReader.swift
[43/119] Compiling SwiftSoup String.swift
[44/119] Compiling SwiftSoup StringBuilder.swift
[45/119] Compiling SwiftSoup StringUtil.swift
[46/119] Compiling SwiftSoup StructuralEvaluator.swift
[47/119] Compiling SwiftSoup SwiftSoup.swift
[48/119] Compiling SwiftSoup Tag.swift
[49/119] Compiling SwiftSoup TextNode.swift
[50/119] Compiling SwiftSoup Token.swift
[51/119] Compiling SwiftSoup TokenQueue.swift
[52/119] Compiling SwiftSoup Tokeniser.swift
[53/119] Compiling SwiftSoup TokeniserState.swift
[54/119] Compiling SwiftSoup TreeBuilder.swift
[55/119] Compiling SwiftSoup UTF8Arrays.swift
[56/119] Compiling SwiftSoup UnfairLock.swift
[57/119] Compiling SwiftSoup UnicodeScalar.swift
[58/119] Compiling SwiftSoup Validate.swift
[59/119] Compiling SwiftSoup Whitelist.swift
[60/119] Compiling SwiftSoup XmlDeclaration.swift
[61/119] Compiling SwiftSoup XmlTreeBuilder.swift
[62/119] Compiling SwiftSoup DocumentType.swift
[63/119] Compiling SwiftSoup Element.swift
[64/119] Compiling SwiftSoup Elements.swift
[65/119] Compiling SwiftSoup Entities.swift
[66/119] Compiling SwiftSoup Evaluator.swift
[67/119] Compiling SwiftSoup Exception.swift
[68/119] Compiling SwiftSoup FormElement.swift
[69/119] Compiling SwiftSoup HtmlTreeBuilder.swift
[70/119] Compiling SwiftSoup Collector.swift
[71/119] Compiling SwiftSoup CombiningEvaluator.swift
[72/119] Compiling SwiftSoup Comment.swift
[73/119] Compiling SwiftSoup Connection.swift
[74/119] Compiling SwiftSoup CssSelector.swift
[75/119] Compiling SwiftSoup DataNode.swift
[76/119] Compiling SwiftSoup DataUtil.swift
[77/119] Compiling SwiftSoup Document.swift
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import Foundation
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public struct NodeType: Hashable, RawRepresentable {
BUILD FAILURE 6.1 wasm