Build Information
Failed to build XCTVaporExtensions, reference 0.2.0 (7ef074), with Swift 6.2 for Wasm on 22 Jun 2025 22:23:53 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Appsaurus/VaporTestUtils.git
Reference: 0.2.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/Appsaurus/VaporTestUtils
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 7ef074c Renaming package from VaporTestUtils to XCTVaporExtensions to avoid clashes with dependency package VaporTestUtils that is part of Vapor package and was leading to circular dependency issues.
Cloned https://github.com/Appsaurus/VaporTestUtils.git
Revision (git rev-parse @):
7ef074c6d9927d33479e32ae0dfbe6205b48f585
SUCCESS checkout https://github.com/Appsaurus/VaporTestUtils.git at 0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Appsaurus/VaporTestUtils.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Appsaurus/SwiftTestUtils
Fetching https://github.com/vapor/vapor.git
[1/150] Fetching swifttestutils
[151/74696] Fetching swifttestutils, vapor
Fetched https://github.com/Appsaurus/SwiftTestUtils from cache (2.42s)
Fetched https://github.com/vapor/vapor.git from cache (2.44s)
Computing version for https://github.com/Appsaurus/SwiftTestUtils
Computed https://github.com/Appsaurus/SwiftTestUtils at 1.0.1 (6.65s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.50s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2609] Fetching websocket-kit
[1202/3690] Fetching websocket-kit, swift-service-context
[3691/7158] Fetching websocket-kit, swift-service-context, multipart-kit
[4212/8955] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics
[5534/13948] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing
[5535/19907] Fetching websocket-kit, swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-service-context.git from cache (0.56s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.56s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.57s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.59s)
Fetching https://github.com/apple/swift-nio-http2.git
[3428/9101] Fetching multipart-kit, swift-atomics, swift-log
[3429/11307] Fetching multipart-kit, swift-atomics, swift-log, swift-metrics
[9470/22839] Fetching multipart-kit, swift-atomics, swift-log, swift-metrics, swift-nio-http2
Fetched https://github.com/apple/swift-metrics.git from cache (0.35s)
[7840/20633] Fetching multipart-kit, swift-atomics, swift-log, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
[6080/16797] Fetching multipart-kit, swift-atomics, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
[14979/22739] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-extras
[19036/37629] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-extras, swift-nio-ssl
[24527/113968] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.75s)
[23940/112171] Fetching multipart-kit, swift-nio-http2, swift-nio-extras, swift-nio-ssl, swift-nio
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.75s)
[19823/106229] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/vapor/multipart-kit.git from cache (1.82s)
Fetching https://github.com/vapor/console-kit.git
[17564/102761] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.27s)
[7391/91229] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/vapor/async-kit.git
[19177/112081] Fetching swift-nio-ssl, swift-nio, routing-kit
[27879/118099] Fetching swift-nio-ssl, swift-nio, routing-kit, console-kit
[39002/120469] Fetching swift-nio-ssl, swift-nio, routing-kit, console-kit, async-kit
[56093/135888] Fetching swift-nio-ssl, swift-nio, routing-kit, console-kit, async-kit, swift-crypto
Fetched https://github.com/vapor/console-kit.git from cache (0.53s)
[59996/129870] Fetching swift-nio-ssl, swift-nio, routing-kit, async-kit, swift-crypto
Fetched https://github.com/vapor/async-kit.git from cache (0.47s)
[58389/127500] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto
Fetching https://github.com/swift-server/async-http-client.git
[86775/141514] Fetching swift-nio-ssl, swift-nio, routing-kit, swift-crypto, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (1.35s)
[74736/120662] Fetching swift-nio-ssl, swift-nio, swift-crypto, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.69s)
[77475/105772] Fetching swift-nio, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.47s)
[69899/91758] Fetching swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.72s)
Fetched https://github.com/apple/swift-nio.git from cache (6.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.80s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.66s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.55s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.89s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.84s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
[667/21076] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.56s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.70s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.46s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.02s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.90s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (3.30s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/904] Fetching swift-http-types
[905/2520] Fetching swift-http-types, swift-asn1
[1035/4946] Fetching swift-http-types, swift-asn1, swift-service-lifecycle
[4947/9931] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-async-algorithms
[4948/16115] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.82s)
[9738/14499] Fetching swift-http-types, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.00s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.00s)
Fetched https://github.com/apple/swift-http-types.git from cache (2.04s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.05s)
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1169] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.37s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (3.53s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.52s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.75s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.07s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.48s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.58s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.39s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.45s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.46s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (1.25s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/Appsaurus/SwiftTestUtils
Working copy of https://github.com/Appsaurus/SwiftTestUtils resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
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/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Building for debugging...
[0/835] Write sources
[42/835] Compiling CNIOWASI CNIOWASI.c
[42/835] Compiling CNIOWindows WSAStartup.c
[44/835] Write sources
[45/835] Compiling CNIOWindows shim.c
[46/835] Write sources
[53/835] Compiling _NumericsShims _NumericsShims.c
[54/835] Compiling CVaporBcrypt bcrypt.c
[55/835] Compiling CSystem shims.c
[56/835] Compiling CNIOLinux shim.c
[57/835] Compiling _AtomicsShims.c
[58/835] Compiling CNIOSHA1 c_nio_sha1.c
[59/835] Write swift-version-24593BA9C3E375BF.txt
[60/835] Compiling CNIOLinux liburing_shims.c
[61/835] Compiling CVaporBcrypt blf.c
[62/835] Compiling CNIOExtrasZlib empty.c
[63/835] Compiling CNIODarwin shim.c
[64/835] Compiling CNIOLLHTTP c_nio_http.c
[65/858] Compiling CNIOLLHTTP c_nio_api.c
[66/886] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/891] 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)
[68/894] Compiling CNIOLLHTTP c_nio_llhttp.c
[70/908] Emitting module InternalCollectionsUtilities
[71/909] Emitting module RealModule
[72/910] Compiling _NIODataStructures _TinyArray.swift
[73/910] Compiling SwiftTestUtils XCAssertions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTestUtils/Sources/Shared/BaseTestCase.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import XCTest
10 |
[74/910] Compiling RealModule RealFunctions.swift
[75/910] Compiling RealModule Float16+Real.swift
[76/910] Compiling RealModule Float80+Real.swift
[77/910] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[78/910] Compiling InternalCollectionsUtilities _SortedCollection.swift
[79/910] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[80/910] Compiling InternalCollectionsUtilities Debugging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/910] Emitting module SwiftTestUtils
/host/spi-builder-workspace/.build/checkouts/SwiftTestUtils/Sources/Shared/BaseTestCase.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import XCTest
10 |
[82/910] Compiling SwiftTestUtils LinuxTestable.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTestUtils/Sources/Shared/BaseTestCase.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import XCTest
10 |
[83/910] Compiling SwiftTestUtils BaseTestCase.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTestUtils/Sources/Shared/BaseTestCase.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import XCTest
10 |
[84/910] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[85/910] Compiling InternalCollectionsUtilities UInt+reversed.swift
[86/910] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[87/910] Compiling InternalCollectionsUtilities Integer rank.swift
[88/910] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[89/910] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[90/910] Compiling SystemPackage Util+StringArray.swift
[91/910] Compiling SystemPackage Util.swift
[92/910] Compiling SystemPackage UtilConsumers.swift
[93/910] Compiling Logging Locks.swift
[94/910] Compiling Logging LogHandler.swift
[95/910] Emitting module Logging
/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 |
[96/910] Emitting module _NIODataStructures
[99/910] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[100/910] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm