Build Information
Failed to build LeafMarkdown, reference main (ecec9a
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:51:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/leaf-markdown.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/vapor-community/leaf-markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ecec9a9 Update for UnsafeUnescapedLeafTag
Cloned https://github.com/vapor-community/leaf-markdown.git
Revision (git rev-parse @):
ecec9a93102139609aa5a84c51990fc305fbc1d6
SUCCESS checkout https://github.com/vapor-community/leaf-markdown.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor-community/leaf-markdown.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/vapor-community/markdown.git
[1/246] Fetching markdown
[247/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (0.27s)
[396/4938] Fetching leaf-kit
Fetched https://github.com/vapor/leaf-kit.git from cache (0.41s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.10s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.09s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.90s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.41s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (6.31s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[1798/6233] Fetching swift-atomics, swift-system
[2686/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.16s)
Fetched https://github.com/apple/swift-system.git from cache (1.16s)
Fetched https://github.com/apple/swift-collections.git from cache (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.13.1
Building for debugging...
[0/62] Compiling cmark tasklist.c
[1/62] Compiling cmark tagfilter.c
[2/62] Compiling cmark xml.c
[3/62] Write swift-version-24593BA9C3E375BF.txt
[4/62] Compiling cmark syntax_extension.c
[5/62] Compiling cmark table.c
[6/62] Compiling cmark strikethrough.c
[7/62] Compiling cmark render.c
[8/62] Compiling cmark plugin.c
[9/62] Compiling cmark references.c
[10/62] Compiling cmark registry.c
[11/62] Compiling cmark linked_list.c
[12/62] Compiling cmark man.c
[13/62] Compiling cmark iterator.c
[14/62] Compiling cmark latex.c
[15/62] Compiling cmark plaintext.c
[16/62] Compiling cmark map.c
[17/62] Compiling cmark node.c
[18/62] Compiling cmark html.c
[19/62] Compiling cmark houdini_html_e.c
[20/62] Compiling cmark houdini_href_e.c
[21/62] Compiling cmark houdini_html_u.c
[22/62] Compiling cmark core-extensions.c
[22/62] Compiling cmark inlines.c
[24/62] Compiling cmark footnotes.c
[25/62] Compiling cmark ext_scanners.c
[26/62] Compiling cmark cmark_ctype.c
[27/62] Compiling cmark buffer.c
[28/62] Write sources
[30/62] Compiling cmark cmark.c
[30/62] Write sources
[32/62] Compiling cmark arena.c
[33/62] Compiling cmark commonmark.c
[33/62] Compiling cmark autolink.c
[34/62] Write sources
[48/62] Compiling _AtomicsShims.c
[49/62] Compiling CSystem shims.c
[50/63] Compiling CNIOWindows shim.c
[51/64] Compiling CNIOWindows WSAStartup.c
[52/69] Compiling cmark blocks.c
[53/82] Compiling CNIOWASI CNIOWASI.c
[54/82] Compiling CNIOLinux shim.c
[55/99] Compiling CNIODarwin shim.c
[56/106] Compiling CNIOLinux liburing_shims.c
[58/110] Emitting module _NIODataStructures
[59/110] Emitting module InternalCollectionsUtilities
[59/111] Compiling cmark scanners.c
[60/111] Write sources
[61/129] Compiling cmark utf8.c
[63/131] Emitting module SwiftMarkdown
[63/131] Compiling c-nioatomics.c
[64/131] Compiling c-atomics.c
[66/137] Emitting module Atomics
[67/139] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[68/139] Compiling Atomics ManagedAtomic.swift
[69/139] Compiling Atomics ManagedAtomicLazyReference.swift
[70/139] Compiling Atomics UnsafeAtomic.swift
[71/139] Compiling Atomics UnsafeAtomicLazyReference.swift
[72/139] Compiling Atomics AtomicInteger.swift
[73/139] Compiling Atomics AtomicOptionalWrappable.swift
[74/139] Compiling Atomics AtomicReference.swift
[75/139] Compiling Atomics OptionalRawRepresentable.swift
[76/139] Compiling Atomics RawRepresentable.swift
[77/139] Compiling Atomics AtomicBool.swift
[84/139] Compiling Atomics AtomicMemoryOrderings.swift
[85/139] Compiling Atomics DoubleWord.swift
[86/139] Compiling Atomics Primitives.native.swift
[87/139] Compiling Atomics AtomicStorage.swift
[88/139] Compiling Atomics IntegerConformances.swift
[89/139] Compiling Atomics PointerConformances.swift
[90/139] Compiling SwiftMarkdown SwiftMarkdown.swift
[91/140] Compiling Atomics AtomicValue.swift
[93/140] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[94/141] Emitting module _NIOBase64
[95/141] Compiling _NIOBase64 Base64.swift
[99/142] Compiling _NIODataStructures _TinyArray.swift
[100/142] Compiling _NIODataStructures PriorityQueue.swift
[101/142] Compiling Atomics IntegerOperations.swift
[102/142] Compiling Atomics Unmanaged extensions.swift
[105/142] Compiling SystemPackage MachPort.swift
[106/142] Compiling SystemPackage PlatformString.swift
[107/142] Compiling SystemPackage SystemString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[116/145] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[121/158] Compiling DequeModule Deque+Equatable.swift
[122/158] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[123/158] Compiling DequeModule _DequeBuffer.swift
[126/161] Compiling DequeModule _DequeBufferHeader.swift
[127/163] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[128/163] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[129/163] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[130/163] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[131/163] Compiling NIOConcurrencyHelpers lock.swift
[132/163] Compiling DequeModule Deque._UnsafeHandle.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[133/163] Compiling DequeModule Deque.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[134/163] Compiling DequeModule _DequeSlot.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[135/163] Compiling DequeModule _UnsafeWrappedBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[139/163] Compiling SystemPackage Exports.swift
[140/163] Compiling _NIODataStructures Heap.swift
[142/164] Compiling DequeModule Deque+Extras.swift
[143/164] Compiling DequeModule Deque+Hashable.swift
[146/164] Compiling DequeModule Deque+CustomReflectable.swift
[147/164] Compiling DequeModule Deque+Descriptions.swift
[148/164] Compiling DequeModule Deque+Testing.swift
[149/164] Compiling DequeModule Deque._Storage.swift
[150/164] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[151/164] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[152/164] Compiling NIOConcurrencyHelpers NIOLock.swift
[153/164] Emitting module NIOConcurrencyHelpers
[154/164] Compiling NIOConcurrencyHelpers atomics.swift
[158/165] Compiling SystemPackage Util+StringArray.swift
[159/165] Compiling SystemPackage Util.swift
[160/165] Compiling SystemPackage UtilConsumers.swift
BUILD FAILURE 6.2 wasm