The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build swift-url, reference 0.4.2 (9306a9), with Swift 6.1 for Wasm on 29 May 2025 12:25:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/karwa/swift-url.git
Reference: 0.4.2
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/karwa/swift-url
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 9306a96 Disable tests for Swift 5.6.3 on Windows
Cloned https://github.com/karwa/swift-url.git
Revision (git rev-parse @):
9306a962396a50d7d88e924afcd7ec67226763db
SUCCESS checkout https://github.com/karwa/swift-url.git at 0.4.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/karwa/swift-url.git
https://github.com/karwa/swift-url.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "swift-checkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/karwa/swift-checkit.git"
    }
  ],
  "manifest_display_name" : "swift-url",
  "name" : "swift-url",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WebURL",
      "targets" : [
        "WebURL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WebURLSystemExtras",
      "targets" : [
        "WebURLSystemExtras"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WebURLFoundationExtras",
      "targets" : [
        "WebURLFoundationExtras"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "_WebURLIDNA",
      "targets" : [
        "IDNA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "_WebURLTestSupport",
      "targets" : [
        "WebURLTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebURLTests",
      "module_type" : "SwiftTarget",
      "name" : "WebURLTests",
      "path" : "Tests/WebURLTests",
      "product_dependencies" : [
        "Checkit"
      ],
      "sources" : [
        "ASCIITests.swift",
        "CollectionExtensionsTests.swift",
        "DomainTests.swift",
        "FilePathTests.swift",
        "FormParametersTests.swift",
        "HostTests.swift",
        "IPv4AddressTests.swift",
        "IPv6AddressTests.swift",
        "ManagedArrayBufferTests.swift",
        "MutableCollectionExtensionsTests.swift",
        "OtherURLTests.swift",
        "OtherUtilitiesTests.swift",
        "PathComponentsTests.swift",
        "PercentEncodingTests.swift",
        "SchemeKindTests.swift",
        "Utils.swift",
        "WebPlatformTests.swift",
        "WebURLPercentEncodingUtilsTests.swift",
        "WebURLTests.swift",
        "_ReportGeneratingTestCase.swift"
      ],
      "target_dependencies" : [
        "WebURL",
        "WebURLTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebURLTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "WebURLTestSupport",
      "path" : "Sources/WebURLTestSupport",
      "product_memberships" : [
        "_WebURLTestSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WebURLTestSupport/TestFilesData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CollectionUtils.swift",
        "IPAddressUtils.swift",
        "JSONHelpers.swift",
        "Reports/SimpleDescription.swift",
        "Reports/SimpleTestReport.swift",
        "TestFiles.swift",
        "TestSuite.swift",
        "TestSuites/FilePathTests+WebURLReportHarness.swift",
        "TestSuites/FilePathTests.swift",
        "TestSuites/UTS46Conformance+WebURLIDNAReportHarness.swift",
        "TestSuites/UTS46Conformance.swift",
        "TestSuites/WPTConstructorTest+WebURLReportHarness.swift",
        "TestSuites/WPTConstructorTest.swift",
        "TestSuites/WPTSetterTest+WebURLReportHarness.swift",
        "TestSuites/WPTSetterTest.swift",
        "TestSuites/WPTToASCIITest+WebURLReportHarness.swift",
        "TestSuites/WPTToASCIITest.swift",
        "URLValues.swift"
      ],
      "target_dependencies" : [
        "WebURL",
        "IDNA"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WebURLSystemExtrasTests",
      "module_type" : "SwiftTarget",
      "name" : "WebURLSystemExtrasTests",
      "path" : "Tests/WebURLSystemExtrasTests",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "sources" : [
        "SystemFilePathTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "WebURLSystemExtras",
        "WebURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebURLSystemExtras",
      "module_type" : "SwiftTarget",
      "name" : "WebURLSystemExtras",
      "path" : "Sources/WebURLSystemExtras",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "WebURLSystemExtras"
      ],
      "sources" : [
        "WebURL+FilePaths+System.swift"
      ],
      "target_dependencies" : [
        "WebURL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WebURLFoundationExtrasTests",
      "module_type" : "SwiftTarget",
      "name" : "WebURLFoundationExtrasTests",
      "path" : "Tests/WebURLFoundationExtrasTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WebURLFoundationExtrasTests/URLConversion/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/DataAndStringExtensions.swift",
        "Extensions/URLRequestResponseExtensions.swift",
        "URLConversion/FuzzCorpus_foundation_to_web.swift",
        "URLConversion/FuzzCorpus_web_to_foundation.swift",
        "URLConversion/WebToFoundationTests.swift",
        "_ReportGeneratingTestCase.swift"
      ],
      "target_dependencies" : [
        "WebURLFoundationExtras",
        "WebURLTestSupport",
        "WebURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebURLFoundationExtras",
      "module_type" : "SwiftTarget",
      "name" : "WebURLFoundationExtras",
      "path" : "Sources/WebURLFoundationExtras",
      "product_memberships" : [
        "WebURLFoundationExtras"
      ],
      "sources" : [
        "Extensions/DataAndString.swift",
        "Extensions/URLRequestResponse.swift",
        "Extensions/URLSession.swift",
        "FoundationToWebURL.swift",
        "Util/ConversionError.swift",
        "Util/EvenFasterCollectionAlgorithms.swift",
        "Util/StringAdditions.swift",
        "WebURLToFoundation.swift"
      ],
      "target_dependencies" : [
        "WebURL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WebURLFoundationEndToEndTests",
      "module_type" : "SwiftTarget",
      "name" : "WebURLFoundationEndToEndTests",
      "path" : "Tests/WebURLFoundationEndToEndTests",
      "sources" : [
        "LocalServer.swift",
        "URLSessionTests.swift"
      ],
      "target_dependencies" : [
        "WebURLFoundationExtras",
        "WebURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebURLDeprecatedAPITests",
      "module_type" : "SwiftTarget",
      "name" : "WebURLDeprecatedAPITests",
      "path" : "Tests/WebURLDeprecatedAPITests",
      "sources" : [
        "DeprecatedAPITests.swift"
      ],
      "target_dependencies" : [
        "WebURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebURL",
      "module_type" : "SwiftTarget",
      "name" : "WebURL",
      "path" : "Sources/WebURL",
      "product_memberships" : [
        "WebURL",
        "WebURLSystemExtras",
        "WebURLFoundationExtras",
        "_WebURLTestSupport"
      ],
      "sources" : [
        "DeprecatedAPIs.swift",
        "IPAddress.swift",
        "Parser/Parser+Host.swift",
        "Parser/Parser+Path.swift",
        "Parser/Parser+StringUtils.swift",
        "Parser/Parser.swift",
        "Parser/URLWriter.swift",
        "Parser/ValidationError.swift",
        "Parser/WebURL+Component.swift",
        "PercentEncoding.swift",
        "SPIs.swift",
        "URLStorage+Setters.swift",
        "URLStorage.swift",
        "URLStructure.swift",
        "Util/ASCII+LazyTextTransformations.swift",
        "Util/ASCII.swift",
        "Util/BidirectionalCollection+suffix.swift",
        "Util/BidirectionalCollection+trim.swift",
        "Util/BitTwiddling.swift",
        "Util/Collection+longestRange.swift",
        "Util/Either.swift",
        "Util/Errors.swift",
        "Util/FastCollectionAlgorithms.swift",
        "Util/Integers.swift",
        "Util/ManagedArrayBuffer.swift",
        "Util/MutableCollection+pathUtils.swift",
        "Util/Pointers.swift",
        "Util/StaticMember.swift",
        "Util/StringAdditions.swift",
        "Util/UnsafeBuffer+ReplaceSubrange.swift",
        "Util/UnsafeSmallStack.swift",
        "WebURL+Domain.swift",
        "WebURL+FilePaths.swift",
        "WebURL+FormParameters.swift",
        "WebURL+Host.swift",
        "WebURL+JSModel.swift",
        "WebURL+Origin.swift",
        "WebURL+PathComponents.swift",
        "WebURL+Scheme.swift",
        "WebURL+UTF8View.swift",
        "WebURL.swift"
      ],
      "target_dependencies" : [
        "IDNA"
      ],
      "type" : "library"
    },
    {
      "c99name" : "UnicodeDataStructuresTests",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeDataStructuresTests",
      "path" : "Tests/UnicodeDataStructuresTests",
      "product_dependencies" : [
        "Checkit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/UnicodeDataStructuresTests/GenerateData/TableDefinitions",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GenerateData/GenerateData.swift",
        "IndexedTableTests.swift",
        "SegmentedLineTests.swift"
      ],
      "target_dependencies" : [
        "UnicodeDataStructures"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UnicodeDataStructures",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeDataStructures",
      "path" : "Sources/UnicodeDataStructures",
      "product_memberships" : [
        "WebURL",
        "WebURLSystemExtras",
        "WebURLFoundationExtras",
        "_WebURLIDNA",
        "_WebURLTestSupport"
      ],
      "sources" : [
        "ParseNPrint/IDNAMappingDatabase.swift",
        "ParseNPrint/IDNAValidationDatabase.swift",
        "ParseNPrint/ParsingHelpers.swift",
        "ParseNPrint/Printing.swift",
        "ParseNPrint/Utils.swift",
        "Shared/CodePointDatabase.swift",
        "Shared/IDNA/IDNAMappingDataSchema.swift",
        "Shared/IDNA/IDNAValidationDataSchema.swift",
        "Shared/IndexedTable.swift",
        "Shared/SegmentedLine.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IDNATests",
      "module_type" : "SwiftTarget",
      "name" : "IDNATests",
      "path" : "Tests/IDNATests",
      "sources" : [
        "PunycodeTests.swift",
        "SimpleToUnicodeTests.swift",
        "UTS46ConformanceTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "IDNA",
        "WebURLTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IDNA",
      "module_type" : "SwiftTarget",
      "name" : "IDNA",
      "path" : "Sources/IDNA",
      "product_memberships" : [
        "WebURL",
        "WebURLSystemExtras",
        "WebURLFoundationExtras",
        "_WebURLIDNA",
        "_WebURLTestSupport"
      ],
      "sources" : [
        "Generated/MappingData.swift",
        "Generated/ValidationData.swift",
        "IDNA.swift",
        "NFC.swift",
        "Punycode.swift"
      ],
      "target_dependencies" : [
        "UnicodeDataStructures"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/karwa/swift-checkit.git
[1/74] Fetching swift-checkit
Fetched https://github.com/karwa/swift-checkit.git from cache (0.25s)
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/karwa/swift-checkit.git
Computed https://github.com/karwa/swift-checkit.git at 0.0.2 (1.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.25s)
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/karwa/swift-checkit.git
Working copy of https://github.com/karwa/swift-checkit.git resolved at 0.0.2
Building for debugging...
[0/10] Write sources
[7/10] Copying TestFilesData
[8/10] Compiling CSystem shims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/48] 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)
[12/51] Compiling SystemPackage FileOperations.swift
[13/51] Compiling SystemPackage FilePath.swift
[14/51] Compiling SystemPackage FilePathComponentView.swift
[15/51] Compiling SystemPackage FilePathComponents.swift
[18/51] Emitting module UnicodeDataStructures
[21/52] Compiling SystemPackage Util+StringArray.swift
[22/52] Compiling SystemPackage Util.swift
[23/52] Compiling SystemPackage UtilConsumers.swift
[24/52] Compiling UnicodeDataStructures IDNAValidationDataSchema.swift
[25/52] Compiling UnicodeDataStructures IndexedTable.swift
[26/52] Compiling UnicodeDataStructures IDNAMappingDataSchema.swift
[27/52] Compiling UnicodeDataStructures CodePointDatabase.swift
[28/52] Compiling UnicodeDataStructures Utils.swift
[29/52] Compiling SystemPackage MachPort.swift
[30/52] Compiling SystemPackage PlatformString.swift
[31/52] Compiling SystemPackage SystemString.swift
[32/52] 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 |
[33/52] 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 |
[34/52] 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 |
[35/52] 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 |
[36/52] Compiling SystemPackage Errno.swift
[37/52] Compiling SystemPackage ErrnoWindows.swift
[38/52] Compiling SystemPackage FileDescriptor.swift
[39/52] Compiling SystemPackage FileHelpers.swift
[40/52] Compiling SystemPackage Backcompat.swift
[41/52] Compiling SystemPackage CInterop.swift
[42/52] Compiling SystemPackage Constants.swift
[43/52] Compiling SystemPackage Exports.swift
[44/52] Compiling SystemPackage FilePathParsing.swift
[45/52] Compiling SystemPackage FilePathString.swift
[46/52] Compiling SystemPackage FilePathSyntax.swift
[47/52] Compiling SystemPackage FilePathTemp.swift
[48/52] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[49/52] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[50/52] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[51/52] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[52/52] Compiling UnicodeDataStructures SegmentedLine.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/WebURLFoundationExtrasTests/URLConversion/FoundationToWebTests.disabled_swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling UnicodeDataStructures IDNAValidationDataSchema.swift
[3/39] Compiling UnicodeDataStructures Utils.swift
[4/40] 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 |
[5/40] 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 |
[6/40] 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 |
[7/40] 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 |
[8/43] Compiling SystemPackage FileDescriptor.swift
[9/43] Compiling SystemPackage FileHelpers.swift
[10/43] Compiling UnicodeDataStructures IDNAMappingDataSchema.swift
[11/43] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[12/43] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[13/43] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[14/43] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[15/43] Compiling SystemPackage Backcompat.swift
[16/43] Compiling SystemPackage CInterop.swift
[17/43] Compiling SystemPackage Constants.swift
[18/43] Compiling SystemPackage Exports.swift
[19/43] Compiling UnicodeDataStructures IndexedTable.swift
[20/43] Compiling SystemPackage MachPort.swift
[21/43] Compiling SystemPackage PlatformString.swift
[22/43] Compiling SystemPackage SystemString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/43] 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)
[24/43] Compiling UnicodeDataStructures SegmentedLine.swift
[25/43] Compiling SystemPackage Util+StringArray.swift
[26/43] Compiling SystemPackage Util.swift
[27/43] Compiling SystemPackage UtilConsumers.swift
[28/43] Emitting module UnicodeDataStructures
[29/43] Compiling SystemPackage Errno.swift
[30/43] Compiling SystemPackage ErrnoWindows.swift
[31/43] Compiling UnicodeDataStructures CodePointDatabase.swift
[33/44] Compiling SystemPackage FilePathParsing.swift
[34/44] Compiling SystemPackage FilePathString.swift
[35/44] Compiling SystemPackage FilePathSyntax.swift
[36/44] Compiling SystemPackage FilePathTemp.swift
[41/44] Compiling SystemPackage FileOperations.swift
[42/44] Compiling SystemPackage FilePath.swift
[43/44] Compiling SystemPackage FilePathComponentView.swift
[44/44] Compiling SystemPackage FilePathComponents.swift
BUILD FAILURE 6.1 wasm