The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-geometrize, reference main (c3e95d), with Swift 6.1 for Wasm on 29 May 2025 09:31:46 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.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/valeriyvan/swift-geometrize.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/valeriyvan/swift-geometrize
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c3e95dc Revert "Use half-open range"
Cloned https://github.com/valeriyvan/swift-geometrize.git
Revision (git rev-parse @):
c3e95dc77cfe40ce23a1b02992c7342fba0ca334
SUCCESS checkout https://github.com/valeriyvan/swift-geometrize.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/valeriyvan/swift-geometrize.git
https://github.com/valeriyvan/swift-geometrize.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/apple/swift-argument-parser.git
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/apple/swift-collections-benchmark
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/tayloraswift/jpeg.git
[1/3610] Fetching jpeg
[435/3809] Fetching jpeg, swiftlintplugins
[634/4307] Fetching jpeg, swiftlintplugins, swift-collections-benchmark
[709/10266] Fetching jpeg, swiftlintplugins, swift-collections-benchmark, swift-algorithms
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.58s)
[688/10067] Fetching jpeg, swift-collections-benchmark, swift-algorithms
Fetching https://github.com/tayloraswift/swift-png.git
[4539/23256] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing
[4671/38635] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing, swift-argument-parser
[12558/45067] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing, swift-argument-parser, swift-png
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.40s)
Fetching https://github.com/apple/swift-docc-plugin
[12483/29688] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing, swift-png
[13242/31737] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing, swift-png, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.83s)
[17781/29688] Fetching jpeg, swift-collections-benchmark, swift-algorithms, swift-snapshot-testing, swift-png
Fetched https://github.com/apple/swift-algorithms.git from cache (6.48s)
Fetched https://github.com/apple/swift-collections-benchmark from cache (6.53s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (6.58s)
[6119/10042] Fetching jpeg, swift-png
Fetched https://github.com/tayloraswift/jpeg.git from cache (6.63s)
[2573/6432] Fetching swift-png
Fetched https://github.com/tayloraswift/swift-png.git from cache (10.75s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.59.1 (15.33s)
Computing version for https://github.com/apple/swift-collections-benchmark
Computed https://github.com/apple/swift-collections-benchmark at 0.0.4 (3.89s)
Fetching https://github.com/apple/swift-system
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (4.12s)
Computing version for https://github.com/tayloraswift/jpeg.git
Computed https://github.com/tayloraswift/jpeg.git at 1.1.0 (9.20s)
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.69s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.35s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (3.66s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (4.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.95s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Computing version for https://github.com/tayloraswift/swift-png.git
Computed https://github.com/tayloraswift/swift-png.git at 4.4.9 (0.59s)
Fetching https://github.com/tayloraswift/swift-hash
[1/868] Fetching swift-hash
Fetched https://github.com/tayloraswift/swift-hash from cache (0.27s)
Computing version for https://github.com/tayloraswift/swift-hash
Computed https://github.com/tayloraswift/swift-hash at 0.7.1 (1.01s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.83s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75033] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (8.72s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.76s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.54s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.89s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.59s)
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-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/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.59.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections-benchmark
Working copy of https://github.com/apple/swift-collections-benchmark resolved at 0.0.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/tayloraswift/swift-hash
Working copy of https://github.com/tayloraswift/swift-hash resolved at 0.7.1
Creating working copy for https://github.com/tayloraswift/swift-png.git
Working copy of https://github.com/tayloraswift/swift-png.git resolved at 4.4.9
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/tayloraswift/jpeg.git
Working copy of https://github.com/tayloraswift/jpeg.git resolved at 1.1.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[1397/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (4.41s)
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/51] Write sources
[13/51] Copying PrivacyInfo.xcprivacy
[16/51] Write sources
[25/51] Compiling _NumericsShims _NumericsShims.c
[26/51] Compiling CSystem shims.c
[27/51] Write swift-version-24593BA9C3E375BF.txt
[29/101] Emitting module BaseDigits
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/101] 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)
[31/104] Emitting module ArgumentParserToolInfo
[32/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[33/105] Compiling RealModule Real.swift
[34/106] Compiling SystemPackage Util+StringArray.swift
[35/106] Compiling SystemPackage Util.swift
[36/106] Compiling SystemPackage UtilConsumers.swift
[37/106] Compiling SystemPackage FilePathParsing.swift
[38/106] Compiling SystemPackage FilePathString.swift
[39/106] Compiling SystemPackage FilePathSyntax.swift
[40/106] Compiling SystemPackage FilePathTemp.swift
[41/106] Compiling SwiftJPEG jpeg.swift
[42/106] Compiling SwiftJPEG metadata.swift
[44/107] Compiling RealModule RealFunctions.swift
[45/107] Compiling SystemPackage FileOperations.swift
[46/107] Compiling SystemPackage FilePath.swift
[47/107] Compiling SystemPackage MachPort.swift
[48/107] Compiling SystemPackage PlatformString.swift
[49/107] Compiling SystemPackage SystemString.swift
[50/107] Compiling RealModule Float80+Real.swift
[51/107] Emitting module RealModule
[52/107] Compiling BaseDigits BaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/108] Compiling RealModule ElementaryFunctions.swift
[54/108] Compiling RealModule Float+Real.swift
[55/108] Compiling SystemPackage FilePathComponentView.swift
[56/108] Compiling SystemPackage FilePathComponents.swift
[57/108] Compiling SwiftJPEG error.swift
[58/108] Compiling RealModule Float16+Real.swift
[59/109] Compiling SystemPackage Errno.swift
[60/109] Compiling SystemPackage ErrnoWindows.swift
[61/109] Compiling SystemPackage FileDescriptor.swift
[62/109] Compiling SystemPackage FileHelpers.swift
[67/109] Compiling SwiftJPEG os.swift
[69/109] Wrapping AST for ArgumentParserToolInfo for debugging
[70/147] Wrapping AST for RealModule for debugging
[71/147] Wrapping AST for BaseDigits for debugging
[73/152] Compiling ArgumentParser OptionGroup.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 |
[74/152] Compiling ArgumentParser AsyncParsableCommand.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 |
[75/152] Compiling ArgumentParser CommandConfiguration.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 |
[76/152] Compiling ArgumentParser CommandGroup.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 |
[77/152] Compiling ArgumentParser EnumerableFlag.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)
[78/152] Compiling ArgumentParser ArgumentDefinition.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)
[79/152] Compiling ArgumentParser ArgumentSet.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)
[80/152] Compiling ArgumentParser CommandParser.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)
[81/152] Compiling ArgumentParser ParsableArguments.swift
[82/152] Compiling ArgumentParser ParsableArgumentsValidation.swift
[83/152] Compiling ArgumentParser ParsableCommand.swift
[84/152] Compiling ArgumentParser ArgumentDecoder.swift
[85/168] Compiling SwiftJPEG debug.swift
[86/168] Compiling SwiftJPEG common.swift
[87/168] Emitting module SwiftJPEG
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/29] Write swift-version-24593BA9C3E375BF.txt
[7/51] Compiling RealModule Float80+Real.swift
[8/52] Emitting module BaseDigits
[9/52] Compiling BaseDigits BaseDigits.swift
[10/81] Compiling RealModule RealFunctions.swift
[12/81] Compiling RealModule Real.swift
[13/80] Compiling RealModule Float16+Real.swift
[14/80] Compiling RealModule ElementaryFunctions.swift
[15/80] Compiling RealModule Float+Real.swift
[16/80] Emitting module RealModule
[17/80] Compiling SystemPackage FilePathParsing.swift
[18/80] Compiling SystemPackage FilePathString.swift
[19/80] Compiling SystemPackage FilePathSyntax.swift
[20/80] Compiling SystemPackage FilePathTemp.swift
[22/86] Compiling SwiftJPEG common.swift
[23/87] 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)
[24/87] 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)
[25/87] 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)
[26/87] 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)
[26/90] Wrapping AST for RealModule for debugging
[28/90] Compiling SwiftJPEG os.swift
[29/90] Compiling Base16 Base16.UppercaseDigits.swift
[30/90] Compiling Base16 Base16.Values.swift
[31/90] Compiling Base16 Base16.LowercaseDigits.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/90] 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)
[33/115] Emitting module Base16
[34/115] Compiling Base16 Base16.swift
[36/116] Emitting module ArgumentParserToolInfo
[37/116] Compiling ArgumentParserToolInfo ToolInfo.swift
[38/117] Compiling SystemPackage Util+StringArray.swift
[39/117] Compiling SystemPackage Util.swift
[40/117] Compiling SystemPackage UtilConsumers.swift
[41/117] Compiling Algorithms Reductions.swift
[42/117] Compiling Algorithms Rotate.swift
[43/117] Compiling Algorithms Split.swift
[44/117] Compiling Algorithms Stride.swift
[45/117] Compiling Algorithms Permutations.swift
[46/117] Compiling Algorithms Product.swift
[47/117] Compiling Algorithms FlattenCollection.swift
[48/117] Emitting module SwiftJPEG
[49/117] Wrapping AST for Base16 for debugging
[51/156] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/156] Compiling ArgumentParser CompletionsGenerator.swift
[53/156] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/156] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/156] Compiling CRC CRC32.swift
[56/156] Emitting module CRC
[58/157] Compiling ArgumentParser NameSpecification.swift
[59/157] Compiling ArgumentParser Option.swift
[60/157] Compiling ArgumentParser ExpressibleByArgument.swift
[61/157] Compiling ArgumentParser ParsableArguments.swift
[62/157] Compiling ArgumentParser Parsed.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 |
[63/157] Compiling ArgumentParser ParsedValues.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 |
[64/157] Compiling ArgumentParser ParserError.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 |
[65/157] Compiling ArgumentParser SplitArguments.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 |
[66/157] Compiling ArgumentParser CommandConfiguration.swift
[67/157] Compiling ArgumentParser CommandGroup.swift
[68/157] Compiling ArgumentParser EnumerableFlag.swift
[69/157] Compiling ArgumentParser ArgumentVisibility.swift
[69/157] Wrapping AST for CRC for debugging
[71/157] Compiling SwiftJPEG error.swift
[76/157] Compiling SwiftJPEG debug.swift
BUILD FAILURE 6.1 wasm