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 tzf, reference main (a16f92), with Swift 6.1 for Wasm on 30 May 2025 15:12:27 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/ringsaturn/tzf-swift.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/ringsaturn/tzf-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a16f920 bump tzf-rel
Submodule path 'tzf-rel-lite': checked out 'a123462ad55abe8efe14e3f55b6b17b6ba034086'
Submodule 'tzf-rel-lite' (https://github.com/ringsaturn/tzf-rel-lite) registered for path 'tzf-rel-lite'
Cloning into '/host/spi-builder-workspace/tzf-rel-lite'...
Cloned https://github.com/ringsaturn/tzf-swift.git
Revision (git rev-parse @):
a16f9202576d8cc81760d223acfc93eb24ba958c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ringsaturn/tzf-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ringsaturn/tzf-swift.git
https://github.com/ringsaturn/tzf-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.29.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "swift-testing",
      "requirement" : {
        "revision" : [
          "e76a44f"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-testing.git"
    },
    {
      "identity" : "package-benchmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ordo-one/package-benchmark"
    },
    {
      "identity" : "cities-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ringsaturn/cities-swift.git"
    },
    {
      "identity" : "swifttimezonelookup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git"
    }
  ],
  "manifest_display_name" : "tzf",
  "name" : "tzf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "tzf",
      "targets" : [
        "tzf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TimezoneFinderBenchmarks",
      "targets" : [
        "TimezoneFinderBenchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tzfTests",
      "module_type" : "SwiftTarget",
      "name" : "tzfTests",
      "path" : "Tests/tzfTests",
      "product_dependencies" : [
        "Testing",
        "Cities"
      ],
      "sources" : [
        "FindersTests.swift",
        "tzfTests.swift"
      ],
      "target_dependencies" : [
        "tzf"
      ],
      "type" : "test"
    },
    {
      "c99name" : "tzf",
      "module_type" : "SwiftTarget",
      "name" : "tzf",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "tzf",
        "TimezoneFinderBenchmarks"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/combined-with-oceans.reduce.bin",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/combined-with-oceans.reduce.preindex.bin",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "gen/tzf/v1/tzinfo.pb.swift",
        "tzf/Finders.swift"
      ],
      "target_dependencies" : [
        "geometry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "geometry",
      "module_type" : "SwiftTarget",
      "name" : "geometry",
      "path" : "Sources/geometry",
      "product_memberships" : [
        "tzf",
        "TimezoneFinderBenchmarks"
      ],
      "sources" : [
        "geo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TimezoneFinderBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "TimezoneFinderBenchmarks",
      "path" : "Benchmarks/TimezoneFinderBenchmarks",
      "product_dependencies" : [
        "Benchmark",
        "Cities",
        "SwiftTimeZoneLookup",
        "BenchmarkPlugin"
      ],
      "product_memberships" : [
        "TimezoneFinderBenchmarks"
      ],
      "sources" : [
        "TimezoneFinderBenchmarks.swift"
      ],
      "target_dependencies" : [
        "tzf"
      ],
      "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/apple/swift-testing.git
[1/22695] Fetching swift-testing
Fetched https://github.com/apple/swift-testing.git from cache (1.15s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git
Fetching https://github.com/ringsaturn/cities-swift.git
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/apple/swift-protobuf.git
[1/80] Fetching cities-swift
[68/6023] Fetching cities-swift, package-benchmark
[722/6284] Fetching cities-swift, package-benchmark, swifttimezonelookup
Fetched https://github.com/ordo-one/package-benchmark from cache (0.76s)
[339/70863] Fetching cities-swift, swifttimezonelookup, swift-syntax
Fetched https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git from cache (0.92s)
[783/70602] Fetching cities-swift, swift-syntax
[7836/109924] Fetching cities-swift, swift-syntax, swift-protobuf
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.84s)
Fetched https://github.com/ringsaturn/cities-swift.git from cache (11.76s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.82s)
Computing version for https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git
Computed https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git at 1.0.7 (14.18s)
Computing version for https://github.com/ringsaturn/cities-swift.git
Computed https://github.com/ringsaturn/cities-swift.git at 0.1.1 (2.29s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.60s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (0.79s)
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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[1/35] Fetching package-jemalloc
[24/637] Fetching package-jemalloc, hdrhistogram-swift
[638/5028] Fetching package-jemalloc, hdrhistogram-swift, swift-system
[3097/5231] Fetching package-jemalloc, hdrhistogram-swift, swift-system, texttable
[5232/6941] Fetching package-jemalloc, hdrhistogram-swift, swift-system, texttable, swift-atomics
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.45s)
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.45s)
[5142/6304] Fetching swift-system, texttable, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/ordo-one/TextTable.git from cache (1.09s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.10s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (1.68s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.59s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.64s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.54s)
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)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.77s)
Creating working copy for https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git
Working copy of https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git resolved at 1.0.7
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/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-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/ringsaturn/cities-swift.git
Working copy of https://github.com/ringsaturn/cities-swift.git resolved at 0.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at e76a44f (e76a44f)
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-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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] 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 Util+StringArray.swift
[11/46] Compiling SystemPackage Util.swift
[12/46] Compiling SystemPackage UtilConsumers.swift
[13/46] Compiling SystemPackage MachPort.swift
[14/46] Compiling SystemPackage PlatformString.swift
[15/46] Compiling SystemPackage SystemString.swift
[16/46] Compiling SystemPackage FilePathTempPosix.swift
[17/46] Compiling SystemPackage FilePathTempWindows.swift
[18/46] Compiling SystemPackage FilePathWindows.swift
[19/46] Compiling SystemPackage FilePermissions.swift
[20/46] Compiling SystemPackage FilePathParsing.swift
[21/46] Compiling SystemPackage FilePathString.swift
[22/46] Compiling SystemPackage FilePathSyntax.swift
[23/46] Compiling SystemPackage FilePathTemp.swift
[25/46] Compiling SystemPackage FileOperations.swift
[26/46] Compiling SystemPackage FilePath.swift
[27/46] Compiling SystemPackage FilePathComponentView.swift
[28/46] Compiling SystemPackage FilePathComponents.swift
[29/46] Compiling SystemPackage Errno.swift
[30/46] Compiling SystemPackage ErrnoWindows.swift
[31/46] Compiling SystemPackage FileDescriptor.swift
[32/46] Compiling SystemPackage FileHelpers.swift
[32/46] Wrapping AST for ArgumentParserToolInfo for debugging
[34/84] Compiling ArgumentParser CommandGroup.swift
[35/84] Compiling ArgumentParser EnumerableFlag.swift
[36/84] Compiling ArgumentParser ArgumentDefinition.swift
[37/84] Compiling ArgumentParser ArgumentSet.swift
[38/84] Compiling ArgumentParser ArgumentDecoder.swift
[39/84] Compiling ArgumentParser OptionGroup.swift
[40/84] Compiling ArgumentParser AsyncParsableCommand.swift
[41/84] Compiling ArgumentParser CommandConfiguration.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/85] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/85] Compiling ArgumentParser CompletionsGenerator.swift
[47/85] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/85] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/85] Compiling ArgumentParser Argument.swift
[50/85] Compiling ArgumentParser ArgumentHelp.swift
[51/90] Compiling ArgumentParser ExpressibleByArgument.swift
[52/90] Compiling ArgumentParser ParsableArguments.swift
[53/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[54/90] Compiling ArgumentParser ParsableCommand.swift
[56/90] Compiling ArgumentParser ArgumentVisibility.swift
[57/90] Compiling ArgumentParser CompletionKind.swift
[58/90] Compiling ArgumentParser Errors.swift
[59/90] Compiling ArgumentParser Flag.swift
[60/90] Compiling ArgumentParser NameSpecification.swift
[61/90] Compiling ArgumentParser Option.swift
[67/90] Compiling ArgumentParser CollectionExtensions.swift
[68/90] Compiling ArgumentParser Platform.swift
[69/90] Compiling ArgumentParser SequenceExtensions.swift
[70/90] Compiling ArgumentParser StringExtensions.swift
[71/90] Compiling ArgumentParser Tree.swift
[72/90] Compiling ArgumentParser Name.swift
[73/90] Compiling ArgumentParser Parsed.swift
[74/90] Compiling ArgumentParser ParsedValues.swift
[75/90] Compiling ArgumentParser ParserError.swift
[76/90] Compiling ArgumentParser SplitArguments.swift
[79/90] Compiling ArgumentParser CommandParser.swift
[80/90] Compiling ArgumentParser InputKey.swift
[81/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] 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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/geometry/geo.swift
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/63] Write sources
[8/63] Copying combined-with-oceans.reduce.preindex.bin
[9/63] Copying combined-with-oceans.reduce.bin
[10/63] Write sources
[13/63] Copying timezone21.bin
[14/63] Copying timezone16.bin
[15/63] Copying README.md
[16/63] Write sources
[17/63] Copying PrivacyInfo.xcprivacy
[18/63] Write sources
[23/63] Compiling _NumericsShims _NumericsShims.c
[23/63] Write sources
[30/63] Compiling SwiftRuntimeHooks shims.c
[31/63] Compiling _AtomicsShims.c
[32/63] Compiling CSystem shims.c
[33/63] Copying cities.json
[34/63] Compiling zonedetect.c
[35/63] Compiling CSystem shims.c
[35/63] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/196] 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)
[41/219] Emitting module geometry
[42/219] Emitting module Cities
[43/219] Compiling RealModule ElementaryFunctions.swift
[44/220] Compiling Atomics AtomicMemoryOrderings.swift
[45/220] Compiling Atomics DoubleWord.swift
[46/222] Compiling Atomics ManagedAtomic.swift
[47/222] Compiling Atomics ManagedAtomicLazyReference.swift
[48/222] Compiling RealModule Real.swift
[49/222] Compiling Atomics AtomicOptionalWrappable.swift
[50/222] Compiling Atomics OptionalRawRepresentable.swift
[51/222] Compiling Atomics UnsafeAtomic.swift
[52/222] Compiling Atomics UnsafeAtomicLazyReference.swift
[53/222] Compiling SystemPackage Util+StringArray.swift
[54/222] Compiling SystemPackage Util.swift
[55/222] Compiling SystemPackage UtilConsumers.swift
[56/222] Compiling SwiftProtobuf JSONDecodingOptions.swift
[57/222] Compiling SwiftProtobuf JSONEncoder.swift
[58/222] Compiling SwiftProtobuf JSONEncodingError.swift
[59/222] Compiling RealModule Float80+Real.swift
[60/222] Compiling Atomics Primitives.shims.swift
[61/222] Compiling Atomics AtomicInteger.swift
[63/222] Compiling Atomics AtomicReference.swift
[64/222] Compiling Atomics AtomicStorage.swift
[65/222] Compiling Atomics AtomicValue.swift
[66/222] Emitting module BenchmarkShared
[67/222] Compiling BenchmarkShared Command+Helpers.swift
[68/222] Emitting module RealModule
[71/223] Compiling RealModule Float+Real.swift
[72/223] Compiling RealModule Float16+Real.swift
[73/223] Compiling RealModule RealFunctions.swift
[75/224] Compiling Atomics IntegerOperations.swift
[76/224] Compiling Atomics Unmanaged extensions.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 |
[81/224] Compiling Atomics IntegerConformances.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)
[82/224] Compiling Atomics PointerConformances.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)
[83/224] Compiling Atomics Primitives.native.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)
[86/224] Compiling Atomics RawRepresentable.swift
[87/224] Compiling Atomics AtomicBool.swift
[98/224] Compiling SwiftProtobuf FieldTag.swift
[99/224] Compiling SwiftProtobuf FieldTypes.swift
[100/224] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[101/224] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.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] Compiling CSystem shims.c
[1/8] Write swift-version-24593BA9C3E375BF.txt
[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/38] Compiling SystemPackage Backcompat.swift
[8/38] Compiling SystemPackage CInterop.swift
[9/38] Compiling SystemPackage Constants.swift
[10/38] Compiling SystemPackage Exports.swift
[11/41] Emitting module ArgumentParserToolInfo
[12/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/42] Compiling SystemPackage FilePathTempPosix.swift
[14/42] Compiling SystemPackage FilePathTempWindows.swift
[15/42] Compiling SystemPackage FilePathWindows.swift
[16/42] Compiling SystemPackage FilePermissions.swift
[18/42] Compiling SystemPackage MachPort.swift
[19/42] Compiling SystemPackage PlatformString.swift
[20/42] Compiling SystemPackage SystemString.swift
[21/41] Compiling SystemPackage FilePathParsing.swift
[22/41] Compiling SystemPackage FilePathString.swift
[23/41] Compiling SystemPackage FilePathSyntax.swift
[24/41] Compiling SystemPackage FilePathTemp.swift
[25/73] Compiling ArgumentParser HelpCommand.swift
[26/73] Compiling ArgumentParser HelpGenerator.swift
[27/73] Compiling ArgumentParser MessageInfo.swift
[28/79] Compiling ArgumentParser AsyncParsableCommand.swift
[29/79] Compiling ArgumentParser CommandConfiguration.swift
[30/79] Compiling ArgumentParser CommandGroup.swift
[31/79] Compiling ArgumentParser EnumerableFlag.swift
[32/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/79] Compiling ArgumentParser CompletionsGenerator.swift
[34/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/79] Emitting module SystemPackage
[38/79] Compiling ArgumentParser OptionGroup.swift
[43/84] Emitting module ArgumentParser
[44/84] Compiling ArgumentParser CollectionExtensions.swift
[45/84] Compiling ArgumentParser Platform.swift
[46/84] Compiling ArgumentParser SequenceExtensions.swift
[47/84] Compiling ArgumentParser StringExtensions.swift
[48/84] Compiling ArgumentParser Tree.swift
[49/84] Compiling ArgumentParser ArgumentDefinition.swift
[50/84] Compiling ArgumentParser ArgumentSet.swift
[51/84] Compiling ArgumentParser CommandParser.swift
[52/84] Compiling ArgumentParser InputKey.swift
[53/84] Compiling ArgumentParser InputOrigin.swift
[58/84] Compiling ArgumentParser Argument.swift
[59/84] Compiling ArgumentParser ArgumentHelp.swift
[60/84] Compiling ArgumentParser ExpressibleByArgument.swift
[61/84] Compiling ArgumentParser ParsableArguments.swift
[62/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/84] Compiling ArgumentParser ParsableCommand.swift
[64/84] Compiling ArgumentParser ArgumentDecoder.swift
[65/84] Compiling ArgumentParser ArgumentVisibility.swift
[66/84] Compiling ArgumentParser CompletionKind.swift
[67/84] Compiling ArgumentParser Errors.swift
[68/84] Compiling ArgumentParser Flag.swift
[69/84] Compiling ArgumentParser NameSpecification.swift
[70/84] Compiling ArgumentParser Option.swift
[71/84] Compiling ArgumentParser Name.swift
[72/84] Compiling ArgumentParser Parsed.swift
[73/84] Compiling ArgumentParser ParsedValues.swift
[74/84] Compiling ArgumentParser ParserError.swift
[75/84] Compiling ArgumentParser SplitArguments.swift
[76/84] Compiling ArgumentParser DumpHelpGenerator.swift
[80/84] Compiling ArgumentParser UsageGenerator.swift
[82/86] Emitting module BenchmarkBoilerplateGenerator
[83/86] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[84/86] Write Objects.LinkFileList
[85/86] Linking BenchmarkBoilerplateGenerator-tool
warning: couldn't find pc file for jemalloc
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/geometry/geo.swift
[0/1] Planning build
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/32] Compiling CSystem shims.c
[4/32] Write swift-version-24593BA9C3E375BF.txt
[7/183] Compiling RealModule ElementaryFunctions.swift
[8/184] Emitting module SwiftTimeZoneLookup
[9/184] Emitting module BenchmarkShared
[10/184] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[11/184] Compiling SwiftProtobuf Message.swift
[12/186] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[13/186] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[14/186] Compiling RealModule RealFunctions.swift
[15/186] Compiling RealModule Float80+Real.swift
[16/186] Compiling RealModule Real.swift
[17/186] Compiling SwiftProtobuf Message+JSONAdditions.swift
[18/186] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[19/186] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[20/186] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[21/186] Compiling RealModule Float+Real.swift
[22/186] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[23/186] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[24/186] Compiling RealModule Float16+Real.swift
[25/186] Compiling BenchmarkShared Command+Helpers.swift
[26/187] Emitting module RealModule
[30/188] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[31/188] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[32/188] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[33/188] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/191] 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)
[37/191] Compiling Atomics IntegerOperations.swift
[38/191] Compiling Atomics Unmanaged extensions.swift
[43/192] Compiling SwiftProtobuf Internal.swift
[44/192] Compiling SwiftProtobuf JSONDecoder.swift
[45/192] Compiling SwiftProtobuf JSONDecodingError.swift
[48/192] Compiling SwiftProtobuf HashVisitor.swift
[49/192] Compiling Cities resource_bundle_accessor.swift
[50/193] Emitting module ArgumentParserToolInfo
[51/194] Compiling SwiftProtobuf CustomJSONCodable.swift
[52/194] Compiling SwiftProtobuf Decoder.swift
[53/194] Compiling SwiftProtobuf DoubleParser.swift
[58/194] Compiling SwiftProtobuf PathDecoder.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 |
[59/194] Compiling SwiftProtobuf PathVisitor.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 |
[60/194] Compiling SwiftProtobuf ProtoNameProviding.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 |
[61/194] Compiling SwiftProtobuf ProtobufAPIVersionCheck.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/194] Compiling SystemPackage Util+StringArray.swift
[64/194] Compiling SystemPackage Util.swift
[65/194] Compiling SystemPackage UtilConsumers.swift
[66/194] Compiling SwiftTimeZoneLookup resource_bundle_accessor.swift
[67/194] Compiling geometry geo.swift
[68/194] Emitting module geometry
[70/195] Compiling Cities City.swift
[71/195] Emitting module Cities
[72/195] Compiling Cities Cities.swift
[73/195] Compiling SwiftTimeZoneLookup SwiftTimeZoneLookup.swift
[75/204] Wrapping AST for ArgumentParserToolInfo for debugging
[80/204] Wrapping AST for geometry for debugging
[81/204] Wrapping AST for SwiftTimeZoneLookup for debugging
[87/204] Emitting module Atomics
[87/205] Wrapping AST for RealModule for debugging
[89/205] Emitting module SystemPackage
[89/206] Wrapping AST for Cities for debugging
BUILD FAILURE 6.1 wasm