The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TidyHTMLPublishStep, reference v0.1.1 (35621b), with Swift 6.1 for Wasm on 27 May 2025 14:47:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/john-mueller/TidyHTMLPublishStep.git
Reference: v0.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/john-mueller/TidyHTMLPublishStep
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at 35621b3 Merge pull request #2 from john-mueller/documentation
Cloned https://github.com/john-mueller/TidyHTMLPublishStep.git
Revision (git rev-parse @):
35621b3f047200abf9789f21174626c15ea9c66a
SUCCESS checkout https://github.com/john-mueller/TidyHTMLPublishStep.git at v0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/john-mueller/TidyHTMLPublishStep.git
https://github.com/john-mueller/TidyHTMLPublishStep.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "publish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Publish.git"
    },
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    }
  ],
  "manifest_display_name" : "TidyHTMLPublishStep",
  "name" : "TidyHTMLPublishStep",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TidyHTMLPublishStep",
      "targets" : [
        "TidyHTMLPublishStep"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TidyHTMLPublishStepTests",
      "module_type" : "SwiftTarget",
      "name" : "TidyHTMLPublishStepTests",
      "path" : "Tests/TidyHTMLPublishStepTests",
      "sources" : [
        "Helpers/HTMLFactoryMock.swift",
        "Helpers/TidyHTMLTestCase.swift",
        "Helpers/TidyHTMLWebsite.swift",
        "TidyHTMLPublishStepTests.swift"
      ],
      "target_dependencies" : [
        "TidyHTMLPublishStep"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TidyHTMLPublishStep",
      "module_type" : "SwiftTarget",
      "name" : "TidyHTMLPublishStep",
      "path" : "Sources/TidyHTMLPublishStep",
      "product_dependencies" : [
        "Publish",
        "SwiftSoup"
      ],
      "product_memberships" : [
        "TidyHTMLPublishStep"
      ],
      "sources" : [
        "TidyHTMLPublishStep.swift",
        "Website+PostGenerationSteps.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/JohnSundell/Publish.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/2890] Fetching publish
[2227/6798] Fetching publish, swiftsoup
Fetched https://github.com/JohnSundell/Publish.git from cache (0.47s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.47s)
Computing version for https://github.com/JohnSundell/Publish.git
Computed https://github.com/JohnSundell/Publish.git at 0.9.0 (1.48s)
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/shellout.git
[1/181] Fetching codextended
[182/297] Fetching codextended, sweep
[254/381] Fetching codextended, sweep, collectionconcurrencykit
[382/1341] Fetching codextended, sweep, collectionconcurrencykit, shellout
[1342/2577] Fetching codextended, sweep, collectionconcurrencykit, shellout, files
[2541/4663] Fetching codextended, sweep, collectionconcurrencykit, shellout, files, plot
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.45s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.45s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.45s)
Fetched https://github.com/johnsundell/files.git from cache (0.45s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.45s)
Fetched https://github.com/johnsundell/plot.git from cache (0.45s)
Fetching https://github.com/johnsundell/ink.git
[1/1905] Fetching ink
Fetched https://github.com/johnsundell/ink.git from cache (0.29s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (1.62s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.50s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.50s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.95s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.90s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.73s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.59s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (1.36s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/JohnSundell/Publish.git
Working copy of https://github.com/JohnSundell/Publish.git resolved at 0.9.0
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/166] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[13/166] Emitting module CollectionConcurrencyKit
[14/167] Emitting module Ink
[15/167] Compiling SwiftSoup ArrayExt.swift
[16/167] Compiling SwiftSoup Attribute.swift
[17/167] Compiling SwiftSoup Attributes.swift
[18/167] Compiling SwiftSoup BinarySearch.swift
[19/167] Compiling SwiftSoup BooleanAttribute.swift
[20/167] Compiling SwiftSoup CharacterExt.swift
[21/167] Compiling SwiftSoup CharacterReader.swift
[22/167] Compiling SwiftSoup Cleaner.swift
[23/167] Compiling SwiftSoup DocumentType.swift
[24/167] Compiling SwiftSoup Element.swift
[25/171] Compiling SwiftSoup Elements.swift
[26/171] Compiling SwiftSoup Entities.swift
[27/171] Compiling SwiftSoup Evaluator.swift
[28/171] Compiling SwiftSoup Exception.swift
[30/171] Compiling Ink TextStyle.swift
[31/171] Compiling Ink TextStyleMarker.swift
[32/171] Compiling Ink URL.swift
[33/171] Compiling Ink URLDeclaration.swift
[34/171] Emitting module Codextended
[35/171] Compiling Codextended Codextended.swift
[36/172] Emitting module Files
[37/172] Compiling Files Files.swift
[38/172] Emitting module Sweep
[39/172] Compiling Sweep Sweep.swift
[49/172] Emitting module Plot
[52/178] Compiling SwiftSoup Parser.swift
[53/178] Compiling SwiftSoup ParsingStrings.swift
[54/178] Compiling SwiftSoup Pattern.swift
[55/178] Compiling SwiftSoup QueryParser.swift
[56/178] Compiling SwiftSoup SerializationException.swift
[57/189] Compiling SwiftSoup CombiningEvaluator.swift
[58/189] Compiling SwiftSoup Comment.swift
[59/189] Compiling SwiftSoup Connection.swift
[60/189] Compiling SwiftSoup CssSelector.swift
[61/189] Compiling SwiftSoup DataNode.swift
[62/189] Compiling SwiftSoup DataUtil.swift
[63/189] Compiling SwiftSoup Document.swift
[64/189] 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
[66/189] 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
[67/189] 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
[68/189] 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
[69/189] Compiling SwiftSoup NodeTraversor.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
[70/189] Compiling SwiftSoup NodeVisitor.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
[76/189] Compiling SwiftSoup FormElement.swift
[77/189] Compiling SwiftSoup HtmlTreeBuilder.swift
[78/189] Compiling SwiftSoup Collector.swift
[80/189] Compiling SwiftSoup StructuralEvaluator.swift
[81/189] Compiling SwiftSoup SwiftSoup.swift
[82/189] Compiling SwiftSoup UTF8Arrays.swift
[83/189] Compiling SwiftSoup UnfairLock.swift
[84/189] Compiling SwiftSoup UnicodeScalar.swift
[85/189] Compiling SwiftSoup Validate.swift
[86/189] Compiling SwiftSoup Whitelist.swift
[87/189] Compiling SwiftSoup XmlDeclaration.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/189] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[101/190] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/72] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[3/156] Compiling Codextended Codextended.swift
[4/156] Emitting module Codextended
[6/157] Emitting module Files
[7/157] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[8/157] Emitting module Ink
BUILD FAILURE 6.1 wasm