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 GoogleScholarSwift, reference main (3c7b00), with Swift 6.1 for Wasm on 29 May 2025 14:57:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/ezefranca/GoogleScholarSwift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ezefranca/GoogleScholarSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3c7b005 Adjustments to V1.2
Cloned https://github.com/ezefranca/GoogleScholarSwift.git
Revision (git rev-parse @):
3c7b0054008736eaa287bcba776c4acedb12f89c
SUCCESS checkout https://github.com/ezefranca/GoogleScholarSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ezefranca/GoogleScholarSwift.git
https://github.com/ezefranca/GoogleScholarSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "GoogleScholarSwift",
  "name" : "GoogleScholarSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleScholarSwift",
      "targets" : [
        "GoogleScholarSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleScholarSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwiftTests",
      "path" : "Tests",
      "sources" : [
        "GoogleScholarFetcherTests/GoogleScholarSwiftTests.swift"
      ],
      "target_dependencies" : [
        "GoogleScholarSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleScholarSwift",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwift",
      "path" : "Sources/GoogleScholarSwift",
      "product_dependencies" : [
        "SwiftSoup"
      ],
      "product_memberships" : [
        "GoogleScholarSwift"
      ],
      "sources" : [
        "Constants/Constants.swift",
        "Enums/FetchQuantity.swift",
        "Enums/SortBy.swift",
        "Impl/CacheService.swift",
        "Impl/GoogleScholarFetcher.swift",
        "Impl/HTMLParser.swift",
        "Impl/NetworkService.swift",
        "Models/Article.swift",
        "Models/ArticleLink.swift",
        "Models/Author.swift",
        "Models/AuthorMetrics.swift",
        "Models/CitationMetrics.swift",
        "Models/CoAuthor.swift",
        "Models/GoogleScholarCacheConfig.swift",
        "Models/GoogleScholarID.swift",
        "Models/Publication.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-docc-plugin.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/2049] Fetching swift-docc-plugin
[1006/5957] Fetching swift-docc-plugin, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.49s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (4.01s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.48s)
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/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/59] Compiling SwiftSoup DocumentType.swift
[7/59] Compiling SwiftSoup Element.swift
[8/59] Compiling SwiftSoup Elements.swift
[9/59] Compiling SwiftSoup Entities.swift
[10/59] Compiling SwiftSoup Evaluator.swift
[11/59] Compiling SwiftSoup Exception.swift
[12/59] Compiling SwiftSoup FormElement.swift
[13/59] Compiling SwiftSoup HtmlTreeBuilder.swift
[14/59] Emitting module SwiftSoup
[15/66] 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
[16/66] 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
[17/66] 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
[18/66] 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
[19/66] 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
[20/66] 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
[21/66] Compiling SwiftSoup OrderedSet.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
[22/66] Compiling SwiftSoup ParseError.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
[23/66] Compiling SwiftSoup Collector.swift
[24/66] Compiling SwiftSoup CombiningEvaluator.swift
[25/66] Compiling SwiftSoup Comment.swift
[26/66] Compiling SwiftSoup Connection.swift
[27/66] Compiling SwiftSoup CssSelector.swift
[28/66] Compiling SwiftSoup DataNode.swift
[29/66] Compiling SwiftSoup DataUtil.swift
[30/66] Compiling SwiftSoup Document.swift
[31/66] Compiling SwiftSoup Tag.swift
[32/66] Compiling SwiftSoup TextNode.swift
[33/66] Compiling SwiftSoup Token.swift
[34/66] Compiling SwiftSoup TokenQueue.swift
[35/66] Compiling SwiftSoup Tokeniser.swift
[36/66] Compiling SwiftSoup TokeniserState.swift
[37/66] Compiling SwiftSoup TreeBuilder.swift
[38/66] Compiling SwiftSoup ArrayExt.swift
[39/66] Compiling SwiftSoup Attribute.swift
[40/66] Compiling SwiftSoup Attributes.swift
[41/66] Compiling SwiftSoup BinarySearch.swift
[42/66] Compiling SwiftSoup BooleanAttribute.swift
[43/66] Compiling SwiftSoup CharacterExt.swift
[44/66] Compiling SwiftSoup CharacterReader.swift
[45/66] Compiling SwiftSoup Cleaner.swift
[46/66] Compiling SwiftSoup ParseErrorList.swift
[47/66] Compiling SwiftSoup ParseSettings.swift
[48/66] Compiling SwiftSoup Parser.swift
[49/66] Compiling SwiftSoup ParsingStrings.swift
[50/66] Compiling SwiftSoup Pattern.swift
[51/66] Compiling SwiftSoup QueryParser.swift
[52/66] Compiling SwiftSoup SerializationException.swift
[53/66] Compiling SwiftSoup SimpleDictionary.swift
[54/66] Compiling SwiftSoup StreamReader.swift
[55/66] Compiling SwiftSoup String.swift
[56/66] Compiling SwiftSoup StringBuilder.swift
[57/66] Compiling SwiftSoup StringUtil.swift
[58/66] Compiling SwiftSoup StructuralEvaluator.swift
[59/66] Compiling SwiftSoup SwiftSoup.swift
[60/66] Compiling SwiftSoup UTF8Arrays.swift
[61/66] Compiling SwiftSoup UnfairLock.swift
[62/66] Compiling SwiftSoup UnicodeScalar.swift
[63/66] Compiling SwiftSoup Validate.swift
[64/66] Compiling SwiftSoup Whitelist.swift
[65/66] Compiling SwiftSoup XmlDeclaration.swift
[66/66] Compiling SwiftSoup XmlTreeBuilder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/57] Compiling SwiftSoup Collector.swift
[5/57] Compiling SwiftSoup CombiningEvaluator.swift
[6/57] Compiling SwiftSoup Comment.swift
[7/57] Compiling SwiftSoup Connection.swift
[8/57] Compiling SwiftSoup CssSelector.swift
[9/57] Compiling SwiftSoup DataNode.swift
[10/57] Compiling SwiftSoup DataUtil.swift
[11/57] Compiling SwiftSoup Document.swift
[12/64] 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
[13/64] 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
[14/64] 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
[15/64] 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
[16/64] 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
[17/64] 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
[18/64] Compiling SwiftSoup OrderedSet.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
[19/64] Compiling SwiftSoup ParseError.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
[20/64] Compiling SwiftSoup ParseErrorList.swift
[21/64] Compiling SwiftSoup ParseSettings.swift
[22/64] Compiling SwiftSoup Parser.swift
[23/64] Compiling SwiftSoup ParsingStrings.swift
[24/64] Compiling SwiftSoup Pattern.swift
[25/64] Compiling SwiftSoup QueryParser.swift
[26/64] Compiling SwiftSoup SerializationException.swift
[27/64] Compiling SwiftSoup ArrayExt.swift
[28/64] Compiling SwiftSoup Attribute.swift
[29/64] Compiling SwiftSoup Attributes.swift
[30/64] Compiling SwiftSoup BinarySearch.swift
[31/64] Compiling SwiftSoup BooleanAttribute.swift
[32/64] Compiling SwiftSoup CharacterExt.swift
[33/64] Compiling SwiftSoup CharacterReader.swift
[34/64] Compiling SwiftSoup Cleaner.swift
[35/64] Compiling SwiftSoup UTF8Arrays.swift
[36/64] Compiling SwiftSoup UnfairLock.swift
[37/64] Compiling SwiftSoup UnicodeScalar.swift
[38/64] Compiling SwiftSoup Validate.swift
[39/64] Compiling SwiftSoup Whitelist.swift
[40/64] Compiling SwiftSoup XmlDeclaration.swift
[41/64] Compiling SwiftSoup XmlTreeBuilder.swift
[42/64] Emitting module SwiftSoup
[43/64] Compiling SwiftSoup SimpleDictionary.swift
[44/64] Compiling SwiftSoup StreamReader.swift
[45/64] Compiling SwiftSoup String.swift
[46/64] Compiling SwiftSoup StringBuilder.swift
[47/64] Compiling SwiftSoup StringUtil.swift
[48/64] Compiling SwiftSoup StructuralEvaluator.swift
[49/64] Compiling SwiftSoup SwiftSoup.swift
[50/64] Compiling SwiftSoup Tag.swift
[51/64] Compiling SwiftSoup TextNode.swift
[52/64] Compiling SwiftSoup Token.swift
[53/64] Compiling SwiftSoup TokenQueue.swift
[54/64] Compiling SwiftSoup Tokeniser.swift
[55/64] Compiling SwiftSoup TokeniserState.swift
[56/64] Compiling SwiftSoup TreeBuilder.swift
[57/64] Compiling SwiftSoup DocumentType.swift
[58/64] Compiling SwiftSoup Element.swift
[59/64] Compiling SwiftSoup Elements.swift
[60/64] Compiling SwiftSoup Entities.swift
[61/64] Compiling SwiftSoup Evaluator.swift
[62/64] Compiling SwiftSoup Exception.swift
[63/64] Compiling SwiftSoup FormElement.swift
[64/64] Compiling SwiftSoup HtmlTreeBuilder.swift
BUILD FAILURE 6.1 wasm