Build Information
Failed to build EmealKit, reference 0.12.3 (70cd40), with Swift 6.2 for Wasm on 25 Apr 2026 12:39:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/EmealKit.git
Reference: 0.12.3
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/kiliankoe/EmealKit
* tag 0.12.3 -> FETCH_HEAD
HEAD is now at 70cd403 Merge pull request #26 from hannsadrian/master
Cloned https://github.com/kiliankoe/EmealKit.git
Revision (git rev-parse @):
70cd4031ce3767088576498ba1f10d9b81c93ccd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kiliankoe/EmealKit.git at 0.12.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kiliankoe/EmealKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/alexaubry/HTMLString.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/1631] Fetching htmlstring
[1584/7560] Fetching htmlstring, swiftsoup
[5249/8814] Fetching htmlstring, swiftsoup, regex
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.69s)
[2459/2885] Fetching htmlstring, regex
Fetched https://github.com/alexaubry/HTMLString.git from cache (1.24s)
Fetched https://github.com/sharplet/Regex.git from cache (1.25s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (4.49s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.52s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.45s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/70] Emitting module SwiftSoup
[7/77] Compiling HTMLString NSString+HTMLString.swift
[8/77] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 | var value: T? {
12 | get {
13 | return Thread.current.threadDictionary[key] as? T
| `- error: cannot find 'Thread' in scope
14 | }
15 | set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 | }
15 | set {
16 | Thread.current.threadDictionary[key] = newValue
| `- error: cannot find 'Thread' in scope
17 | }
18 | }
[9/77] Compiling HTMLString Mappings.swift
/host/spi-builder-workspace/.build/checkouts/HTMLString/Sources/HTMLString/Mappings.swift:25:73: error: incorrect argument label in call (have 'with:options:format:', expected 'from:options:format:')
23 |
24 | do {
25 | unescapingTable = try PropertyListSerialization.propertyList(with: inputStream, options: [], format: nil) as! [String: String]
| `- error: incorrect argument label in call (have 'with:options:format:', expected 'from:options:format:')
26 | } catch {
27 | unescapingTable = [:]
/host/spi-builder-workspace/.build/checkouts/HTMLString/Sources/HTMLString/Mappings.swift:25:80: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
23 |
24 | do {
25 | unescapingTable = try PropertyListSerialization.propertyList(with: inputStream, options: [], format: nil) as! [String: String]
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
26 | } catch {
27 | unescapingTable = [:]
[10/77] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[11/77] Compiling SwiftSoup LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[12/77] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[13/77] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[14/77] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[15/77] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[16/77] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[17/77] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[18/77] Compiling Regex Foundation+Ranges.swift
[19/77] Compiling Regex String+ReplaceMatching.swift
[20/77] Emitting module Regex
[21/77] Compiling Regex Options.swift
[22/77] Compiling Regex Regex.swift
[23/77] Compiling SwiftSoup Collector.swift
[24/77] Compiling SwiftSoup CombiningEvaluator.swift
[25/77] Compiling SwiftSoup Comment.swift
[26/77] Compiling SwiftSoup CssSelector.swift
[27/77] Compiling SwiftSoup DataNode.swift
[28/77] Compiling SwiftSoup DebugTrace.swift
[29/77] Compiling SwiftSoup Document.swift
[30/77] Compiling SwiftSoup DocumentType.swift
[31/77] Compiling Regex MatchResult.swift
[32/77] Emitting module HTMLString
[33/77] Compiling HTMLString HTMLString.swift
BUILD FAILURE 6.2 wasm