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 apnswift, reference main (f76f60), with Swift 6.1 for Wasm on 16 Jun 2025 21:51:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swift-server-community/APNSwift.git
Reference: main
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/swift-server-community/APNSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f76f607 Add support for widget update push notifications (#220)
Cloned https://github.com/swift-server-community/APNSwift.git
Revision (git rev-parse @):
f76f6075bd3f005da343ea80520a872afc804bd3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server-community/APNSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-server-community/APNSwift.git
https://github.com/swift-server-community/APNSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.19.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    },
    {
      "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" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.42.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.6.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-http2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-http2.git"
    }
  ],
  "manifest_display_name" : "apnswift",
  "name" : "apnswift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "APNSExample",
      "targets" : [
        "APNSExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "APNS",
      "targets" : [
        "APNS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "APNSCore",
      "targets" : [
        "APNSCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "APNSURLSession",
      "targets" : [
        "APNSURLSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "APNSTestServer",
      "targets" : [
        "APNSTestServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "APNSURLSession",
      "module_type" : "SwiftTarget",
      "name" : "APNSURLSession",
      "path" : "Sources/APNSURLSession",
      "product_memberships" : [
        "APNSURLSession"
      ],
      "sources" : [
        "APNSURLSessionClientConfiguration.swift",
        "APNSUrlSessionClient.swift"
      ],
      "target_dependencies" : [
        "APNSCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "APNSTests",
      "module_type" : "SwiftTarget",
      "name" : "APNSTests",
      "path" : "Tests/APNSTests",
      "sources" : [
        "APNSAuthenticationTokenManagerTests.swift",
        "APNSClientTests.swift",
        "Alert/APNSAlertNotificationTests.swift",
        "Background/APNSBackgroundNotificationTests.swift",
        "Complication/APNSComplicationNotificationTests.swift",
        "FileProvider/APNSFileProviderNotificationTests.swift",
        "LiveActivity/APNSLiveActivityNotificationTests.swift",
        "PushToTalk/APNSPushToTalkNotificationTests.swift",
        "VoIP/APNSVoIPNotificationTests.swift",
        "Widgets/APNSWidgetsNotificationTests.swift"
      ],
      "target_dependencies" : [
        "APNSCore",
        "APNS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APNSTestServer",
      "module_type" : "SwiftTarget",
      "name" : "APNSTestServer",
      "path" : "Sources/APNSTestServer",
      "product_dependencies" : [
        "Logging",
        "Crypto",
        "NIOCore",
        "NIOPosix",
        "NIOSSL",
        "NIOHTTP1",
        "NIOHTTP2"
      ],
      "product_memberships" : [
        "APNSTestServer"
      ],
      "sources" : [
        "APNSTestServer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "APNSExample",
      "module_type" : "SwiftTarget",
      "name" : "APNSExample",
      "path" : "Sources/APNSExample",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "APNSExample"
      ],
      "sources" : [
        "Program.swift"
      ],
      "target_dependencies" : [
        "APNSCore",
        "APNS"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "APNSCore",
      "module_type" : "SwiftTarget",
      "name" : "APNSCore",
      "path" : "Sources/APNSCore",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "APNSExample",
        "APNS",
        "APNSCore",
        "APNSURLSession"
      ],
      "sources" : [
        "APNSAuthenticationTokenManager.swift",
        "APNSClient.swift",
        "APNSEnvironment.swift",
        "APNSError.swift",
        "APNSErrorResponse.swift",
        "APNSMessage.swift",
        "APNSNotificationExpiration.swift",
        "APNSPriority.swift",
        "APNSPushType.swift",
        "APNSRequest.swift",
        "APNSResponse.swift",
        "Alert/APNSAlertNotification.swift",
        "Alert/APNSAlertNotificationAPSStorage.swift",
        "Alert/APNSAlertNotificationContent.swift",
        "Alert/APNSAlertNotificationInterruptionLevel.swift",
        "Alert/APNSAlertNotificationSound.swift",
        "Alert/APNSClient+Alert.swift",
        "Background/APNSBackgroundNotification.swift",
        "Background/APNSClient+Background.swift",
        "Base64.swift",
        "Complication/APNSClient+Complication.swift",
        "Complication/APNSComplicationNotification.swift",
        "EmptyPayload.swift",
        "FileProvider/APNSClient+FileProvider.swift",
        "FileProvider/APNSFileProviderNotification.swift",
        "LiveActivity/APNSClient+LiveActivity.swift",
        "LiveActivity/APNSLiveActivityDismissalDate.swift",
        "LiveActivity/APNSLiveActivityNotification.swift",
        "LiveActivity/APNSLiveActivityNotificationAPSStorage.swift",
        "LiveActivity/APNSLiveActivityNotificationEvent.swift",
        "LiveActivity/APNSStartLiveActivityNotification.swift",
        "LiveActivity/APNSStartLiveActivityNotificationAPSStorage.swift",
        "Location/APNSClient+Location.swift",
        "Location/APNSLocationNotification.swift",
        "Logging.swift",
        "P256.Signing.PrivateKey+PrivateFilePath.swift",
        "PushToTalk/APNSClient+PushToTalk.swift",
        "PushToTalk/APNSPushToTalkNotification.swift",
        "VoIP/APNSClient+VoIP.swift",
        "VoIP/APNSVoIPNotification.swift",
        "Widgets/APNSClient+Widgets.swift",
        "Widgets/APNSWidgetsNotification.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "APNS",
      "module_type" : "SwiftTarget",
      "name" : "APNS",
      "path" : "Sources/APNS",
      "product_dependencies" : [
        "Crypto",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "APNSExample",
        "APNS"
      ],
      "sources" : [
        "APNSClient.swift",
        "APNSConfiguration.swift",
        "Coding/APNSJSONDecoder.swift",
        "Coding/APNSJSONEncoder.swift"
      ],
      "target_dependencies" : [
        "APNSCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2082] Fetching swift-docc-plugin
[210/17078] Fetching swift-docc-plugin, swift-crypto
[381/28610] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2
[1693/43500] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl
[2115/57514] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl, async-http-client
[9420/133836] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.50s)
[48585/119822] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-log.git
[70217/123658] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
[86131/119822] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.26s)
[80509/104932] Fetching swift-docc-plugin, swift-crypto, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (7.41s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (7.41s)
Fetched https://github.com/apple/swift-crypto.git from cache (7.44s)
Fetched https://github.com/apple/swift-nio.git from cache (7.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (12.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.55s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.52s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1797] Fetching swift-atomics
[972/4464] Fetching swift-atomics, swift-nio-transport-services
[4465/10423] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms
[4883/16346] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.61s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.15s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.18s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
[4252/21034] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.36s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/904] Fetching swift-http-types
[905/5889] Fetching swift-http-types, swift-async-algorithms
[1005/12073] Fetching swift-http-types, swift-async-algorithms, swift-certificates
[2348/13663] Fetching swift-http-types, swift-async-algorithms, swift-certificates, swift-asn1
[2984/16089] Fetching swift-http-types, swift-async-algorithms, swift-certificates, swift-asn1, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.54s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.54s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
[1/1141] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.32s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.55s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.06s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.54s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.56s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.60s)
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
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.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.3.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/838] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
   93 | size_t strftime_l (char *  __restrict, size_t, const char *  __restrict, const struct tm *  __restrict, locale_t);
      |        ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                  ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[11/838] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[11/838] Compiling a_dup.cc
[11/838] Compiling a_bitstr.cc
[11/838] Compiling a_i2d_fp.cc
[11/838] Compiling a_gentm.cc
[11/838] Compiling a_d2i_fp.cc
[11/838] Compiling a_bool.cc
[11/838] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/829] Write sources
[23/829] Compiling CNIOWindows shim.c
[24/829] Compiling CNIOWindows WSAStartup.c
[24/829] Compiling _AtomicsShims.c
[26/829] Compiling CNIOWASI CNIOWASI.c
[27/829] Compiling CNIOLinux shim.c
[28/829] Compiling CNIOLLHTTP c_nio_http.c
[29/829] Compiling CNIOLinux liburing_shims.c
[30/829] Compiling CNIOExtrasZlib empty.c
[31/829] Compiling CNIODarwin shim.c
[32/829] Compiling CNIOLLHTTP c_nio_api.c
[33/829] Compiling fiat_curve25519_adx_square.S
[34/829] Compiling fiat_p256_adx_sqr.S
[35/829] Compiling fiat_p256_adx_mul.S
[36/829] Compiling fiat_curve25519_adx_mul.S
[37/829] Compiling _NumericsShims _NumericsShims.c
[38/829] Write swift-version-24593BA9C3E375BF.txt
[39/829] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[40/833] Compiling tls13_enc.cc
[40/833] Compiling tls13_client.cc
[40/833] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[40/833] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[40/833] Compiling tls_method.cc
[40/833] Compiling tls13_both.cc
[40/833] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm