Build Information
Failed to build SwiftKSUID, reference v0.2.0 (4b39f6
), with Swift 6.1 for Wasm on 29 May 2025 18:51:13 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toffaletti/swiftksuid.git
Reference: v0.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/toffaletti/swiftksuid
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at 4b39f6a swift 6 support
Cloned https://github.com/toffaletti/swiftksuid.git
Revision (git rev-parse @):
4b39f6a5f9e3e0712de6e62befac8c485282f357
SUCCESS checkout https://github.com/toffaletti/swiftksuid.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/toffaletti/swiftksuid.git
https://github.com/toffaletti/swiftksuid.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "package-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "1.26.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-benchmark"
}
],
"manifest_display_name" : "SwiftKSUID",
"name" : "SwiftKSUID",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftKSUID",
"targets" : [
"SwiftKSUID"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkSwiftKSUID",
"targets" : [
"BenchmarkSwiftKSUID"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftKSUIDTests",
"module_type" : "SwiftTarget",
"name" : "SwiftKSUIDTests",
"path" : "Tests/SwiftKSUIDTests",
"sources" : [
"SwiftKSUIDTests.swift"
],
"target_dependencies" : [
"SwiftKSUID"
],
"type" : "test"
},
{
"c99name" : "SwiftKSUID",
"module_type" : "SwiftTarget",
"name" : "SwiftKSUID",
"path" : "Sources/SwiftKSUID",
"product_memberships" : [
"SwiftKSUID",
"BenchmarkSwiftKSUID"
],
"sources" : [
"Base62.swift",
"SwiftKSUID.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkSwiftKSUID",
"module_type" : "SwiftTarget",
"name" : "BenchmarkSwiftKSUID",
"path" : "Benchmarks/BenchmarkSwiftKSUID",
"product_dependencies" : [
"Benchmark",
"BenchmarkPlugin"
],
"product_memberships" : [
"BenchmarkSwiftKSUID"
],
"sources" : [
"BenchmarkSwiftKSUID.swift"
],
"target_dependencies" : [
"SwiftKSUID"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ordo-one/package-benchmark
[1/5943] Fetching package-benchmark
Fetched https://github.com/ordo-one/package-benchmark from cache (0.54s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (3.99s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[1/1710] Fetching swift-atomics
[634/1745] Fetching swift-atomics, package-jemalloc
[840/1948] Fetching swift-atomics, package-jemalloc, texttable
[1077/6339] Fetching swift-atomics, package-jemalloc, texttable, swift-system
[2193/6941] Fetching swift-atomics, package-jemalloc, texttable, swift-system, hdrhistogram-swift
Fetched https://github.com/ordo-one/TextTable.git from cache (0.66s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.67s)
[6264/6703] Fetching swift-atomics, swift-system, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.67s)
[5706/6101] Fetching swift-atomics, swift-system
[6102/21480] Fetching swift-atomics, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git from cache (0.97s)
[6391/19770] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.79s)
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.78s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (1.02s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.99s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.69s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.79s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.01s)
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.90s)
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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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/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/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/ordo-one/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.29.3
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module SystemPackage
[8/45] Emitting module ArgumentParserToolInfo
[9/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/46] Compiling SystemPackage FileOperations.swift
[11/46] Compiling SystemPackage FilePath.swift
[12/46] Compiling SystemPackage FilePathComponentView.swift
[13/46] Compiling SystemPackage FilePathComponents.swift
[14/46] Compiling SystemPackage FilePathParsing.swift
[15/46] Compiling SystemPackage FilePathString.swift
[16/46] Compiling SystemPackage FilePathSyntax.swift
[17/46] Compiling SystemPackage FilePathTemp.swift
[19/46] Compiling SystemPackage MachPort.swift
[20/46] Compiling SystemPackage PlatformString.swift
[21/46] Compiling SystemPackage SystemString.swift
[22/46] Compiling SystemPackage Util+StringArray.swift
[23/46] Compiling SystemPackage Util.swift
[24/46] Compiling SystemPackage UtilConsumers.swift
[24/46] Wrapping AST for ArgumentParserToolInfo for debugging
[26/84] Compiling ArgumentParser ParsableCommand.swift
[27/84] Compiling ArgumentParser ArgumentDecoder.swift
[28/84] Compiling ArgumentParser DumpHelpGenerator.swift
[29/84] Compiling ArgumentParser HelpCommand.swift
[30/84] Compiling ArgumentParser ArgumentSet.swift
[31/84] Compiling ArgumentParser CommandParser.swift
[32/84] Compiling ArgumentParser InputKey.swift
[33/84] Compiling ArgumentParser InputOrigin.swift
[34/84] Compiling ArgumentParser Flag.swift
[35/84] Compiling ArgumentParser NameSpecification.swift
[36/84] Compiling ArgumentParser Option.swift
[37/84] Compiling ArgumentParser ArgumentDefinition.swift
[38/84] Compiling ArgumentParser Name.swift
[39/84] Compiling ArgumentParser Parsed.swift
[40/84] Compiling ArgumentParser ParsedValues.swift
[41/84] Compiling ArgumentParser ParserError.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[49/90] Compiling ArgumentParser SplitArguments.swift
[50/90] Compiling ArgumentParser CollectionExtensions.swift
[51/90] Compiling ArgumentParser Platform.swift
[52/90] Compiling ArgumentParser SequenceExtensions.swift
[53/90] Compiling ArgumentParser StringExtensions.swift
[54/90] Compiling ArgumentParser Tree.swift
[55/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/90] Compiling ArgumentParser CompletionsGenerator.swift
[57/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[59/90] Compiling ArgumentParser Argument.swift
[60/90] Compiling ArgumentParser ArgumentHelp.swift
[61/90] Compiling ArgumentParser ExpressibleByArgument.swift
[62/90] Compiling ArgumentParser ParsableArguments.swift
[63/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/90] Compiling ArgumentParser ArgumentVisibility.swift
[67/90] Compiling ArgumentParser CompletionKind.swift
[68/90] Compiling ArgumentParser Errors.swift
[74/90] Compiling ArgumentParser HelpGenerator.swift
[75/90] Compiling ArgumentParser MessageInfo.swift
[76/90] Compiling ArgumentParser UsageGenerator.swift
[82/90] Compiling ArgumentParser OptionGroup.swift
[83/90] Compiling ArgumentParser AsyncParsableCommand.swift
[84/90] Compiling ArgumentParser CommandConfiguration.swift
[85/90] Compiling ArgumentParser CommandGroup.swift
[86/90] Compiling ArgumentParser EnumerableFlag.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Emitting module BenchmarkBoilerplateGenerator
[90/93] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[91/94] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking BenchmarkBoilerplateGenerator-tool
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/46] Write sources
[18/46] Compiling _AtomicsShims.c
[19/46] Compiling CSystem shims.c
[20/46] Compiling SwiftRuntimeHooks shims.c
[21/46] Compiling CSystem shims.c
[22/46] Compiling _NumericsShims _NumericsShims.c
[23/46] Write swift-version-24593BA9C3E375BF.txt
[25/112] Emitting module ArgumentParserToolInfo
[27/113] Emitting module RealModule
[28/115] Emitting module SystemPackage
[29/116] Wrapping AST for ArgumentParserToolInfo for debugging
[30/116] Wrapping AST for SystemPackage for debugging
[32/116] Emitting module ArgumentParser
[33/117] Wrapping AST for ArgumentParser for debugging
[35/118] Emitting module BenchmarkBoilerplateGenerator
[36/119] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[37/119] Write Objects.LinkFileList
[39/119] Emitting module ArgumentParserToolInfo
[40/119] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/120] Compiling Atomics UnsafeAtomic.swift
[42/120] Compiling Atomics UnsafeAtomicLazyReference.swift
[43/122] Compiling Atomics ManagedAtomic.swift
[44/122] Compiling Atomics ManagedAtomicLazyReference.swift
[45/122] Compiling RealModule RealFunctions.swift
[46/122] Compiling RealModule Real.swift
[47/122] Compiling SystemPackage MachPort.swift
[48/122] Compiling SystemPackage PlatformString.swift
[49/122] Compiling SystemPackage SystemString.swift
[50/122] Compiling Atomics OptionalRawRepresentable.swift
[51/122] Compiling Atomics RawRepresentable.swift
[52/122] Compiling Atomics AtomicBool.swift
[53/122] Compiling Atomics IntegerConformances.swift
[54/125] Compiling Atomics AtomicValue.swift
[55/125] Compiling Atomics AtomicMemoryOrderings.swift
[56/125] Compiling Atomics DoubleWord.swift
[57/125] Compiling Atomics Primitives.shims.swift
[58/125] Compiling Atomics AtomicInteger.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)
[59/125] Compiling Atomics AtomicOptionalWrappable.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)
[63/125] Emitting module Atomics
[67/125] Compiling RealModule Float80+Real.swift
[68/125] Compiling Atomics AtomicReference.swift
[69/125] Compiling Atomics AtomicStorage.swift
[76/125] Compiling RealModule Float+Real.swift
[77/125] Compiling RealModule ElementaryFunctions.swift
[78/125] Compiling RealModule Float16+Real.swift
[78/126] Linking BenchmarkBoilerplateGenerator-tool
[80/126] Compiling BenchmarkShared Command+Helpers.swift
[81/126] Emitting module BenchmarkShared
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/126] 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)
[87/127] Compiling Atomics PointerConformances.swift
[88/127] Compiling Atomics Primitives.native.swift
[90/127] Generating plugin support files
[91/127] Write sources
[97/140] Wrapping AST for ArgumentParserToolInfo for debugging
[99/165] Compiling ArgumentParser ParsableArguments.swift
[100/165] Compiling ArgumentParser ParsableArgumentsValidation.swift
[100/166] Wrapping AST for RealModule for debugging
[101/166] Wrapping AST for BenchmarkShared for debugging
[104/171] Compiling ArgumentParser EnumerableFlag.swift
[105/171] Compiling ArgumentParser ExpressibleByArgument.swift
[108/171] Compiling ArgumentParser ParsableCommand.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 |
[109/171] Compiling ArgumentParser ArgumentDecoder.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 |
[110/171] Compiling ArgumentParser ArgumentDefinition.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 |
[111/171] Compiling ArgumentParser ArgumentSet.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 |
[112/171] Compiling ComplexModule Differentiable.swift
[112/171] Wrapping AST for Atomics for debugging
[114/171] Compiling ArgumentParser Name.swift
[115/171] Compiling ArgumentParser Parsed.swift
[116/171] Compiling ArgumentParser ParsedValues.swift
[117/171] Compiling ComplexModule Complex.swift
[118/171] Compiling ComplexModule Arithmetic.swift
[119/171] Compiling ComplexModule ElementaryFunctions.swift
[120/171] Compiling SwiftKSUID SwiftKSUID.swift
[121/171] Emitting module ComplexModule
[122/172] Emitting module SwiftKSUID
[123/172] Compiling SwiftKSUID Base62.swift
[126/173] Compiling ArgumentParser OptionGroup.swift
[127/173] Compiling ArgumentParser AsyncParsableCommand.swift
[128/173] Compiling ArgumentParser CommandConfiguration.swift
[129/173] Compiling ArgumentParser CommandGroup.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for jemalloc
[0/8] Write swift-version-24593BA9C3E375BF.txt
[0/8] Compiling CSystem shims.c
[3/38] Compiling SystemPackage Mocking.swift
[4/38] Compiling SystemPackage RawBuffer.swift
[5/38] Compiling SystemPackage Syscalls.swift
[6/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[7/41] Emitting module SystemPackage
[8/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/41] Emitting module ArgumentParserToolInfo
[11/42] Compiling SystemPackage Backcompat.swift
[12/42] Compiling SystemPackage CInterop.swift
[13/42] Compiling SystemPackage Constants.swift
[14/42] Compiling SystemPackage Exports.swift
[15/42] Compiling SystemPackage FilePathParsing.swift
[16/42] Compiling SystemPackage FilePathString.swift
[17/42] Compiling SystemPackage FilePathSyntax.swift
[18/42] Compiling SystemPackage FilePathTemp.swift
[19/42] Compiling SystemPackage Errno.swift
[20/42] Compiling SystemPackage ErrnoWindows.swift
[21/42] Compiling SystemPackage FileDescriptor.swift
[22/42] Compiling SystemPackage FileHelpers.swift
[23/42] Compiling SystemPackage FilePathTempPosix.swift
[24/42] Compiling SystemPackage FilePathTempWindows.swift
[25/42] Compiling SystemPackage FilePathWindows.swift
[26/42] Compiling SystemPackage FilePermissions.swift
[27/42] Compiling SystemPackage MachPort.swift
[28/42] Compiling SystemPackage PlatformString.swift
[29/42] Compiling SystemPackage SystemString.swift
[29/42] Wrapping AST for ArgumentParserToolInfo for debugging
[31/42] Compiling SystemPackage FileOperations.swift
[32/42] Compiling SystemPackage FilePath.swift
[33/42] Compiling SystemPackage FilePathComponentView.swift
[34/42] Compiling SystemPackage FilePathComponents.swift
[35/80] Compiling ArgumentParser OptionGroup.swift
[36/80] Compiling ArgumentParser AsyncParsableCommand.swift
[37/80] Compiling ArgumentParser CommandConfiguration.swift
[38/81] Wrapping AST for SystemPackage for debugging
[40/81] Emitting module ArgumentParser
[41/86] Compiling ArgumentParser CollectionExtensions.swift
[42/86] Compiling ArgumentParser Platform.swift
[43/86] Compiling ArgumentParser SequenceExtensions.swift
[44/86] Compiling ArgumentParser StringExtensions.swift
[45/86] Compiling ArgumentParser Tree.swift
[46/86] Compiling ArgumentParser Name.swift
[47/86] Compiling ArgumentParser Parsed.swift
[48/86] Compiling ArgumentParser ParsedValues.swift
[49/86] Compiling ArgumentParser ParserError.swift
[50/86] Compiling ArgumentParser SplitArguments.swift
[51/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/86] Compiling ArgumentParser CompletionsGenerator.swift
[53/86] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/86] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/86] Compiling ArgumentParser Argument.swift
[56/86] Compiling ArgumentParser ArgumentHelp.swift
[60/86] Compiling ArgumentParser CommandGroup.swift
[61/86] Compiling ArgumentParser EnumerableFlag.swift
[62/86] Compiling ArgumentParser ExpressibleByArgument.swift
[63/86] Compiling ArgumentParser ParsableArguments.swift
[64/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/86] Compiling ArgumentParser ParsableCommand.swift
[66/86] Compiling ArgumentParser ArgumentDecoder.swift
[67/86] Compiling ArgumentParser ArgumentDefinition.swift
[68/86] Compiling ArgumentParser ArgumentSet.swift
[69/86] Compiling ArgumentParser CommandParser.swift
[70/86] Compiling ArgumentParser InputKey.swift
[71/86] Compiling ArgumentParser InputOrigin.swift
[72/86] Compiling ArgumentParser ArgumentVisibility.swift
[73/86] Compiling ArgumentParser CompletionKind.swift
[74/86] Compiling ArgumentParser Errors.swift
[75/86] Compiling ArgumentParser Flag.swift
[76/86] Compiling ArgumentParser NameSpecification.swift
[77/86] Compiling ArgumentParser Option.swift
[78/86] Compiling ArgumentParser DumpHelpGenerator.swift
[79/86] Compiling ArgumentParser HelpCommand.swift
[80/86] Compiling ArgumentParser HelpGenerator.swift
[81/86] Compiling ArgumentParser MessageInfo.swift
[82/86] Compiling ArgumentParser UsageGenerator.swift
[83/87] Wrapping AST for ArgumentParser for debugging
[85/89] Emitting module BenchmarkBoilerplateGenerator
[86/89] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[87/90] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking BenchmarkBoilerplateGenerator-tool
warning: couldn't find pc file for jemalloc
[0/1] Planning build
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/27] Compiling CSystem shims.c
[4/27] Write swift-version-24593BA9C3E375BF.txt
[6/74] Emitting module ArgumentParserToolInfo
[8/94] Compiling BenchmarkShared Command+Helpers.swift
[9/94] Emitting module BenchmarkShared
[11/95] Compiling RealModule Real.swift
[12/95] Compiling RealModule Float80+Real.swift
[13/96] Compiling RealModule Float16+Real.swift
[14/96] Compiling Atomics ManagedAtomic.swift
[15/96] Compiling Atomics ManagedAtomicLazyReference.swift
[16/96] Compiling Atomics UnsafeAtomic.swift
[17/96] Compiling Atomics UnsafeAtomicLazyReference.swift
[18/98] Compiling RealModule ElementaryFunctions.swift
[19/98] Compiling RealModule Float+Real.swift
[20/98] Compiling Atomics AtomicOptionalWrappable.swift
[21/98] Compiling Atomics IntegerConformances.swift
[22/98] Compiling Atomics Primitives.shims.swift
[23/98] Compiling Atomics AtomicInteger.swift
[24/98] Compiling RealModule RealFunctions.swift
[24/98] Wrapping AST for ArgumentParserToolInfo for debugging
[26/98] Emitting module RealModule
[27/99] Compiling Atomics AtomicMemoryOrderings.swift
[28/99] Compiling Atomics DoubleWord.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)
[33/99] Compiling Atomics PointerConformances.swift
[34/99] Compiling Atomics Primitives.native.swift
[35/99] Compiling Atomics OptionalRawRepresentable.swift
[36/99] Compiling Atomics RawRepresentable.swift
[38/101] Emitting module ArgumentParserToolInfo
[39/101] Compiling ArgumentParserToolInfo ToolInfo.swift
[40/102] Compiling Atomics IntegerOperations.swift
[41/102] Compiling Atomics Unmanaged extensions.swift
[42/102] Emitting module SwiftKSUID
[43/102] Compiling SwiftKSUID SwiftKSUID.swift
[44/102] Compiling SwiftKSUID Base62.swift
[51/102] Compiling Atomics AtomicBool.swift
[52/102] Compiling Atomics AtomicReference.swift
[53/102] Compiling Atomics AtomicStorage.swift
[54/102] Compiling Atomics AtomicValue.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 |
/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 |
/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 |
/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 |
[60/107] Compiling SystemPackage MachPort.swift
[61/107] Compiling SystemPackage PlatformString.swift
[62/107] Compiling SystemPackage SystemString.swift
[63/107] Emitting module SystemPackage
[63/108] Wrapping AST for SwiftKSUID for debugging
[65/108] Emitting module ArgumentParser
[67/147] Wrapping AST for ArgumentParser for debugging
[68/148] Wrapping AST for SystemPackage for debugging
[70/148] Compiling ArgumentParser Errors.swift
[71/148] Compiling ArgumentParser Flag.swift
[72/148] Compiling ArgumentParser NameSpecification.swift
[73/148] Compiling ArgumentParser Option.swift
[74/148] Compiling ArgumentParser DumpHelpGenerator.swift
[75/148] Compiling ArgumentParser HelpCommand.swift
[76/148] Compiling ArgumentParser HelpGenerator.swift
[77/148] Emitting module BenchmarkBoilerplateGenerator
[78/148] Compiling ComplexModule Arithmetic.swift
[79/149] Compiling ArgumentParser ParsableCommand.swift
[80/149] Compiling ArgumentParser ArgumentDecoder.swift
[81/149] Compiling ArgumentParser ArgumentDefinition.swift
[82/149] Compiling ArgumentParser ArgumentSet.swift
[83/149] Compiling ArgumentParser OptionGroup.swift
[84/149] Compiling ArgumentParser AsyncParsableCommand.swift
[85/149] Compiling ArgumentParser CommandConfiguration.swift
[86/149] Compiling ArgumentParser CommandGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/149] 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)
[88/149] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[89/149] Compiling ComplexModule Differentiable.swift
BUILD FAILURE 6.1 wasm