Build Information
Failed to build Benchmark, reference 1.29.3 (5c4569
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 22:52:39 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/ordo-one/package-benchmark.git
Reference: 1.29.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/ordo-one/package-benchmark
* tag 1.29.3 -> FETCH_HEAD
HEAD is now at 5c4569a fix(patch): Rename 'Shared' target to 'BenchmarkShared' (#324)
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
5c4569a9e7e9acac4db43f31e58252539ca71f0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at 1.29.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ordo-one/package-benchmark.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/apple/swift-argument-parser.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/apple/swift-atomics.git
[1/203] Fetching texttable
[204/805] Fetching texttable, hdrhistogram-swift
[806/2602] Fetching texttable, hdrhistogram-swift, swift-atomics
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.50s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/ordo-one/TextTable.git from cache (1.37s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.39s)
[1/35] Fetching package-jemalloc
[25/4471] Fetching package-jemalloc, swift-system
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.65s)
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (2.64s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.60s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.65s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.84s)
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/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
warning: couldn't find pc file for jemalloc
warning: couldn't find pc file for jemalloc
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/77] Write sources
[16/77] Compiling _NumericsShims _NumericsShims.c
[17/77] Compiling _AtomicsShims.c
[17/77] Write sources
[24/77] Compiling _NumericsShims _NumericsShims.c
[24/77] Write sources
[33/77] Compiling SwiftRuntimeHooks shims.c
[34/77] Compiling _AtomicsShims.c
[35/77] Compiling CSystem shims.c
[37/77] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[38/77] Compiling SwiftRuntimeHooks shims.c
[38/77] Write swift-version-24593BA9C3E375BF.txt
[41/181] Emitting module BenchmarkShared
[42/181] Emitting module RealModule
[43/182] Compiling RealModule AlgebraicField.swift
[44/182] Compiling RealModule ApproximateEquality.swift
[45/183] Compiling RealModule Float80+Real.swift
[46/183] Compiling TextTable RstFormat.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[47/183] Compiling TextTable SimpleFormat.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[48/183] Compiling SystemPackage FilePathComponentView.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[49/183] Compiling SystemPackage FilePathComponents.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/183] Emitting module TextTable
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[51/183] Emitting module RealModule
[52/183] Compiling RealModule AugmentedArithmetic.swift
[53/183] Compiling RealModule Double+Real.swift
[54/184] Compiling TextTable String+Util.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[55/184] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[56/184] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[57/184] Compiling RealModule Real.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[62/184] Compiling SystemPackage MachPort.swift
[63/184] Compiling SystemPackage PlatformString.swift
[64/184] Compiling SystemPackage SystemString.swift
[65/187] Compiling SystemPackage FilePathParsing.swift
[66/187] Compiling SystemPackage FilePathString.swift
[67/187] Compiling SystemPackage FilePathSyntax.swift
[68/187] Compiling SystemPackage FilePathTemp.swift
[69/187] Compiling RealModule Float16+Real.swift
[70/187] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/187] 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)
[80/187] Compiling RealModule ElementaryFunctions.swift
[81/187] Compiling RealModule Float+Real.swift
[82/188] Compiling BenchmarkShared Command+Helpers.swift
[85/189] Compiling TextTable TextTable.swift
/host/spi-builder-workspace/.build/checkouts/TextTable/Sources/TextTable/FancyGridFormat.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum FancyGrid: TextTableStyle {
[86/189] Emitting module BenchmarkShared
[87/189] Compiling SystemPackage FilePathTempPosix.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)
[88/189] Compiling SystemPackage FilePathTempWindows.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)
[89/189] Compiling SystemPackage FilePathWindows.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)
[90/189] Compiling SystemPackage FilePermissions.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)
[91/189] Emitting module TextTable
BUILD FAILURE 6.2 wasm