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 SwiftKSUID, reference main (b9a284), with Swift 6.1 for Wasm on 29 May 2025 18:50:15 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/toffaletti/swiftksuid.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/toffaletti/swiftksuid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9a2844 add workflow and use FoundationEssentials (#1)
Cloned https://github.com/toffaletti/swiftksuid.git
Revision (git rev-parse @):
b9a284428f5db8543c27ff9b4d890eb100a780c0
SUCCESS checkout https://github.com/toffaletti/swiftksuid.git at main
========================================
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-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 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.58s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (3.60s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-atomics.git
[1/203] Fetching texttable
[204/238] Fetching texttable, package-jemalloc
[239/840] Fetching texttable, package-jemalloc, hdrhistogram-swift
[841/2550] Fetching texttable, package-jemalloc, hdrhistogram-swift, swift-atomics
[1286/6941] Fetching texttable, package-jemalloc, hdrhistogram-swift, swift-atomics, swift-system
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.37s)
[3917/6906] Fetching texttable, hdrhistogram-swift, swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Fetched https://github.com/ordo-one/TextTable.git from cache (1.66s)
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (1.66s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.67s)
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.47s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.79s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.57s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.44s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.51s)
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.56s)
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/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-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.29.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/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-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-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
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling CSystem shims.c
[7/42] Emitting module SystemPackage
[8/45] Emitting module ArgumentParserToolInfo
[9/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/46] Compiling SystemPackage Util+StringArray.swift
[12/46] Compiling SystemPackage Util.swift
[13/46] Compiling SystemPackage UtilConsumers.swift
[14/46] Compiling SystemPackage MachPort.swift
[15/46] Compiling SystemPackage PlatformString.swift
[16/46] Compiling SystemPackage SystemString.swift
[16/46] Wrapping AST for ArgumentParserToolInfo for debugging
[18/46] Compiling SystemPackage Errno.swift
[19/46] Compiling SystemPackage ErrnoWindows.swift
[20/46] Compiling SystemPackage FileDescriptor.swift
[21/46] Compiling SystemPackage FileHelpers.swift
[22/63] Compiling ArgumentParser Argument.swift
[23/63] Compiling ArgumentParser ArgumentHelp.swift
[24/63] Compiling ArgumentParser ExpressibleByArgument.swift
[25/63] Compiling ArgumentParser ParsableArguments.swift
[26/84] Compiling ArgumentParser Option.swift
[27/84] Compiling ArgumentParser Name.swift
[28/84] Compiling ArgumentParser Parsed.swift
[29/84] Compiling ArgumentParser ParsedValues.swift
[30/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/84] Compiling ArgumentParser ParsableCommand.swift
[32/84] Compiling ArgumentParser ArgumentDecoder.swift
[33/84] Compiling ArgumentParser ArgumentVisibility.swift
[34/84] Compiling ArgumentParser CompletionKind.swift
[35/84] Compiling ArgumentParser Errors.swift
[36/84] Compiling ArgumentParser Flag.swift
[37/84] Compiling ArgumentParser NameSpecification.swift
[38/84] Compiling ArgumentParser ParserError.swift
[39/84] Compiling ArgumentParser SplitArguments.swift
[40/84] Compiling ArgumentParser OptionGroup.swift
[41/84] Compiling ArgumentParser AsyncParsableCommand.swift
[42/85] Wrapping AST for SystemPackage for debugging
[46/85] Compiling ArgumentParser CommandConfiguration.swift
[47/85] Compiling ArgumentParser CommandGroup.swift
[48/85] Compiling ArgumentParser EnumerableFlag.swift
[49/90] Emitting module ArgumentParser
[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
[71/90] Compiling ArgumentParser ArgumentDefinition.swift
[72/90] Compiling ArgumentParser ArgumentSet.swift
[73/90] Compiling ArgumentParser CommandParser.swift
[74/90] Compiling ArgumentParser InputKey.swift
[75/90] Compiling ArgumentParser InputOrigin.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[90/93] Emitting module BenchmarkBoilerplateGenerator
[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 SwiftRuntimeHooks shims.c
[19/46] Compiling CSystem shims.c
[21/46] Compiling _NumericsShims _NumericsShims.c
[22/46] Compiling _AtomicsShims.c
[23/46] Write swift-version-24593BA9C3E375BF.txt
[25/112] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/114] 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)
[29/118] Wrapping AST for SystemPackage for debugging
[30/118] Wrapping AST for ArgumentParserToolInfo for debugging
[32/118] Emitting module ArgumentParser
[33/119] Wrapping AST for ArgumentParser for debugging
[35/120] Emitting module BenchmarkBoilerplateGenerator
[37/121] Compiling RealModule Real.swift
[38/122] Emitting module BenchmarkShared
[39/122] Compiling BenchmarkShared Command+Helpers.swift
[40/123] Compiling RealModule Float80+Real.swift
[41/123] Compiling RealModule Float16+Real.swift
[42/123] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/123] Emitting module ArgumentParserToolInfo
[44/123] Compiling SystemPackage Util+StringArray.swift
[45/123] Compiling SystemPackage Util.swift
[46/123] Compiling SystemPackage UtilConsumers.swift
[47/123] Compiling SystemPackage MachPort.swift
[48/123] Compiling SystemPackage PlatformString.swift
[49/123] Compiling SystemPackage SystemString.swift
[50/124] Compiling RealModule Float+Real.swift
[51/124] Compiling SystemPackage FilePathComponentView.swift
[52/124] Compiling SystemPackage FilePathComponents.swift
[53/124] Compiling RealModule ElementaryFunctions.swift
[53/124] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[54/124] Write Objects.LinkFileList
[56/124] Compiling SystemPackage FileOperations.swift
[57/124] Compiling SystemPackage FilePath.swift
[58/124] Emitting module RealModule
[61/124] Compiling SystemPackage Constants.swift
[62/124] Compiling SystemPackage Exports.swift
[63/124] Compiling SystemPackage Backcompat.swift
[64/124] Compiling SystemPackage CInterop.swift
[66/126] Compiling SystemPackage FilePathTempWindows.swift
[67/126] Compiling SystemPackage FilePathWindows.swift
[68/126] Compiling SystemPackage FilePermissions.swift
[70/126] Compiling SystemPackage FilePathParsing.swift
[71/126] Compiling SystemPackage FilePathString.swift
[72/126] Compiling SystemPackage FilePathSyntax.swift
[73/126] Compiling SystemPackage FilePathTemp.swift
[74/126] Compiling SystemPackage FilePathTempPosix.swift
[79/126] Emitting module Atomics
[83/126] Compiling RealModule RealFunctions.swift
[88/127] Wrapping AST for ArgumentParserToolInfo for debugging
[89/127] Wrapping AST for BenchmarkShared for debugging
[92/165] Compiling ArgumentParser ZshCompletionsGenerator.swift
[93/165] Compiling ArgumentParser Argument.swift
[93/171] Wrapping AST for RealModule for debugging
[95/171] Linking BenchmarkBoilerplateGenerator-tool
[96/171] Generating plugin support files
[97/171] Write sources
[99/171] Emitting module SwiftKSUID
[100/171] Compiling SwiftKSUID Base62.swift
[101/171] Compiling SwiftKSUID SwiftKSUID.swift
[102/172] Compiling ArgumentParser ParsableCommand.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)
[103/172] Compiling ArgumentParser ArgumentDecoder.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)
[104/172] 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)
[105/172] 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)
[105/172] Wrapping AST for Atomics for debugging
[108/172] Compiling ArgumentParser ArgumentHelp.swift
[109/172] Compiling ArgumentParser DumpHelpGenerator.swift
[110/172] Compiling ArgumentParser HelpCommand.swift
[112/172] Compiling ArgumentParser CommandParser.swift
[113/172] Compiling ArgumentParser InputKey.swift
[114/172] Compiling ArgumentParser InputOrigin.swift
[115/172] Compiling ArgumentParser BashCompletionsGenerator.swift
[116/172] Compiling ArgumentParser HelpGenerator.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 |
[117/172] Compiling ArgumentParser MessageInfo.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 |
[118/172] Compiling ArgumentParser UsageGenerator.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 |
[119/172] 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 |
[120/172] Compiling ComplexModule Complex.swift
[120/172] Wrapping AST for SwiftKSUID for debugging
[121/172] Compiling ComplexModule Differentiable.swift
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
warning: couldn't find pc file for jemalloc
[0/8] Compiling CSystem shims.c
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/38] Compiling SystemPackage Backcompat.swift
[4/38] Compiling SystemPackage CInterop.swift
[5/38] Compiling SystemPackage Constants.swift
[6/38] Compiling SystemPackage Exports.swift
[7/41] Emitting module ArgumentParserToolInfo
[8/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/42] Compiling SystemPackage FilePathTempPosix.swift
[10/42] Compiling SystemPackage FilePathTempWindows.swift
[11/42] Compiling SystemPackage FilePathWindows.swift
[12/42] Compiling SystemPackage FilePermissions.swift
[14/42] Emitting module SystemPackage
[15/42] Compiling SystemPackage Mocking.swift
[16/42] Compiling SystemPackage RawBuffer.swift
[17/42] Compiling SystemPackage Syscalls.swift
[18/42] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/42] Compiling SystemPackage MachPort.swift
[20/42] Compiling SystemPackage PlatformString.swift
[21/42] Compiling SystemPackage SystemString.swift
[21/42] Wrapping AST for ArgumentParserToolInfo for debugging
[23/42] Compiling SystemPackage Util+StringArray.swift
[24/42] Compiling SystemPackage Util.swift
[25/42] Compiling SystemPackage UtilConsumers.swift
[26/42] Compiling SystemPackage FilePathParsing.swift
[27/42] Compiling SystemPackage FilePathString.swift
[28/42] Compiling SystemPackage FilePathSyntax.swift
[29/42] Compiling SystemPackage FilePathTemp.swift
[30/80] Compiling ArgumentParser Errors.swift
[31/80] Compiling ArgumentParser Flag.swift
[32/80] Compiling ArgumentParser NameSpecification.swift
[33/80] Compiling ArgumentParser Option.swift
[34/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/80] Compiling ArgumentParser CompletionsGenerator.swift
[36/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/81] Wrapping AST for SystemPackage for debugging
[40/81] Emitting module ArgumentParser
[41/86] Compiling ArgumentParser DumpHelpGenerator.swift
[42/86] Compiling ArgumentParser HelpCommand.swift
[43/86] Compiling ArgumentParser HelpGenerator.swift
[44/86] Compiling ArgumentParser MessageInfo.swift
[45/86] Compiling ArgumentParser UsageGenerator.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
[55/86] Compiling ArgumentParser Argument.swift
[56/86] Compiling ArgumentParser ArgumentHelp.swift
[57/86] Compiling ArgumentParser ArgumentVisibility.swift
[58/86] Compiling ArgumentParser CompletionKind.swift
[63/86] Compiling ArgumentParser OptionGroup.swift
[64/86] Compiling ArgumentParser AsyncParsableCommand.swift
[65/86] Compiling ArgumentParser CommandConfiguration.swift
[66/86] Compiling ArgumentParser CommandGroup.swift
[67/86] Compiling ArgumentParser EnumerableFlag.swift
[68/86] Compiling ArgumentParser ExpressibleByArgument.swift
[69/86] Compiling ArgumentParser ParsableArguments.swift
[70/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[71/86] Compiling ArgumentParser ParsableCommand.swift
[72/86] Compiling ArgumentParser ArgumentDecoder.swift
[73/86] Compiling ArgumentParser ArgumentDefinition.swift
[74/86] Compiling ArgumentParser ArgumentSet.swift
[75/86] Compiling ArgumentParser CommandParser.swift
[76/86] Compiling ArgumentParser InputKey.swift
[77/86] Compiling ArgumentParser InputOrigin.swift
[78/86] Compiling ArgumentParser CollectionExtensions.swift
[79/86] Compiling ArgumentParser Platform.swift
[80/86] Compiling ArgumentParser SequenceExtensions.swift
[81/86] Compiling ArgumentParser StringExtensions.swift
[82/86] Compiling ArgumentParser Tree.swift
[83/87] Wrapping AST for ArgumentParser for debugging
[85/89] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[86/89] Emitting module BenchmarkBoilerplateGenerator
[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/93] Emitting module ArgumentParserToolInfo
[7/94] Compiling SystemPackage FileOperations.swift
[8/94] Compiling SystemPackage FilePath.swift
[9/95] Compiling RealModule Float80+Real.swift
[10/95] Compiling RealModule Real.swift
[11/95] Compiling SystemPackage Mocking.swift
[12/95] Compiling SystemPackage RawBuffer.swift
[13/97] Compiling RealModule Float16+Real.swift
[15/97] Emitting module BenchmarkShared
[16/97] Compiling BenchmarkShared Command+Helpers.swift
[17/98] Compiling RealModule ElementaryFunctions.swift
[18/98] Compiling RealModule Float+Real.swift
[19/98] Compiling RealModule RealFunctions.swift
[20/98] Compiling SystemPackage FilePathComponentView.swift
[21/98] Compiling SystemPackage FilePathComponents.swift
[22/98] Compiling SystemPackage FilePathTempPosix.swift
[23/98] Compiling SystemPackage FilePathTempWindows.swift
[24/98] Compiling SystemPackage FilePathWindows.swift
[25/98] 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)
/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)
[31/100] Emitting module RealModule
[31/101] Wrapping AST for ArgumentParserToolInfo for debugging
[34/101] Emitting module SwiftKSUID
[35/101] Compiling SwiftKSUID Base62.swift
[36/101] Compiling SwiftKSUID SwiftKSUID.swift
[37/102] Compiling Atomics IntegerOperations.swift
[38/102] Compiling Atomics Unmanaged extensions.swift
[42/102] Compiling SystemPackage FileDescriptor.swift
[43/102] Compiling SystemPackage FileHelpers.swift
[44/102] Compiling SystemPackage FilePathParsing.swift
[46/107] Emitting module SystemPackage
[46/108] Wrapping AST for SwiftKSUID for debugging
[48/108] Emitting module ArgumentParserToolInfo
[49/108] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/108] Compiling SystemPackage MachPort.swift
[51/108] Compiling SystemPackage PlatformString.swift
[52/108] Compiling SystemPackage SystemString.swift
[53/108] Compiling SystemPackage Backcompat.swift
[54/108] Compiling SystemPackage CInterop.swift
[55/109] Compiling SystemPackage Constants.swift
[56/109] Compiling SystemPackage Exports.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 |
[63/108] Compiling ComplexModule Arithmetic.swift
[64/108] Compiling SystemPackage Util+StringArray.swift
[65/108] Compiling SystemPackage Util.swift
[66/108] Compiling SystemPackage UtilConsumers.swift
[66/108] Wrapping AST for SystemPackage for debugging
[69/108] Compiling SystemPackage FilePathString.swift
[70/108] Compiling SystemPackage FilePathSyntax.swift
[71/108] Compiling SystemPackage FilePathTemp.swift
[72/146] Compiling ArgumentParser NameSpecification.swift
[73/146] Compiling ArgumentParser Option.swift
[74/146] Compiling ArgumentParser BashCompletionsGenerator.swift
[75/146] Compiling ArgumentParser CompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/146] Compiling ArgumentParser ArgumentVisibility.swift
[77/146] Compiling ArgumentParser CompletionKind.swift
[78/146] Compiling ArgumentParser Errors.swift
[79/146] Compiling ArgumentParser Flag.swift
[80/146] 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)
BUILD FAILURE 6.1 wasm