The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-zip-archive, reference 0.9.0 (e3f1bc), with Swift 6.3 for Wasm on 10 Oct 2026 04:33:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/swift-zip-archive.git
Reference: 0.9.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/adam-fowler/swift-zip-archive
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at e3f1bc1 Fix potential int overflow crash (#29)
Cloned https://github.com/adam-fowler/swift-zip-archive.git
Revision (git rev-parse @):
e3f1bc1f816fdfa103ea391b99b792f7e8968bf2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adam-fowler/swift-zip-archive.git at 0.9.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/adam-fowler/swift-zip-archive.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-system.git
[1/7241] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.85s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[0/12] Write sources
[2/12] Compiling CZipArchiveZlib inffast.c
[3/12] Compiling CZipArchiveZlib zutil.c
[4/12] Compiling CZipArchiveZlib crc32.c
[5/12] Compiling CZipArchiveZlib adler32.c
[6/12] Compiling CSystem shims.c
[7/12] Write swift-version-24593BA9C3E375BF.txt
[8/12] Compiling CZipArchiveZlib trees.c
[9/12] Compiling CZipArchiveZlib inftrees.c
[10/12] Compiling CZipArchiveZlib inflate.c
[11/12] Compiling CZipArchiveZlib deflate.c
[13/49] Compiling SystemPackage IOCompletion.swift
[14/49] Compiling SystemPackage IORequest.swift
[15/49] Compiling SystemPackage IORing+Util.swift
[16/49] Compiling SystemPackage IORing.swift
[17/49] Compiling SystemPackage RawIORequest.swift
[18/54] Compiling SystemPackage RawBuffer.swift
[19/54] Compiling SystemPackage Syscalls.swift
[20/54] Compiling SystemPackage WindowsSyscallAdapters.swift
[21/54] Compiling SystemPackage MachPort.swift
[22/54] Compiling SystemPackage PlatformString.swift
[23/54] Emitting module SystemPackage
[24/54] Compiling SystemPackage Errno.swift
[25/54] Compiling SystemPackage ErrnoWindows.swift
[26/54] Compiling SystemPackage FileDescriptor.swift
[27/54] Compiling SystemPackage FileHelpers.swift
[28/54] Compiling SystemPackage FileOperations.swift
[29/54] Compiling SystemPackage FilePath.swift
[30/54] Compiling SystemPackage FileFlags.swift
[31/54] Compiling SystemPackage FileMode.swift
[32/54] Compiling SystemPackage FileType.swift
[33/54] Compiling SystemPackage Identifiers.swift
[34/54] Compiling SystemPackage Stat.swift
[35/54] Compiling SystemPackage FilePathComponentView.swift
[36/54] Compiling SystemPackage FilePathComponents.swift
[37/54] Compiling SystemPackage FilePathParsing.swift
[38/54] Compiling SystemPackage FilePathString.swift
[39/54] Compiling SystemPackage FilePathSyntax.swift
[40/54] Compiling SystemPackage Backcompat.swift
[41/54] Compiling SystemPackage CInterop.swift
[42/54] Compiling SystemPackage Constants.swift
[43/54] Compiling SystemPackage Exports.swift
[44/54] Compiling SystemPackage Mocking.swift
[45/54] Compiling SystemPackage FilePathTemp.swift
[46/54] Compiling SystemPackage FilePathTempPosix.swift
[47/54] Compiling SystemPackage FilePathTempWindows.swift
[48/54] Compiling SystemPackage FilePathWindows.swift
[49/54] Compiling SystemPackage FilePermissions.swift
[50/54] Compiling SystemPackage SystemString.swift
[51/54] Compiling SystemPackage Util+StringArray.swift
[52/54] Compiling SystemPackage Util.swift
[53/54] Compiling SystemPackage UtilConsumers.swift
[54/54] Compiling SystemPackage WinSDK+Overlay.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/71] Emitting module ZipArchive
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
[57/73] Compiling ZipArchive ZipWriteableStorage.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[58/73] Compiling ZipArchive crc32.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[59/73] Compiling ZipArchive ZipCompression.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[60/73] Compiling ZipArchive ZipFileStorage.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[61/73] Compiling ZipArchive MemoryBuffer.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
[62/73] Compiling ZipArchive System+directory.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
[63/73] Compiling ZipArchive ZipMemoryStorage.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[64/73] Compiling ZipArchive ZipReadableStorage.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[65/73] Compiling ZipArchive ZipStorage.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[66/73] Compiling ZipArchive ZipTypes.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[67/73] Compiling ZipArchive ZipArchiveWriter+writeFolderContents.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[68/73] Compiling ZipArchive ZipArchiveWriter.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[69/73] Compiling ZipArchive ZipArchiveReader+extract.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[70/73] Compiling ZipArchive ZipArchiveReader.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
[71/73] Compiling ZipArchive CryptKey.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
[72/73] Compiling ZipArchive Date.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
[73/73] Compiling ZipArchive DirectoryDescriptor.swift
/host/spi-builder-workspace/Sources/ZipArchive/DirectoryDescriptor.swift:22:8: error: Unsupported platform
 20 | import FoundationEssentials
 21 | #else
 22 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 23 | #endif
 24 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:106:57: error: cannot find type 'DIR' in scope
104 | internal typealias system_DIRPtr = OpaquePointer
105 | #else
106 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
107 | #endif
108 |
/host/spi-builder-workspace/Sources/ZipArchive/System+directory.swift:102:30: error: cannot find 'DT_DIR' in scope
100 |
101 | internal typealias system_dirent = dirent
102 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
103 | #if os(Linux) || os(Android)
104 | internal typealias system_DIRPtr = OpaquePointer
BUILD FAILURE 6.3 wasm