The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DeduplicatedSequenceAsyncStream, reference v1.0.0 (9e5694), with Swift 6.1 for Wasm on 30 May 2025 10:06:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/supersonicbyte/deduplicated-sequence-async-stream.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/supersonicbyte/deduplicated-sequence-async-stream
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 9e56947 Add SPI manifest
Cloned https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git
Revision (git rev-parse @):
9e5694732d1a619cdae6f71f51dce754655ea357
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git
https://github.com/supersonicbyte/deduplicated-sequence-async-stream.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "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"
    }
  ],
  "manifest_display_name" : "DeduplicatedSequenceAsyncStream",
  "name" : "DeduplicatedSequenceAsyncStream",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "DeduplicatedSequenceAsyncStream",
      "targets" : [
        "DeduplicatedSequenceAsyncStream"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DeduplicatedSequenceAsyncStreamBenchmark",
      "targets" : [
        "DeduplicatedSequenceAsyncStreamBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeduplicatedSequenceAsyncStreamTests",
      "module_type" : "SwiftTarget",
      "name" : "DeduplicatedSequenceAsyncStreamTests",
      "path" : "Tests/DeduplicatedSequenceAsyncStreamTests",
      "sources" : [
        "DeduplicatedSequenceAsyncStreamTests.swift",
        "Support/StockPrice.swift"
      ],
      "target_dependencies" : [
        "DeduplicatedSequenceAsyncStream"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeduplicatedSequenceAsyncStreamBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "DeduplicatedSequenceAsyncStreamBenchmark",
      "path" : "Benchmarks/DeduplicatedSequenceAsyncStreamBenchmark",
      "product_dependencies" : [
        "Benchmark",
        "BenchmarkPlugin"
      ],
      "product_memberships" : [
        "DeduplicatedSequenceAsyncStreamBenchmark"
      ],
      "sources" : [
        "DeduplicatedSequenceAsyncStreamBenchmark.swift"
      ],
      "target_dependencies" : [
        "DeduplicatedSequenceAsyncStream"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DeduplicatedSequenceAsyncStream",
      "module_type" : "SwiftTarget",
      "name" : "DeduplicatedSequenceAsyncStream",
      "path" : "Sources/DeduplicatedSequenceAsyncStream",
      "product_memberships" : [
        "DeduplicatedSequenceAsyncStream",
        "DeduplicatedSequenceAsyncStreamBenchmark"
      ],
      "sources" : [
        "DeduplicatedSequenceAsyncStream.swift",
        "Internal/Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-docc-plugin
Fetching https://github.com/ordo-one/package-benchmark
[1/5943] Fetching package-benchmark
[4459/7992] Fetching package-benchmark, swift-docc-plugin
Fetched https://github.com/ordo-one/package-benchmark from cache (0.49s)
[2049/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.11s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.24s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (0.61s)
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/35] Fetching package-jemalloc
[36/637] Fetching package-jemalloc, hdrhistogram-swift
[638/840] Fetching package-jemalloc, hdrhistogram-swift, texttable
[841/5231] Fetching package-jemalloc, hdrhistogram-swift, texttable, swift-system
[1720/6941] Fetching package-jemalloc, hdrhistogram-swift, texttable, swift-system, swift-atomics
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.37s)
[6445/6906] Fetching hdrhistogram-swift, texttable, swift-system, swift-atomics
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.38s)
[5877/6304] Fetching texttable, swift-system, swift-atomics
[6305/21690] Fetching texttable, swift-system, swift-atomics, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
[2529/17299] Fetching texttable, swift-atomics, swift-argument-parser
Fetched https://github.com/ordo-one/TextTable.git from cache (0.91s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
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.43s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.52s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.53s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.42s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.45s)
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.68s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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-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/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[4/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module SystemPackage
[8/45] Emitting module ArgumentParserToolInfo
[9/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/46] Compiling SystemPackage FilePathParsing.swift
[12/46] Compiling SystemPackage FilePathString.swift
[13/46] Compiling SystemPackage FilePathSyntax.swift
[14/46] Compiling SystemPackage FilePathTemp.swift
[15/46] Compiling SystemPackage Util+StringArray.swift
[16/46] Compiling SystemPackage Util.swift
[17/46] Compiling SystemPackage UtilConsumers.swift
[17/46] Wrapping AST for ArgumentParserToolInfo for debugging
[19/84] Compiling ArgumentParser OptionGroup.swift
[20/84] Compiling ArgumentParser AsyncParsableCommand.swift
[21/84] Compiling ArgumentParser CommandConfiguration.swift
[22/84] Compiling ArgumentParser CommandGroup.swift
[23/84] Compiling ArgumentParser Flag.swift
[24/84] Compiling ArgumentParser NameSpecification.swift
[25/84] Compiling ArgumentParser Option.swift
[26/84] Compiling ArgumentParser EnumerableFlag.swift
[27/84] Compiling ArgumentParser ArgumentVisibility.swift
[28/84] Compiling ArgumentParser CompletionKind.swift
[29/84] Compiling ArgumentParser Errors.swift
[30/84] Compiling ArgumentParser ArgumentSet.swift
[31/84] Compiling ArgumentParser CommandParser.swift
[32/84] Compiling ArgumentParser InputKey.swift
[33/84] Compiling ArgumentParser InputOrigin.swift
[34/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/84] Compiling ArgumentParser Argument.swift
[36/84] Compiling ArgumentParser ArgumentHelp.swift
[37/84] Compiling ArgumentParser ArgumentDefinition.swift
[38/84] Compiling ArgumentParser ArgumentDecoder.swift
[39/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/84] Compiling ArgumentParser CompletionsGenerator.swift
[41/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/90] Compiling ArgumentParser CollectionExtensions.swift
[46/90] Compiling ArgumentParser Platform.swift
[47/90] Compiling ArgumentParser SequenceExtensions.swift
[48/90] Compiling ArgumentParser StringExtensions.swift
[49/90] Compiling ArgumentParser Tree.swift
[55/90] Compiling ArgumentParser ExpressibleByArgument.swift
[56/90] Compiling ArgumentParser ParsableArguments.swift
[57/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/90] Compiling ArgumentParser ParsableCommand.swift
[77/90] Compiling ArgumentParser Name.swift
[78/90] Compiling ArgumentParser Parsed.swift
[79/90] Compiling ArgumentParser ParsedValues.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.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
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/48] Write sources
[20/48] Compiling CSystem shims.c
[21/48] Compiling _NumericsShims _NumericsShims.c
[23/48] Compiling SwiftRuntimeHooks shims.c
[24/48] Compiling _AtomicsShims.c
[25/48] Write swift-version-24593BA9C3E375BF.txt
[27/113] Emitting module ArgumentParserToolInfo
[29/116] Emitting module SystemPackage
[30/117] Wrapping AST for ArgumentParserToolInfo for debugging
[31/117] Wrapping AST for SystemPackage for debugging
[33/117] Emitting module ArgumentParser
[34/119] Wrapping AST for ArgumentParser for debugging
[36/119] Emitting module BenchmarkBoilerplateGenerator
[38/120] Emitting module BenchmarkShared
[39/120] Compiling BenchmarkShared Command+Helpers.swift
[40/120] Emitting module RealModule
[41/122] Compiling Atomics Primitives.shims.swift
[42/122] Compiling Atomics AtomicInteger.swift
[43/122] Compiling Atomics AtomicOptionalWrappable.swift
[44/124] Compiling RealModule Float+Real.swift
[45/124] Compiling Atomics UnsafeAtomic.swift
[46/124] Compiling Atomics UnsafeAtomicLazyReference.swift
[47/124] Compiling SystemPackage MachPort.swift
[48/124] Compiling SystemPackage PlatformString.swift
[49/124] Compiling SystemPackage SystemString.swift
[50/124] Emitting module DeduplicatedSequenceAsyncStream
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/127] 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)
[51/127] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[52/127] Write Objects.LinkFileList
[54/127] Emitting module ArgumentParserToolInfo
[55/127] Compiling ArgumentParserToolInfo ToolInfo.swift
[56/128] Compiling RealModule ElementaryFunctions.swift
[57/128] Compiling Atomics OptionalRawRepresentable.swift
[58/128] Compiling Atomics RawRepresentable.swift
[59/128] Compiling Atomics AtomicBool.swift
[61/128] Compiling Atomics ManagedAtomic.swift
[62/128] Compiling Atomics ManagedAtomicLazyReference.swift
[63/128] Compiling RealModule Float80+Real.swift
[64/128] Compiling RealModule Float16+Real.swift
[65/128] Compiling RealModule Real.swift
[66/128] Compiling Atomics AtomicMemoryOrderings.swift
[67/128] Compiling Atomics DoubleWord.swift
[68/128] Compiling Atomics AtomicReference.swift
[69/128] Compiling Atomics AtomicStorage.swift
[70/128] Compiling Atomics AtomicValue.swift
[74/128] Emitting module Atomics
[75/128] Compiling Atomics IntegerConformances.swift
[76/128] Compiling Atomics PointerConformances.swift
[77/128] Compiling Atomics Primitives.native.swift
[79/128] Compiling RealModule RealFunctions.swift
[80/129] Wrapping AST for BenchmarkShared for debugging
[82/129] Wrapping AST for ArgumentParserToolInfo for debugging
[84/129] Compiling Atomics IntegerOperations.swift
[85/129] Compiling Atomics Unmanaged extensions.swift
[86/130] Compiling SystemPackage Util+StringArray.swift
[87/130] Compiling SystemPackage Util.swift
[88/130] Compiling SystemPackage UtilConsumers.swift
[88/130] Linking BenchmarkBoilerplateGenerator-tool
[90/130] 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 |
[91/130] 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 |
[92/130] 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 |
[93/130] 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 |
/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)
[113/130] Generating plugin support files
[114/130] Write sources
[116/168] Wrapping AST for RealModule for debugging
[118/173] Compiling ComplexModule Arithmetic.swift
[119/173] Compiling DeduplicatedSequenceAsyncStream DeduplicatedSequenceAsyncStream.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] Compiling SystemPackage Errno.swift
[4/38] Compiling SystemPackage ErrnoWindows.swift
[5/38] Compiling SystemPackage FileDescriptor.swift
[6/38] Compiling SystemPackage FileHelpers.swift
[7/38] Emitting module SystemPackage
[8/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/41] Emitting module ArgumentParserToolInfo
[11/42] Compiling SystemPackage FilePathTempPosix.swift
[12/42] Compiling SystemPackage FilePathTempWindows.swift
[13/42] Compiling SystemPackage FilePathWindows.swift
[14/42] Compiling SystemPackage FilePermissions.swift
[15/42] Compiling SystemPackage MachPort.swift
[16/42] Compiling SystemPackage PlatformString.swift
[17/42] Compiling SystemPackage SystemString.swift
[17/42] Wrapping AST for ArgumentParserToolInfo for debugging
[19/80] Compiling ArgumentParser OptionGroup.swift
[20/80] Compiling ArgumentParser AsyncParsableCommand.swift
[21/80] Compiling ArgumentParser CommandConfiguration.swift
[22/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/80] Compiling ArgumentParser Argument.swift
[25/80] Compiling ArgumentParser ArgumentHelp.swift
[26/80] Compiling ArgumentParser InputKey.swift
[27/80] Compiling ArgumentParser InputOrigin.swift
[28/80] Compiling ArgumentParser ExpressibleByArgument.swift
[29/80] Compiling ArgumentParser ParsableArguments.swift
[30/80] Compiling ArgumentParser HelpCommand.swift
[31/80] Compiling ArgumentParser HelpGenerator.swift
[32/80] Compiling ArgumentParser MessageInfo.swift
[33/80] Compiling ArgumentParser UsageGenerator.swift
[34/80] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/80] Compiling ArgumentParser ParsableCommand.swift
[36/80] Compiling ArgumentParser ArgumentDecoder.swift
[37/80] Compiling ArgumentParser DumpHelpGenerator.swift
[38/81] Wrapping AST for SystemPackage for debugging
[40/81] Compiling ArgumentParser Name.swift
[41/81] Compiling ArgumentParser Parsed.swift
[42/81] Compiling ArgumentParser ParsedValues.swift
[43/81] Compiling ArgumentParser ParserError.swift
[44/81] Compiling ArgumentParser SplitArguments.swift
[45/81] Compiling ArgumentParser ArgumentVisibility.swift
[46/81] Compiling ArgumentParser CompletionKind.swift
[47/81] Compiling ArgumentParser Errors.swift
[48/81] Compiling ArgumentParser Flag.swift
[49/81] Compiling ArgumentParser NameSpecification.swift
[50/81] Compiling ArgumentParser Option.swift
[56/86] Emitting module ArgumentParser
[57/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/86] Compiling ArgumentParser CompletionsGenerator.swift
[63/86] Compiling ArgumentParser ArgumentDefinition.swift
[64/86] Compiling ArgumentParser ArgumentSet.swift
[65/86] Compiling ArgumentParser CommandParser.swift
[71/86] Compiling ArgumentParser CommandGroup.swift
[72/86] Compiling ArgumentParser EnumerableFlag.swift
[78/86] Compiling ArgumentParser CollectionExtensions.swift
[79/86] Compiling ArgumentParser Platform.swift
[80/86] Compiling ArgumentParser SequenceExtensions.swift
[81/86] Compiling ArgumentParser StringExtensions.swift
[82/86] Compiling ArgumentParser Tree.swift
[83/87] Wrapping AST for ArgumentParser for debugging
[85/89] Emitting module BenchmarkBoilerplateGenerator
[86/89] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[87/90] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking BenchmarkBoilerplateGenerator-tool
warning: couldn't find pc file for jemalloc
[0/1] Planning build
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/29] Compiling CSystem shims.c
[6/29] Write swift-version-24593BA9C3E375BF.txt
[8/95] Emitting module ArgumentParserToolInfo
[9/96] Compiling RealModule Float80+Real.swift
[10/96] Compiling RealModule Real.swift
[12/97] Emitting module DeduplicatedSequenceAsyncStream
[13/97] Compiling BenchmarkShared Command+Helpers.swift
[14/97] Emitting module BenchmarkShared
[15/98] Compiling RealModule Float+Real.swift
[17/98] Compiling RealModule Float16+Real.swift
[18/98] Compiling RealModule ElementaryFunctions.swift
[19/98] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/98] 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)
[21/98] Compiling SystemPackage Constants.swift
[22/98] Compiling SystemPackage Exports.swift
[23/98] Compiling SystemPackage FilePathTempPosix.swift
[24/98] Compiling SystemPackage FilePathTempWindows.swift
[25/103] Compiling RealModule RealFunctions.swift
[26/103] Emitting module SystemPackage
[27/104] Wrapping AST for ArgumentParserToolInfo for debugging
[29/104] Emitting module ArgumentParserToolInfo
[30/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/105] Wrapping AST for SystemPackage for debugging
[33/105] Emitting module ArgumentParser
[35/106] Compiling SystemPackage ErrnoWindows.swift
[36/106] Compiling SystemPackage FileDescriptor.swift
[37/105] Compiling Atomics IntegerOperations.swift
[38/105] Compiling Atomics Unmanaged extensions.swift
[39/105] Compiling SystemPackage FilePathComponentView.swift
[40/105] Compiling SystemPackage FilePathComponents.swift
[41/105] Compiling SystemPackage Errno.swift
[42/105] Compiling SystemPackage FilePathTemp.swift
[43/105] Compiling SystemPackage FileOperations.swift
[44/105] Compiling SystemPackage FilePath.swift
[45/105] Compiling SystemPackage FilePathParsing.swift
[46/105] Compiling SystemPackage FilePathString.swift
[47/105] Compiling SystemPackage Backcompat.swift
[48/105] Compiling SystemPackage CInterop.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)
[55/105] Compiling SystemPackage FilePathSyntax.swift
[57/106] Compiling SystemPackage Util+StringArray.swift
[58/106] Compiling SystemPackage Util.swift
[59/106] Compiling SystemPackage UtilConsumers.swift
[60/106] 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 |
[61/106] 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 |
[62/106] 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 |
[63/106] 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 |
[64/106] Compiling SystemPackage MachPort.swift
[65/106] Compiling SystemPackage PlatformString.swift
[66/106] Compiling SystemPackage SystemString.swift
[70/106] Compiling SystemPackage FileHelpers.swift
[75/106] Compiling DeduplicatedSequenceAsyncStream DeduplicatedSequenceAsyncStream.swift
[76/106] Compiling DeduplicatedSequenceAsyncStream Storage.swift
[77/145] Compiling ArgumentParser BashCompletionsGenerator.swift
[78/145] Compiling ArgumentParser CompletionsGenerator.swift
[79/145] Compiling ArgumentParser FishCompletionsGenerator.swift
[81/145] Compiling ArgumentParser ArgumentVisibility.swift
[82/145] Compiling ArgumentParser CompletionKind.swift
[83/145] Compiling ArgumentParser Errors.swift
[84/145] Emitting module Atomics
[85/145] Compiling ArgumentParser Argument.swift
[86/145] Compiling ArgumentParser ArgumentHelp.swift
[87/145] Compiling ArgumentParser OptionGroup.swift
[88/145] Compiling ArgumentParser AsyncParsableCommand.swift
[88/145] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.1 wasm