Build Information
Failed to build Benchmark, reference main (5c4569
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 22:54:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/ordo-one/package-benchmark
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-3":/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-atomics.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1797] Fetching swift-atomics
[451/1832] Fetching swift-atomics, package-jemalloc
[630/2035] Fetching swift-atomics, package-jemalloc, texttable
[940/6471] Fetching swift-atomics, package-jemalloc, texttable, swift-system
[4024/7073] Fetching swift-atomics, package-jemalloc, texttable, swift-system, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.54s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.54s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.54s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.08s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.09s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (1.54s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.52s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (2.49s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.02s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.90s)
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.53s)
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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
[18/77] Write sources
[24/77] Compiling _NumericsShims _NumericsShims.c
[25/77] Write sources
[33/77] Compiling SwiftRuntimeHooks shims.c
[34/77] Compiling _AtomicsShims.c
[35/77] Compiling CSystem shims.c
[36/77] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[37/77] Compiling CSystem shims.c
[38/77] Compiling SwiftRuntimeHooks shims.c
[39/77] Write swift-version-24593BA9C3E375BF.txt
[41/213] Emitting module Atomics
[42/215] Compiling RealModule Real.swift
[43/216] Compiling SystemPackage FileOperations.swift
[44/216] Compiling SystemPackage FilePath.swift
[45/216] Compiling RealModule ElementaryFunctions.swift
[46/216] Compiling SystemPackage FilePermissions.swift
[47/216] Compiling SystemPackage Backcompat.swift
[48/216] Compiling SystemPackage FilePathParsing.swift
[49/216] Compiling SystemPackage FilePathString.swift
[50/216] Compiling SystemPackage FilePathSyntax.swift
[51/216] Compiling SystemPackage FilePathTemp.swift
[52/219] Compiling RealModule RealFunctions.swift
[53/219] Compiling RealModule Float80+Real.swift
[54/219] Compiling SystemPackage FilePathTempWindows.swift
[55/219] Compiling SystemPackage FilePathWindows.swift
[59/219] Compiling SystemPackage FilePathComponentView.swift
[60/219] Compiling SystemPackage FilePathComponents.swift
[61/219] Compiling SystemPackage FilePathTempPosix.swift
[62/219] Compiling SystemPackage Errno.swift
[63/219] Compiling SystemPackage ErrnoWindows.swift
[64/219] Compiling Atomics IntegerOperations.swift
[65/219] Compiling Atomics Unmanaged extensions.swift
[68/219] Compiling RealModule Float80+Real.swift
[69/220] Compiling SystemPackage MachPort.swift
[70/220] Compiling SystemPackage PlatformString.swift
[71/220] Compiling SystemPackage SystemString.swift
[72/220] Compiling SystemPackage FileDescriptor.swift
[73/220] Compiling SystemPackage FileHelpers.swift
[79/221] Compiling RealModule Float+Real.swift
[83/221] Compiling RealModule Float16+Real.swift
[84/221] Emitting module RealModule
[87/224] Compiling RealModule RealFunctions.swift
[88/224] Compiling RealModule Real.swift
[89/224] 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 {
[91/224] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/225] 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 {
/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/225] 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)
/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 {
[114/228] Emitting module RealModule
/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 {
[119/228] 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 {
[120/228] Compiling RealModule Float16+Real.swift
[129/228] Compiling RealModule ElementaryFunctions.swift
[132/228] Compiling RealModule Float+Real.swift
[135/228] 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 {
[140/229] Emitting module Atomics
[144/229] Compiling SystemPackage Util+StringArray.swift
[145/229] Compiling SystemPackage Util.swift
[146/229] Compiling SystemPackage UtilConsumers.swift
[147/229] Compiling Atomics IntegerOperations.swift
[148/229] Compiling Atomics Unmanaged extensions.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)
/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)
/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)
/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)
[160/230] Compiling SystemPackage Exports.swift
[161/230] 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 |
[162/230] 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 |
[163/230] 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 |
[164/230] 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 |
[181/230] Emitting module SystemPackage
[187/232] Emitting module TextTable
[190/232] Compiling TextTable RstFormat.swift
[191/232] Compiling TextTable SimpleFormat.swift
[194/232] Compiling TextTable String+Util.swift
[195/232] Compiling TextTable TextTable.swift
BUILD FAILURE 6.2 wasm