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 v1.0.0 (a16f92), with Swift 6.1 for Wasm on 30 May 2025 15:12:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: v1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ringsaturn/tzf-swift
 * tag               v1.0.0     -> FETCH_HEAD
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 v1.0.0
========================================
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-4609320-0":/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.10s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git
Fetching https://github.com/ringsaturn/cities-swift.git
[1/80] Fetching cities-swift
[62/341] Fetching cities-swift, swifttimezonelookup
[97/6284] Fetching cities-swift, swifttimezonelookup, package-benchmark
Fetched https://github.com/ordo-one/package-benchmark from cache (0.67s)
Fetched https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git from cache (0.68s)
[81/70602] Fetching cities-swift, swift-syntax
[8544/109924] Fetching cities-swift, swift-syntax, swift-protobuf
Fetched https://github.com/ringsaturn/cities-swift.git from cache (10.33s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.38s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.41s)
Computing version for https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git
Computed https://github.com/patrick-zippenfenig/SwiftTimeZoneLookup.git at 1.0.7 (12.58s)
Computing version for https://github.com/ringsaturn/cities-swift.git
Computed https://github.com/ringsaturn/cities-swift.git at 0.1.1 (0.58s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.69s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (0.57s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[1/203] Fetching texttable
[204/1913] Fetching texttable, swift-atomics
[222/2515] Fetching texttable, swift-atomics, hdrhistogram-swift
[1337/2550] Fetching texttable, swift-atomics, hdrhistogram-swift, package-jemalloc
[1474/6941] Fetching texttable, swift-atomics, hdrhistogram-swift, package-jemalloc, swift-system
[6942/22327] Fetching texttable, swift-atomics, hdrhistogram-swift, package-jemalloc, swift-system, swift-argument-parser
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.51s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[7091/20015] Fetching texttable, package-jemalloc, swift-system, swift-argument-parser
Fetched https://github.com/ordo-one/TextTable.git from cache (0.52s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.52s)
[7007/19777] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[3232/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (1.54s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (1.02s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.86s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.99s)
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.92s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.15s)
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/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-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-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/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-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at e76a44f (e76a44f)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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/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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling CSystem shims.c
[7/42] Emitting module SystemPackage
[8/45] Compiling SystemPackage MachPort.swift
[9/45] Compiling SystemPackage PlatformString.swift
[10/45] Compiling SystemPackage SystemString.swift
[11/45] Compiling SystemPackage Util+StringArray.swift
[12/45] Compiling SystemPackage Util.swift
[13/45] Compiling SystemPackage UtilConsumers.swift
[14/45] Emitting module ArgumentParserToolInfo
[15/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/46] Compiling SystemPackage FilePathParsing.swift
[18/46] Compiling SystemPackage FilePathString.swift
[19/46] Compiling SystemPackage FilePathSyntax.swift
[20/46] Compiling SystemPackage FilePathTemp.swift
[21/46] Compiling SystemPackage Mocking.swift
[22/46] Compiling SystemPackage RawBuffer.swift
[23/46] Compiling SystemPackage Syscalls.swift
[24/46] Compiling SystemPackage WindowsSyscallAdapters.swift
[25/46] Compiling SystemPackage FilePathTempPosix.swift
[26/46] Compiling SystemPackage FilePathTempWindows.swift
[27/46] Compiling SystemPackage FilePathWindows.swift
[28/46] Compiling SystemPackage FilePermissions.swift
[29/46] Compiling SystemPackage FileOperations.swift
[30/46] Compiling SystemPackage FilePath.swift
[31/46] Compiling SystemPackage FilePathComponentView.swift
[32/46] Compiling SystemPackage FilePathComponents.swift
[33/46] Compiling SystemPackage Errno.swift
[34/46] Compiling SystemPackage ErrnoWindows.swift
[35/46] Compiling SystemPackage FileDescriptor.swift
[36/46] Compiling SystemPackage FileHelpers.swift
[37/46] Compiling SystemPackage Backcompat.swift
[38/46] Compiling SystemPackage CInterop.swift
[39/46] Compiling SystemPackage Constants.swift
[40/46] Compiling SystemPackage Exports.swift
[40/47] Wrapping AST for ArgumentParserToolInfo for debugging
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Compiling ArgumentParser ArgumentVisibility.swift
[45/85] Compiling ArgumentParser CompletionKind.swift
[46/85] Compiling ArgumentParser Errors.swift
[47/85] Compiling ArgumentParser Flag.swift
[48/85] Compiling ArgumentParser NameSpecification.swift
[49/85] Compiling ArgumentParser Option.swift
[50/90] Emitting module ArgumentParser
[51/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/90] Compiling ArgumentParser CompletionsGenerator.swift
[53/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/90] Compiling ArgumentParser Argument.swift
[56/90] Compiling ArgumentParser ArgumentHelp.swift
[57/90] Compiling ArgumentParser ArgumentDefinition.swift
[58/90] Compiling ArgumentParser ArgumentSet.swift
[59/90] Compiling ArgumentParser CommandParser.swift
[60/90] Compiling ArgumentParser InputKey.swift
[61/90] Compiling ArgumentParser InputOrigin.swift
[62/90] Compiling ArgumentParser CollectionExtensions.swift
[63/90] Compiling ArgumentParser Platform.swift
[64/90] Compiling ArgumentParser SequenceExtensions.swift
[65/90] Compiling ArgumentParser StringExtensions.swift
[66/90] Compiling ArgumentParser Tree.swift
[67/90] Compiling ArgumentParser Name.swift
[68/90] Compiling ArgumentParser Parsed.swift
[69/90] Compiling ArgumentParser ParsedValues.swift
[70/90] Compiling ArgumentParser ParserError.swift
[71/90] Compiling ArgumentParser SplitArguments.swift
[72/90] Compiling ArgumentParser ExpressibleByArgument.swift
[73/90] Compiling ArgumentParser ParsableArguments.swift
[74/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[75/90] Compiling ArgumentParser ParsableCommand.swift
[76/90] Compiling ArgumentParser ArgumentDecoder.swift
[77/90] Compiling ArgumentParser OptionGroup.swift
[78/90] Compiling ArgumentParser AsyncParsableCommand.swift
[79/90] Compiling ArgumentParser CommandConfiguration.swift
[80/90] Compiling ArgumentParser CommandGroup.swift
[81/90] Compiling ArgumentParser EnumerableFlag.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
[10/63] Copying combined-with-oceans.reduce.preindex.bin
[11/63] Write sources
[12/63] Copying timezone21.bin
[13/63] Copying timezone16.bin
[14/63] Copying README.md
[15/63] Write sources
[16/63] Copying PrivacyInfo.xcprivacy
[17/63] Write sources
[22/63] Copying combined-with-oceans.reduce.bin
[23/63] Write sources
[24/63] Compiling _NumericsShims _NumericsShims.c
[25/63] Write sources
[30/63] Compiling _AtomicsShims.c
[31/63] Compiling CSystem shims.c
[33/63] Copying cities.json
[34/63] Compiling zonedetect.c
[35/63] Compiling SwiftRuntimeHooks shims.c
[36/63] Write swift-version-24593BA9C3E375BF.txt
[38/169] Emitting module BenchmarkShared
[39/169] Emitting module ArgumentParserToolInfo
[41/198] Emitting module SystemPackage
[43/218] Compiling RealModule Float80+Real.swift
[44/218] Compiling RealModule Real.swift
[45/218] Compiling RealModule ElementaryFunctions.swift
[46/219] Compiling RealModule Float+Real.swift
[47/219] Compiling RealModule Float16+Real.swift
[48/219] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[49/219] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[50/219] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[51/219] Compiling Atomics AtomicMemoryOrderings.swift
[52/219] Compiling Atomics DoubleWord.swift
[53/219] Compiling Atomics Primitives.shims.swift
[54/219] Compiling Atomics AtomicInteger.swift
[55/219] Compiling Atomics AtomicOptionalWrappable.swift
[56/224] Compiling Atomics AtomicReference.swift
[57/224] Compiling Atomics AtomicStorage.swift
[58/224] Compiling Atomics AtomicValue.swift
[59/224] Compiling Atomics Primitives.native.swift
[60/224] Compiling Atomics ManagedAtomic.swift
[61/224] Compiling Atomics IntegerConformances.swift
[62/224] Compiling Atomics PointerConformances.swift
[63/224] Emitting module RealModule
[64/224] Compiling RealModule RealFunctions.swift
[65/224] Compiling BenchmarkShared Command+Helpers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/226] 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)
[73/226] Compiling SystemPackage Util+StringArray.swift
[74/226] Compiling SystemPackage Util.swift
[75/226] Compiling SystemPackage UtilConsumers.swift
[76/228] Compiling Atomics IntegerOperations.swift
[77/228] Compiling Atomics Unmanaged extensions.swift
[78/229] Compiling Atomics ManagedAtomicLazyReference.swift
[79/229] Compiling Atomics UnsafeAtomic.swift
[80/229] Compiling Atomics UnsafeAtomicLazyReference.swift
[81/229] Compiling Atomics OptionalRawRepresentable.swift
[82/229] Compiling Atomics RawRepresentable.swift
[83/229] Compiling Atomics AtomicBool.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)
[90/233] Compiling SwiftProtobuf BinaryEncodingError.swift
[91/233] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[92/233] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[93/233] Compiling SwiftProtobuf BinaryEncodingVisitor.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 |
[101/233] Emitting module geometry
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for jemalloc
[0/8] Write swift-version-24593BA9C3E375BF.txt
[1/8] Compiling CSystem shims.c
[3/38] Emitting module ArgumentParserToolInfo
[4/38] Compiling SystemPackage Backcompat.swift
[5/38] Compiling SystemPackage CInterop.swift
[6/38] Compiling SystemPackage Constants.swift
[7/38] Compiling SystemPackage Exports.swift
[8/41] Compiling SystemPackage Mocking.swift
[9/41] Compiling SystemPackage RawBuffer.swift
[10/41] Compiling SystemPackage Syscalls.swift
[11/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/41] Compiling SystemPackage MachPort.swift
[13/41] Compiling SystemPackage PlatformString.swift
[14/41] Compiling SystemPackage SystemString.swift
[15/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/42] Compiling SystemPackage FilePathTempPosix.swift
[18/42] Compiling SystemPackage FilePathTempWindows.swift
[19/42] Compiling SystemPackage FilePathWindows.swift
[20/42] Compiling SystemPackage FilePermissions.swift
[21/42] Compiling SystemPackage FilePathParsing.swift
[22/42] Compiling SystemPackage FilePathString.swift
[23/42] Compiling SystemPackage FilePathSyntax.swift
[24/42] Compiling SystemPackage FilePathTemp.swift
[25/42] Compiling SystemPackage Util+StringArray.swift
[26/42] Compiling SystemPackage Util.swift
[27/42] Compiling SystemPackage UtilConsumers.swift
[28/41] Compiling SystemPackage Errno.swift
[29/41] Compiling SystemPackage ErrnoWindows.swift
[30/41] Compiling SystemPackage FileDescriptor.swift
[31/41] Compiling SystemPackage FileHelpers.swift
[32/41] Emitting module SystemPackage
[33/41] Compiling SystemPackage FileOperations.swift
[34/41] Compiling SystemPackage FilePath.swift
[35/41] Compiling SystemPackage FilePathComponentView.swift
[36/41] Compiling SystemPackage FilePathComponents.swift
[38/79] Emitting module ArgumentParser
[39/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/84] Compiling ArgumentParser CompletionsGenerator.swift
[41/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/84] Compiling ArgumentParser Argument.swift
[44/84] Compiling ArgumentParser ArgumentHelp.swift
[45/84] Compiling ArgumentParser OptionGroup.swift
[46/84] Compiling ArgumentParser AsyncParsableCommand.swift
[47/84] Compiling ArgumentParser CommandConfiguration.swift
[48/84] Compiling ArgumentParser CommandGroup.swift
[49/84] Compiling ArgumentParser EnumerableFlag.swift
[50/84] Compiling ArgumentParser Name.swift
[51/84] Compiling ArgumentParser Parsed.swift
[52/84] Compiling ArgumentParser ParsedValues.swift
[53/84] Compiling ArgumentParser ParserError.swift
[54/84] Compiling ArgumentParser SplitArguments.swift
[55/84] Compiling ArgumentParser ExpressibleByArgument.swift
[56/84] Compiling ArgumentParser ParsableArguments.swift
[57/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/84] Compiling ArgumentParser ParsableCommand.swift
[59/84] Compiling ArgumentParser ArgumentDecoder.swift
[60/84] Compiling ArgumentParser ArgumentVisibility.swift
[61/84] Compiling ArgumentParser CompletionKind.swift
[62/84] Compiling ArgumentParser Errors.swift
[63/84] Compiling ArgumentParser Flag.swift
[64/84] Compiling ArgumentParser NameSpecification.swift
[65/84] Compiling ArgumentParser Option.swift
[66/84] Compiling ArgumentParser DumpHelpGenerator.swift
[67/84] Compiling ArgumentParser HelpCommand.swift
[68/84] Compiling ArgumentParser HelpGenerator.swift
[69/84] Compiling ArgumentParser MessageInfo.swift
[70/84] Compiling ArgumentParser UsageGenerator.swift
[71/84] Compiling ArgumentParser ArgumentDefinition.swift
[72/84] Compiling ArgumentParser ArgumentSet.swift
[73/84] Compiling ArgumentParser CommandParser.swift
[74/84] Compiling ArgumentParser InputKey.swift
[75/84] Compiling ArgumentParser InputOrigin.swift
[76/84] Compiling ArgumentParser CollectionExtensions.swift
[77/84] Compiling ArgumentParser Platform.swift
[78/84] Compiling ArgumentParser SequenceExtensions.swift
[79/84] Compiling ArgumentParser StringExtensions.swift
[80/84] Compiling ArgumentParser Tree.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
[5/32] Write swift-version-24593BA9C3E375BF.txt
[7/139] Emitting module BenchmarkShared
[8/165] Compiling RealModule Float80+Real.swift
[9/166] Compiling RealModule RealFunctions.swift
[10/166] Compiling BenchmarkShared Command+Helpers.swift
[11/167] Compiling RealModule Real.swift
[12/167] Compiling RealModule ElementaryFunctions.swift
[13/167] Compiling RealModule Float+Real.swift
[14/167] Compiling RealModule Float16+Real.swift
[15/167] Compiling SwiftProtobuf DoubleParser.swift
[16/167] Compiling SwiftProtobuf Enum.swift
[17/167] Emitting module RealModule
[18/167] Compiling SwiftProtobuf CustomJSONCodable.swift
[19/167] Compiling SwiftProtobuf Decoder.swift
[21/168] Compiling SwiftProtobuf AnyMessageStorage.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)
[22/168] Compiling SwiftProtobuf AnyUnpackError.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)
[23/168] Compiling SwiftProtobuf AsyncMessageSequence.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/168] Compiling SwiftProtobuf BinaryDecoder.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/168] Compiling SwiftProtobuf BinaryDecodingError.swift
[26/168] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[27/168] Compiling SwiftProtobuf BinaryDelimited.swift
[28/168] Compiling SwiftProtobuf BinaryEncoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/186] 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)
[32/192] Compiling SystemPackage MachPort.swift
[33/192] Compiling SystemPackage PlatformString.swift
[34/192] Compiling SystemPackage SystemString.swift
[35/192] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[36/192] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[37/192] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[38/192] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[39/192] Emitting module ArgumentParserToolInfo
[40/192] Compiling Atomics ManagedAtomic.swift
[41/192] Compiling Atomics ManagedAtomicLazyReference.swift
[42/192] Compiling Atomics UnsafeAtomic.swift
[43/192] Compiling Atomics UnsafeAtomicLazyReference.swift
[44/195] Compiling Atomics AtomicMemoryOrderings.swift
[45/195] Compiling Atomics DoubleWord.swift
[48/195] Compiling SwiftTimeZoneLookup resource_bundle_accessor.swift
[49/195] Compiling SystemPackage Util+StringArray.swift
[50/195] Compiling SystemPackage Util.swift
[51/195] Compiling SystemPackage UtilConsumers.swift
[52/195] Compiling Cities resource_bundle_accessor.swift
[53/195] Compiling Cities City.swift
[54/195] Emitting module SwiftTimeZoneLookup
[55/195] Compiling SwiftTimeZoneLookup SwiftTimeZoneLookup.swift
[56/195] Compiling Atomics AtomicReference.swift
[57/195] Compiling Atomics AtomicStorage.swift
[58/195] Compiling Atomics AtomicValue.swift
[59/195] Compiling Atomics Primitives.shims.swift
[60/195] Compiling Atomics AtomicInteger.swift
[61/195] Compiling Atomics AtomicOptionalWrappable.swift
[62/196] Compiling geometry geo.swift
[63/196] Emitting module geometry
[64/202] Emitting module Cities
[65/202] Compiling Cities Cities.swift
[68/205] Compiling Atomics IntegerOperations.swift
[69/205] Compiling Atomics Unmanaged extensions.swift
[71/205] Compiling ComplexModule Differentiable.swift
[71/205] Wrapping AST for SystemPackage for debugging
[73/205] Compiling Atomics RawRepresentable.swift
[74/205] Compiling Atomics AtomicBool.swift
[77/205] Compiling Atomics IntegerConformances.swift
[78/205] Compiling Atomics PointerConformances.swift
[79/205] Compiling Atomics Primitives.native.swift
[80/205] Compiling Atomics OptionalRawRepresentable.swift
[84/205] Wrapping AST for ArgumentParserToolInfo for debugging
[85/205] Wrapping AST for geometry for debugging
[88/205] Wrapping AST for SwiftTimeZoneLookup for debugging
BUILD FAILURE 6.1 wasm