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 SwiftSoup, reference master (c1d761), with Swift 6.1 for Wasm on 13 Sep 2025 03:36:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scinfu/SwiftSoup.git
Reference: master
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/scinfu/SwiftSoup
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c1d7614 Merge pull request #348 from DarkDust/feature/speed-regression
Cloned https://github.com/scinfu/SwiftSoup.git
Revision (git rev-parse @):
c1d7614aa52e62588d835ff400d510ce13806fa8
SUCCESS checkout https://github.com/scinfu/SwiftSoup.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/scinfu/SwiftSoup.git
https://github.com/scinfu/SwiftSoup.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "lrucache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/LRUCache.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "SwiftSoup",
  "name" : "SwiftSoup",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSoup",
      "targets" : [
        "SwiftSoup"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSoupTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSoupTests",
      "path" : "Tests/SwiftSoupTests",
      "product_dependencies" : [
        "Atomics"
      ],
      "sources" : [
        "AttributeParseTest.swift",
        "AttributeTest.swift",
        "AttributesTest.swift",
        "BuildEntities.swift",
        "CharacterReaderTest.swift",
        "CleanerTest.swift",
        "CssTest.swift",
        "DocumentTest.swift",
        "DocumentTypeTest.swift",
        "ElementTest.swift",
        "ElementsTest.swift",
        "EntitiesTest.swift",
        "FormElementTest.swift",
        "HtmlParserTest.swift",
        "NodeTest.swift",
        "NodeTraversorTest.swift",
        "ParseSettingsTest.swift",
        "QueryParserCacheTest.swift",
        "QueryParserTest.swift",
        "SelectorTest.swift",
        "StringUtilTest.swift",
        "TagTest.swift",
        "TextNodeTest.swift",
        "TextUtil.swift",
        "TokenQueueTest.swift",
        "XmlTreeBuilderTest.swift"
      ],
      "target_dependencies" : [
        "SwiftSoup"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSoup",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSoup",
      "path" : "Sources",
      "product_dependencies" : [
        "LRUCache",
        "Atomics"
      ],
      "product_memberships" : [
        "SwiftSoup"
      ],
      "sources" : [
        "Attribute.swift",
        "Attributes.swift",
        "BinarySearch.swift",
        "BooleanAttribute.swift",
        "CharacterExt.swift",
        "CharacterReader.swift",
        "Cleaner.swift",
        "Collector.swift",
        "CombiningEvaluator.swift",
        "Comment.swift",
        "CssSelector.swift",
        "DataNode.swift",
        "Document.swift",
        "DocumentType.swift",
        "Element.swift",
        "Elements.swift",
        "Entities.swift",
        "Evaluator.swift",
        "Exception.swift",
        "FormElement.swift",
        "HtmlTreeBuilder.swift",
        "HtmlTreeBuilderState.swift",
        "Mutex.swift",
        "Node.swift",
        "NodeTraversor.swift",
        "NodeVisitor.swift",
        "OrderedSet.swift",
        "ParseError.swift",
        "ParseErrorList.swift",
        "ParseSettings.swift",
        "Parser.swift",
        "ParsingStrings.swift",
        "Pattern.swift",
        "QueryParser.swift",
        "QueryParserCache.swift",
        "StreamReader.swift",
        "String.swift",
        "StringBuilder.swift",
        "StringUtil.swift",
        "StructuralEvaluator.swift",
        "SwiftSoup.swift",
        "Tag.swift",
        "TextNode.swift",
        "Token.swift",
        "TokenQueue.swift",
        "Tokeniser.swift",
        "TokeniserState.swift",
        "TreeBuilder.swift",
        "UTF8Arrays.swift",
        "UnicodeScalar.swift",
        "Validate.swift",
        "Whitelist.swift",
        "XmlDeclaration.swift",
        "XmlTreeBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/apple/swift-atomics.git
[1/320] Fetching lrucache
[321/2134] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.42s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.00s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (2.27s)
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling _AtomicsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/25] Emitting module Atomics
[7/27] Compiling Atomics IntegerOperations.swift
[8/27] Compiling Atomics Unmanaged extensions.swift
[9/27] Compiling Atomics IntegerConformances.swift
[10/27] Compiling Atomics PointerConformances.swift
[11/27] Compiling Atomics Primitives.native.swift
[12/27] Compiling Atomics OptionalRawRepresentable.swift
[13/27] Compiling Atomics RawRepresentable.swift
[14/27] Compiling Atomics AtomicBool.swift
[15/27] Compiling Atomics AtomicInteger.swift
[16/27] Compiling Atomics AtomicOptionalWrappable.swift
[17/27] Compiling Atomics AtomicReference.swift
[18/27] Compiling Atomics AtomicStorage.swift
[19/27] Compiling Atomics AtomicValue.swift
[20/27] Compiling Atomics ManagedAtomic.swift
[21/27] Compiling Atomics ManagedAtomicLazyReference.swift
[22/27] Compiling Atomics AtomicMemoryOrderings.swift
[23/27] Compiling Atomics DoubleWord.swift
[24/27] Compiling Atomics UnsafeAtomic.swift
[25/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/28] Emitting module LRUCache
[28/28] Compiling LRUCache LRUCache.swift
[30/78] Emitting module SwiftSoup
[31/84] Compiling SwiftSoup Attribute.swift
[32/84] Compiling SwiftSoup Attributes.swift
[33/84] Compiling SwiftSoup BinarySearch.swift
[34/84] Compiling SwiftSoup BooleanAttribute.swift
[35/84] Compiling SwiftSoup CharacterExt.swift
[36/84] Compiling SwiftSoup CharacterReader.swift
[37/84] Compiling SwiftSoup Cleaner.swift
[38/84] Compiling SwiftSoup Collector.swift
[39/84] Compiling SwiftSoup CombiningEvaluator.swift
[40/84] Compiling SwiftSoup Comment.swift
[41/84] Compiling SwiftSoup CssSelector.swift
[42/84] Compiling SwiftSoup DataNode.swift
[43/84] Compiling SwiftSoup Document.swift
[44/84] Compiling SwiftSoup DocumentType.swift
[45/84] Compiling SwiftSoup TextNode.swift
[46/84] Compiling SwiftSoup Token.swift
[47/84] Compiling SwiftSoup TokenQueue.swift
[48/84] Compiling SwiftSoup Tokeniser.swift
[49/84] Compiling SwiftSoup TokeniserState.swift
[50/84] Compiling SwiftSoup TreeBuilder.swift
[51/84] Compiling SwiftSoup ParseErrorList.swift
[52/84] Compiling SwiftSoup ParseSettings.swift
[53/84] Compiling SwiftSoup Parser.swift
[54/84] Compiling SwiftSoup ParsingStrings.swift
[55/84] Compiling SwiftSoup Pattern.swift
[56/84] Compiling SwiftSoup QueryParser.swift
[57/84] Compiling SwiftSoup QueryParserCache.swift
[58/84] Compiling SwiftSoup StreamReader.swift
[59/84] Compiling SwiftSoup String.swift
[60/84] Compiling SwiftSoup StringBuilder.swift
[61/84] Compiling SwiftSoup StringUtil.swift
[62/84] Compiling SwiftSoup StructuralEvaluator.swift
[63/84] Compiling SwiftSoup SwiftSoup.swift
[64/84] Compiling SwiftSoup Tag.swift
[65/84] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[66/84] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[67/84] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[68/84] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[69/84] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[70/84] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[71/84] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[72/84] Compiling SwiftSoup UTF8Arrays.swift
[73/84] Compiling SwiftSoup UnicodeScalar.swift
[74/84] Compiling SwiftSoup Validate.swift
[75/84] Compiling SwiftSoup Whitelist.swift
[76/84] Compiling SwiftSoup XmlDeclaration.swift
[77/84] Compiling SwiftSoup XmlTreeBuilder.swift
[78/84] Compiling SwiftSoup Element.swift
[79/84] Compiling SwiftSoup Elements.swift
[80/84] Compiling SwiftSoup Entities.swift
[81/84] Compiling SwiftSoup Evaluator.swift
[82/84] Compiling SwiftSoup Exception.swift
[83/84] Compiling SwiftSoup FormElement.swift
[84/84] Compiling SwiftSoup HtmlTreeBuilder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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
[2/21] Compiling Atomics ManagedAtomic.swift
[3/21] Compiling Atomics ManagedAtomicLazyReference.swift
[4/21] Compiling Atomics UnsafeAtomic.swift
[5/21] Compiling Atomics UnsafeAtomicLazyReference.swift
[6/23] Emitting module LRUCache
[7/23] Compiling LRUCache LRUCache.swift
[8/24] Compiling Atomics OptionalRawRepresentable.swift
[9/24] Compiling Atomics RawRepresentable.swift
[10/24] Compiling Atomics AtomicBool.swift
[12/24] Compiling Atomics AtomicInteger.swift
[13/24] Compiling Atomics AtomicOptionalWrappable.swift
[14/24] Compiling Atomics AtomicReference.swift
[15/24] Compiling Atomics IntegerOperations.swift
[16/24] Compiling Atomics Unmanaged extensions.swift
[17/24] Emitting module Atomics
[18/24] Compiling Atomics AtomicStorage.swift
[19/24] Compiling Atomics AtomicValue.swift
[20/24] Compiling Atomics AtomicMemoryOrderings.swift
[21/24] Compiling Atomics DoubleWord.swift
[22/24] Compiling Atomics IntegerConformances.swift
[23/24] Compiling Atomics PointerConformances.swift
[24/24] Compiling Atomics Primitives.native.swift
[26/74] Compiling SwiftSoup Collector.swift
[27/74] Compiling SwiftSoup CombiningEvaluator.swift
[28/74] Compiling SwiftSoup Comment.swift
[29/74] Compiling SwiftSoup CssSelector.swift
[30/74] Compiling SwiftSoup DataNode.swift
[31/74] Compiling SwiftSoup Document.swift
[32/74] Compiling SwiftSoup DocumentType.swift
[33/80] Emitting module SwiftSoup
[34/80] Compiling SwiftSoup Attribute.swift
[35/80] Compiling SwiftSoup Attributes.swift
[36/80] Compiling SwiftSoup BinarySearch.swift
[37/80] Compiling SwiftSoup BooleanAttribute.swift
[38/80] Compiling SwiftSoup CharacterExt.swift
[39/80] Compiling SwiftSoup CharacterReader.swift
[40/80] Compiling SwiftSoup Cleaner.swift
[41/80] Compiling SwiftSoup ParseErrorList.swift
[42/80] Compiling SwiftSoup ParseSettings.swift
[43/80] Compiling SwiftSoup Parser.swift
[44/80] Compiling SwiftSoup ParsingStrings.swift
[45/80] Compiling SwiftSoup Pattern.swift
[46/80] Compiling SwiftSoup QueryParser.swift
[47/80] Compiling SwiftSoup QueryParserCache.swift
[48/80] Compiling SwiftSoup TextNode.swift
[49/80] Compiling SwiftSoup Token.swift
[50/80] Compiling SwiftSoup TokenQueue.swift
[51/80] Compiling SwiftSoup Tokeniser.swift
[52/80] Compiling SwiftSoup TokeniserState.swift
[53/80] Compiling SwiftSoup TreeBuilder.swift
[54/80] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[55/80] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[56/80] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[57/80] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[58/80] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[59/80] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[60/80] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/Sources/Mutex.swift:63:9: error: cannot find 'pthread_mutex_init' in scope
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:63:36: error: 'nil' requires a contextual type
61 |
62 |     init() {
63 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
64 |     }
65 |
/host/spi-builder-workspace/Sources/Mutex.swift:67:9: error: cannot find 'pthread_mutex_destroy' in scope
65 |
66 |     deinit {
67 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
68 |     }
69 |
/host/spi-builder-workspace/Sources/Mutex.swift:71:9: error: cannot find 'pthread_mutex_lock' in scope
69 |
70 |     func lock() {
71 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
72 |     }
73 |
/host/spi-builder-workspace/Sources/Mutex.swift:75:9: error: cannot find 'pthread_mutex_unlock' in scope
73 |
74 |     func unlock() {
75 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
76 |     }
77 | #endif
[61/80] Compiling SwiftSoup UTF8Arrays.swift
[62/80] Compiling SwiftSoup UnicodeScalar.swift
[63/80] Compiling SwiftSoup Validate.swift
[64/80] Compiling SwiftSoup Whitelist.swift
[65/80] Compiling SwiftSoup XmlDeclaration.swift
[66/80] Compiling SwiftSoup XmlTreeBuilder.swift
[67/80] Compiling SwiftSoup StreamReader.swift
[68/80] Compiling SwiftSoup String.swift
[69/80] Compiling SwiftSoup StringBuilder.swift
[70/80] Compiling SwiftSoup StringUtil.swift
[71/80] Compiling SwiftSoup StructuralEvaluator.swift
[72/80] Compiling SwiftSoup SwiftSoup.swift
[73/80] Compiling SwiftSoup Tag.swift
[74/80] Compiling SwiftSoup Element.swift
[75/80] Compiling SwiftSoup Elements.swift
[76/80] Compiling SwiftSoup Entities.swift
[77/80] Compiling SwiftSoup Evaluator.swift
[78/80] Compiling SwiftSoup Exception.swift
[79/80] Compiling SwiftSoup FormElement.swift
[80/80] Compiling SwiftSoup HtmlTreeBuilder.swift
BUILD FAILURE 6.1 wasm