Build Information
Failed to build MarkdownEditor, reference v0.1.0 (743c09), with Swift 6.3 for Wasm on 27 Oct 2026 20:02:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contexthub-dev/swift-markdown-editor.git
Reference: v0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/contexthub-dev/swift-markdown-editor
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 743c09a Prepare initial 0.1.0 release
Cloned https://github.com/contexthub-dev/swift-markdown-editor.git
Revision (git rev-parse @):
743c09a13a7e797c6eeb821aa86388321e10b248
SUCCESS checkout https://github.com/contexthub-dev/swift-markdown-editor.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/contexthub-dev/swift-markdown-editor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
Fetching https://github.com/mgriebling/SwiftMath
Fetching https://github.com/LebJe/TOMLKit
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/CodeEditApp/CodeEditLanguages
[1/23422] Fetching tomlkit
[2/30554] Fetching tomlkit, swiftsoup
[288/32306] Fetching tomlkit, swiftsoup, swifttreesitter
[2843/34675] Fetching tomlkit, swiftsoup, swifttreesitter, swiftmath
[3107/46553] Fetching tomlkit, swiftsoup, swifttreesitter, swiftmath, yams
[16933/49042] Fetching tomlkit, swiftsoup, swifttreesitter, swiftmath, yams, codeeditlanguages
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.68s)
[40372/47290] Fetching tomlkit, swiftsoup, swiftmath, yams, codeeditlanguages
Fetched https://github.com/mgriebling/SwiftMath from cache (0.68s)
[38716/44921] Fetching tomlkit, swiftsoup, yams, codeeditlanguages
Fetched https://github.com/scinfu/SwiftSoup from cache (1.00s)
Fetched https://github.com/LebJe/TOMLKit from cache (1.01s)
Fetched https://github.com/jpsim/Yams from cache (1.02s)
[820/2489] Fetching codeeditlanguages
Fetched https://github.com/CodeEditApp/CodeEditLanguages from cache (88.06s)
Computing version for https://github.com/LebJe/TOMLKit
Computed https://github.com/LebJe/TOMLKit at 0.6.0 (89.52s)
Computing version for https://github.com/CodeEditApp/CodeEditLanguages
Computed https://github.com/CodeEditApp/CodeEditLanguages at 0.1.21 (0.83s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.25.0 (0.83s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/74155] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (3.26s)
Computing version for https://github.com/mgriebling/SwiftMath
Computed https://github.com/mgriebling/SwiftMath at 1.7.3 (4.11s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.74s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (0.74s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.14.3 (0.72s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.25.0
Creating working copy for https://github.com/mgriebling/SwiftMath
Working copy of https://github.com/mgriebling/SwiftMath resolved at 1.7.3
Creating working copy for https://github.com/LebJe/TOMLKit
Working copy of https://github.com/LebJe/TOMLKit resolved at 0.6.0
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.14.3
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.10
Creating working copy for https://github.com/CodeEditApp/CodeEditLanguages
Working copy of https://github.com/CodeEditApp/CodeEditLanguages resolved at 0.1.21
Building for debugging...
[0/36] Compiling stdlib.c
[1/36] Compiling wasm_store.c
[2/36] Compiling tree.c
[3/36] Compiling subtree.c
[4/36] Compiling tree_cursor.c
[5/36] Compiling stack.c
[6/36] Write sources
[9/36] Compiling lexer.c
[9/36] Compiling node.c
[11/36] Write swift-version-24593BA9C3E375BF.txt
[11/36] Copying Info.plist
[13/36] Compiling parser.c
[14/36] Compiling query.c
[15/36] Compiling language.c
[16/36] Copying mathFonts.bundle
[17/36] Copying Resources
[19/36] Compiling writer.c
[20/36] Compiling reader.c
[21/36] Compiling get_changed_ranges.c
[22/36] Compiling alloc.c
[23/36] Write sources
[24/36] Compiling parser.c
[25/36] Compiling api.c
[26/36] Compiling scanner.c
[27/36] Compiling emitter.c
[28/37] Write sources
[32/152] Emitting module SwiftTreeSitter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/154] Emitting module SwiftMath
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[34/156] Emitting module Yams
[34/158] Compiling Date&Time&DateTime.cpp
[35/158] Compiling Conversion.cpp
[36/158] Compiling Node.cpp
[37/158] Compiling Table.cpp
[39/158] Compiling Yams AliasDereferencingStrategy.swift
[40/158] Compiling Yams Anchor.swift
[41/158] Compiling Yams Constructor.swift
[42/158] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[43/158] Compiling SwiftMath resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[44/158] Compiling SwiftMath MTMathImage.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[45/158] Compiling SwiftTreeSitter Tree.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[46/158] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[47/158] Compiling SwiftMath MTBezierPath.swift
[48/158] Compiling SwiftMath MTColor.swift
[50/158] Compiling SwiftSoup Element.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[51/158] Compiling SwiftSoup ElementQuery.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[52/158] Compiling SwiftMath MTFontMathTable.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[55/158] Compiling Yams Node.Scalar.swift
[56/158] Compiling Yams Node.Sequence.swift
[57/158] Compiling SwiftSoup DocumentType.swift
[58/158] Compiling SwiftMath MTLabel.swift
[59/158] Compiling SwiftMath MTMathAtomFactory.swift
[60/158] Compiling SwiftMath MathImage.swift
[64/158] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[65/158] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[66/158] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[76/158] Compiling SwiftSoup ParseError.swift
[77/158] Compiling SwiftSoup ParseErrorList.swift
[78/158] Compiling SwiftSoup ParseSettings.swift
[79/158] Compiling SwiftSoup Parser.swift
[80/158] Compiling SwiftSoup ParsingStrings.swift
[81/158] Compiling SwiftSoup Pattern.swift
[82/158] Compiling SwiftSoup Profiler.swift
[83/158] Compiling SwiftSoup QueryParser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift:9:8: error: no such module 'CoreGraphics'
7 |
8 | import Foundation
9 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
10 | import CoreText
11 |
[107/165] Compiling Array.cpp
BUILD FAILURE 6.3 wasm