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-wallet, reference 0.4.1 (68d795), with Swift 6.1 for Wasm on 2 Jun 2025 00:48:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fpseverino/swift-wallet.git
Reference: 0.4.1
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/fpseverino/swift-wallet
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 68d795e Fix an JSON encoding bug for dates. (#6)
Cloned https://github.com/fpseverino/swift-wallet.git
Revision (git rev-parse @):
68d795ee394c035c5c4c50f9b8e8cf405b167988
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fpseverino/swift-wallet.git at 0.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fpseverino/swift-wallet.git
https://github.com/fpseverino/swift-wallet.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.git"
    },
    {
      "identity" : "swift-zip-archive",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/swift-zip-archive.git"
    }
  ],
  "manifest_display_name" : "swift-wallet",
  "name" : "swift-wallet",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WalletPasses",
      "targets" : [
        "WalletPasses"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WalletOrders",
      "targets" : [
        "WalletOrders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WalletPassesTests",
      "module_type" : "SwiftTarget",
      "name" : "WalletPassesTests",
      "path" : "Tests/WalletPassesTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WalletPassesTests/SourceFiles",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utils/TestCertificate.swift",
        "Utils/TestPass.swift",
        "WalletPassesTests.swift"
      ],
      "target_dependencies" : [
        "WalletPasses"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WalletPasses",
      "module_type" : "SwiftTarget",
      "name" : "WalletPasses",
      "path" : "Sources/WalletPasses",
      "product_dependencies" : [
        "X509",
        "ZipArchive"
      ],
      "product_memberships" : [
        "WalletPasses"
      ],
      "sources" : [
        "PassBuilder.swift",
        "PassJSON.swift",
        "PersonalizationJSON.swift",
        "WalletPassesError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WalletOrdersTests",
      "module_type" : "SwiftTarget",
      "name" : "WalletOrdersTests",
      "path" : "Tests/WalletOrdersTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WalletOrdersTests/SourceFiles",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utils/TestCertificate.swift",
        "Utils/TestOrder.swift",
        "WalletOrdersTests.swift"
      ],
      "target_dependencies" : [
        "WalletOrders"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WalletOrders",
      "module_type" : "SwiftTarget",
      "name" : "WalletOrders",
      "path" : "Sources/WalletOrders",
      "product_dependencies" : [
        "X509",
        "ZipArchive"
      ],
      "product_memberships" : [
        "WalletOrders"
      ],
      "sources" : [
        "OrderBuilder.swift",
        "OrderJSON.swift",
        "WalletOrdersError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/adam-fowler/swift-zip-archive.git
Fetching https://github.com/apple/swift-certificates.git
[1/716] Fetching swift-zip-archive
Fetched https://github.com/adam-fowler/swift-zip-archive.git from cache (0.23s)
[1/6155] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.39s)
Computing version for https://github.com/adam-fowler/swift-zip-archive.git
Computed https://github.com/adam-fowler/swift-zip-archive.git at 0.6.3 (2.23s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.80s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.85s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1590] Fetching swift-asn1
[1591/15526] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (1.11s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.48s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/adam-fowler/swift-zip-archive.git
Working copy of https://github.com/adam-fowler/swift-zip-archive.git resolved at 0.6.3
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Building for debugging...
[0/373] Write sources
[9/373] Compiling CZipZlib empty.c
[10/373] Write sources
[11/373] Compiling CSystem shims.c
[12/373] Write swift-version-24593BA9C3E375BF.txt
[13/373] Compiling fiat_p256_adx_sqr.S
[14/373] Compiling CCryptoBoringSSLShims shims.c
[15/375] Compiling asn_pack.cc
[16/375] Compiling posix_time.cc
[16/375] Compiling poly1305_vec.cc
[18/375] Compiling f_int.cc
[19/376] Compiling f_string.cc
[20/400] Compiling fiat_p256_adx_mul.S
[21/403] Compiling fiat_curve25519_adx_square.S
[22/403] Compiling fiat_curve25519_adx_mul.S
[23/403] Compiling asn1_par.cc
[24/403] Compiling md5-x86_64-linux.S
[25/403] Compiling md5-x86_64-apple.S
[26/404] Compiling md5-586-apple.S
[27/404] Compiling md5-586-linux.S
[28/412] Compiling chacha20_poly1305_x86_64-linux.S
[29/420] Compiling chacha20_poly1305_x86_64-apple.S
[30/420] Compiling chacha20_poly1305_armv8-win.S
[31/420] Compiling chacha20_poly1305_armv8-linux.S
[32/420] Compiling chacha20_poly1305_armv8-apple.S
[33/420] Compiling chacha-x86_64-apple.S
[34/420] Compiling chacha-x86_64-linux.S
[35/420] Compiling chacha-x86-linux.S
[36/420] Compiling chacha-armv8-win.S
[37/420] Compiling chacha-x86-apple.S
[38/420] Compiling chacha-armv8-linux.S
[39/420] Compiling chacha-armv8-apple.S
[40/420] Compiling err_data.cc
[41/420] Compiling chacha-armv4-linux.S
[42/420] Compiling aes128gcmsiv-x86_64-linux.S
[43/420] Compiling x86_64-mont5-linux.S
[44/420] Compiling aes128gcmsiv-x86_64-apple.S
[45/420] Compiling x86_64-mont-apple.S
[46/420] Compiling x86_64-mont5-apple.S
[47/420] Compiling x86_64-mont-linux.S
[48/420] Compiling x86-mont-linux.S
[49/420] Compiling x86-mont-apple.S
[50/420] Compiling vpaes-x86-linux.S
[51/420] Compiling vpaes-x86_64-apple.S
[52/420] Compiling vpaes-x86_64-linux.S
[53/420] Compiling vpaes-armv8-win.S
[54/420] Compiling vpaes-x86-apple.S
[55/420] Compiling vpaes-armv8-linux.S
[56/420] Compiling vpaes-armv7-linux.S
[57/420] Compiling vpaes-armv8-apple.S
[58/420] Compiling sha512-x86_64-linux.S
[59/420] Compiling sha512-x86_64-apple.S
[60/420] Compiling sha512-armv8-win.S
[61/420] Compiling sha512-armv8-linux.S
[62/420] Compiling sha512-armv8-apple.S
[63/420] Compiling sha512-586-apple.S
[64/420] Compiling sha512-armv4-linux.S
[65/420] Compiling sha512-586-linux.S
[65/420] Compiling sha256-x86_64-linux.S
[65/420] Compiling sha256-x86_64-apple.S
[68/420] Compiling sha256-armv8-win.S
[69/420] Compiling sha256-armv8-apple.S
[70/420] Compiling sha256-armv8-linux.S
[71/420] Compiling sha256-586-linux.S
[72/420] Compiling sha256-armv4-linux.S
[73/420] Compiling sha256-586-apple.S
[74/420] Compiling sha1-x86_64-apple.S
[75/420] Compiling sha1-x86_64-linux.S
[76/420] Compiling sha1-armv8-win.S
[77/420] Compiling sha1-armv8-linux.S
[78/420] Compiling sha1-armv8-apple.S
[79/420] Compiling sha1-armv4-large-linux.S
[80/420] Compiling sha1-586-linux.S
[81/420] Compiling rsaz-avx2-linux.S
[82/420] Compiling sha1-586-apple.S
[82/420] Compiling rsaz-avx2-apple.S
[84/420] Compiling rdrand-x86_64-apple.S
[85/420] Compiling rdrand-x86_64-linux.S
[86/420] Compiling p256_beeu-x86_64-asm-linux.S
[87/420] Compiling p256_beeu-x86_64-asm-apple.S
[88/420] Compiling p256_beeu-armv8-asm-win.S
[89/420] Compiling p256_beeu-armv8-asm-linux.S
[90/420] Compiling p256_beeu-armv8-asm-apple.S
[91/420] Compiling p256-armv8-asm-win.S
[92/420] Compiling p256-x86_64-asm-apple.S
[93/420] Compiling p256-armv8-asm-linux.S
[93/420] Compiling p256-armv8-asm-apple.S
[93/420] Compiling p256-x86_64-asm-linux.S
[96/420] Compiling ghashv8-armv8-win.S
[97/420] Compiling ghashv8-armv8-apple.S
[98/420] Compiling ghashv8-armv8-linux.S
[99/420] Compiling ghash-x86_64-linux.S
[100/420] Compiling ghashv8-armv7-linux.S
[101/420] Compiling ghash-x86-linux.S
[102/420] Compiling ghash-x86_64-apple.S
[103/420] Compiling ghash-x86-apple.S
[104/420] Compiling ghash-ssse3-x86_64-apple.S
[105/420] Compiling ghash-ssse3-x86-linux.S
[106/420] Compiling ghash-ssse3-x86_64-linux.S
[107/420] Compiling ghash-ssse3-x86-apple.S
[108/420] Compiling ghash-neon-armv8-win.S
[109/420] Compiling ghash-neon-armv8-linux.S
[110/420] Compiling ghash-neon-armv8-apple.S
[111/420] Compiling co-586-linux.S
[112/420] Compiling co-586-apple.S
[113/420] Compiling ghash-armv4-linux.S
[114/420] Compiling bsaes-armv7-linux.S
[115/420] Compiling bn-armv8-win.S
[116/420] Compiling bn-armv8-apple.S
[117/420] Compiling bn-armv8-linux.S
[118/420] Compiling bn-586-linux.S
[119/420] Compiling armv8-mont-linux.S
[119/420] Compiling bn-586-apple.S
[121/420] Compiling armv8-mont-win.S
[122/420] Compiling armv4-mont-linux.S
[123/420] Compiling armv8-mont-apple.S
[124/420] Compiling aesv8-gcm-armv8-linux.S
[125/420] Compiling aesv8-gcm-armv8-win.S
[126/420] Compiling aesv8-armv8-linux.S
[127/420] Compiling aesv8-gcm-armv8-apple.S
[128/420] Compiling aesv8-armv8-win.S
[129/420] Compiling aesv8-armv8-apple.S
[130/420] Compiling aesv8-armv7-linux.S
[131/420] Compiling aesni-x86_64-apple.S
[132/420] Compiling aesni-x86_64-linux.S
[133/420] Compiling aesni-gcm-x86_64-apple.S
[134/420] Compiling aesni-x86-linux.S
[135/420] Compiling aesni-x86-apple.S
[137/420] Emitting module _CertificateInternals
[138/420] Compiling _CertificateInternals _TinyArray.swift
[138/420] Compiling aesni-gcm-x86_64-linux.S
[139/421] Compiling aes-gcm-avx10-x86_64-linux.S
[140/421] Compiling aes-gcm-avx10-x86_64-apple.S
[142/421] Compiling SwiftASN1 ASN1Integer.swift
[143/421] Compiling SwiftASN1 ASN1Null.swift
[144/421] Compiling SwiftASN1 ASN1BitString.swift
[145/421] Compiling SwiftASN1 ASN1Boolean.swift
[146/421] Compiling SwiftASN1 ASN1Identifier.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[147/423] Compiling SwiftASN1 ASN1.swift
[148/423] Compiling SwiftASN1 BER.swift
[149/423] Compiling SwiftASN1 ASN1Any.swift
[151/423] 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)
[152/423] Compiling SystemPackage MachPort.swift
[153/423] Compiling SystemPackage PlatformString.swift
[154/423] Compiling SystemPackage SystemString.swift
[156/426] Compiling SwiftASN1 TimeUtilities.swift
[157/426] Compiling SwiftASN1 UTCTime.swift
[158/426] Compiling SwiftASN1 DER.swift
[159/426] Compiling SwiftASN1 Errors.swift
[160/426] Compiling SystemPackage FilePathSyntax.swift
[161/426] Compiling SystemPackage FilePathTemp.swift
[165/426] Compiling SwiftASN1 ArraySliceBigint.swift
[166/426] Compiling SwiftASN1 GeneralizedTime.swift
[167/426] Compiling SwiftASN1 ASN1OctetString.swift
[168/426] Compiling SwiftASN1 ASN1Strings.swift
[169/426] Compiling SwiftASN1 ObjectIdentifier.swift
[170/426] Compiling SwiftASN1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
/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)
[183/426] Compiling SystemPackage Backcompat.swift
[184/426] Compiling SystemPackage CInterop.swift
[185/426] Compiling SystemPackage Constants.swift
[186/426] Compiling SystemPackage Exports.swift
[187/426] Compiling SystemPackage Util+StringArray.swift
[188/426] Compiling SystemPackage Util.swift
[189/426] Compiling SystemPackage UtilConsumers.swift
[189/426] Compiling x_x509a.cc
[190/426] Compiling x_val.cc
[190/426] Compiling x_pubkey.cc
[190/426] Compiling x_req.cc
[190/426] Compiling x_spki.cc
[190/426] Compiling x_sig.cc
[190/426] Compiling x_x509.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/234] Compiling x_spki.cc
[1/234] Compiling x_x509.cc
[2/234] Compiling x_name.cc
[3/234] Compiling x_pubkey.cc
[4/234] Compiling x_req.cc
[5/234] Compiling x_exten.cc
[6/234] Compiling x_val.cc
[7/234] Write swift-version-24593BA9C3E375BF.txt
[8/234] Compiling x_sig.cc
[9/236] Compiling x_algor.cc
[10/236] Compiling x509rset.cc
[11/236] Compiling x_all.cc
[12/236] Compiling x509spki.cc
[13/236] Compiling x_attrib.cc
[14/236] Compiling x_crl.cc
[15/236] Compiling x509name.cc
[17/236] Emitting module _CertificateInternals
[18/236] Compiling _CertificateInternals _TinyArray.swift
[20/282] 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)
[21/282] 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)
[22/282] 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)
[23/282] 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)
[23/285] Compiling x509cset.cc
[25/285] Compiling SystemPackage Backcompat.swift
[26/285] Compiling SystemPackage CInterop.swift
[27/285] Compiling SystemPackage Constants.swift
[28/285] Compiling SystemPackage Exports.swift
[28/285] Compiling x509_vpm.cc
[30/285] 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 |
[31/285] 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 |
[32/285] 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 |
[33/285] 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 |
[34/285] Compiling SystemPackage MachPort.swift
[35/285] Compiling SystemPackage PlatformString.swift
[36/285] Compiling SystemPackage SystemString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/285] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[37/285] Compiling x509_txt.cc
[40/285] Compiling x509_vfy.cc
[42/287] Compiling SystemPackage FileHelpers.swift
[43/287] Compiling SystemPackage FileOperations.swift
[44/287] Compiling SystemPackage FilePathParsing.swift
[45/287] Compiling SystemPackage FilePathString.swift
[46/287] Compiling SystemPackage FilePath.swift
[47/287] Compiling SystemPackage FilePathComponentView.swift
[48/287] Compiling SystemPackage FilePathComponents.swift
[48/287] Compiling x509_v3.cc
[50/287] Compiling SystemPackage Util+StringArray.swift
[51/287] Compiling SystemPackage Util.swift
[52/287] Compiling SystemPackage UtilConsumers.swift
[53/287] Compiling SystemPackage Errno.swift
[54/287] Compiling SystemPackage ErrnoWindows.swift
[55/287] Compiling SystemPackage FileDescriptor.swift
[63/287] Compiling x509_req.cc
[67/287] Compiling SystemPackage FilePathSyntax.swift
[68/287] Compiling SystemPackage FilePathTemp.swift
[68/287] Compiling x509_trs.cc
[73/287] Compiling x509_obj.cc
[75/287] Emitting module SwiftASN1
[75/287] Compiling x509_set.cc
[76/287] Compiling x509_lu.cc
[77/287] Compiling x509_ext.cc
[79/287] Compiling SwiftASN1 DER.swift
[80/287] Compiling SwiftASN1 Errors.swift
[80/288] Compiling x509_def.cc
[82/288] Compiling x509_d2.cc
[83/288] Compiling x509_cmp.cc
[84/288] Compiling x509.cc
[85/288] Compiling x509_att.cc
[86/288] Compiling v3_skey.cc
[87/288] Compiling v3_utl.cc
[88/288] Compiling v3_prn.cc
[89/288] Compiling v3_purp.cc
[90/288] Compiling v3_ocsp.cc
[91/288] Compiling v3_pmaps.cc
[92/288] Compiling v3_pcons.cc
[93/288] Compiling v3_ncons.cc
[94/288] Compiling v3_lib.cc
[95/288] Compiling v3_int.cc
[96/288] Compiling v3_info.cc
[97/288] Compiling v3_ia5.cc
[98/288] Compiling v3_genn.cc
[99/288] Compiling v3_crld.cc
[100/288] Compiling v3_extku.cc
[101/288] Compiling v3_enum.cc
[102/288] Compiling v3_cpols.cc
[103/288] Compiling v3_conf.cc
[104/288] Compiling v3_bitst.cc
[105/288] Compiling v3_alt.cc
[106/288] Compiling v3_bcons.cc
[107/288] Compiling v3_akeya.cc
[108/288] Compiling rsa_pss.cc
[108/288] Compiling t_crl.cc
[108/288] Compiling t_x509.cc
[108/288] Compiling t_req.cc
[108/288] Compiling t_x509a.cc
[108/288] Compiling v3_akey.cc
BUILD FAILURE 6.1 wasm