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 (e73454), with Swift 6.1 for Wasm on 8 Sep 2025 18:46:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.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 e73454a Update README.md
Cloned https://github.com/swift-server-community/APNSwift.git
Revision (git rev-parse @):
e73454a559249577ef745266939cbf1aa88eb519
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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-nio-http2.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2094] Fetching swift-docc-plugin
[441/13755] Fetching swift-docc-plugin, swift-nio-http2
[4428/28830] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl
[6018/42998] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl, async-http-client
[22059/59625] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl, async-http-client, swift-crypto
[31111/137678] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl, async-http-client, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.24s)
Fetching https://github.com/apple/swift-log.git
[106504/126017] Fetching swift-docc-plugin, swift-nio-ssl, async-http-client, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.26s)
[90658/109390] Fetching swift-docc-plugin, swift-nio-ssl, async-http-client, swift-nio
[93000/113293] Fetching swift-docc-plugin, swift-nio-ssl, async-http-client, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (4.72s)
Fetched https://github.com/swift-server/async-http-client.git from cache (4.72s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.73s)
Fetched https://github.com/apple/swift-nio.git from cache (4.80s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (6.70s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.93s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.27.0 (0.49s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2704] Fetching swift-nio-transport-services
[272/8831] Fetching swift-nio-transport-services, swift-nio-extras
[773/10645] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics
[4215/16630] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.42s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.95s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.68s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[4938/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.53s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.51s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.53s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1176] Fetching swift-http-structured-headers
[1166/3646] Fetching swift-http-structured-headers, swift-service-lifecycle
[1178/4563] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[3123/11024] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates
[3124/12653] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates, swift-asn1
[12387/17915] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.41s)
[5381/10537] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.72s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.72s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.72s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.72s)
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.18s)
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.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.50s)
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.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.66s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.00s)
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.25.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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.27.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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.4.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.86.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.4.0
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.38.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.34.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.1
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.29.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.5
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/847] Write sources
[4/847] Compiling sha1-x86_64-linux.S
[5/847] Compiling _NumericsShims _NumericsShims.c
[6/847] Write sources
[8/847] Compiling _AtomicsShims.c
[9/847] Write sources
[28/847] Compiling CNIOWindows shim.c
[29/847] Compiling CNIOWindows WSAStartup.c
[30/847] Compiling CNIOWASI CNIOWASI.c
[31/847] Compiling CNIOPosix event_loop_id.c
[32/847] Compiling CNIOLinux shim.c
[33/847] Compiling CNIOLinux liburing_shims.c
[34/847] Compiling rand.cc
[35/847] Compiling a_bool.cc
[36/847] Compiling tasn_enc.cc
[37/847] Compiling CNIOExtrasZlib empty.c
[38/847] Compiling CNIOLLHTTP c_nio_http.c
[39/847] Compiling CNIODarwin shim.c
[40/847] Compiling CNIOLLHTTP c_nio_api.c
[41/847] Compiling x509spki.cc
[42/847] Compiling fiat_p256_adx_mul.S
[43/847] Compiling fiat_p256_adx_sqr.S
[44/847] Compiling fiat_curve25519_adx_square.S
[45/847] Write swift-version-24593BA9C3E375BF.txt
[46/847] Compiling x_attrib.cc
[47/847] Compiling fiat_curve25519_adx_mul.S
[48/847] Compiling x509rset.cc
[49/847] Compiling CNIOBoringSSLShims shims.c
[51/869] Emitting module _NIOBase64
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/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.
[51/869] Compiling tls13_server.cc
[51/869] Compiling CNIOLLHTTP c_nio_llhttp.c
[51/869] Compiling tls_record.cc
[52/869] Emitting module Logging
[52/869] Compiling tls_method.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/799] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[7/800] Compiling t1_enc.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>
      |          ^~~~~~~~~~~
[7/800] 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>
      |          ^~~~~~~~~~~
[7/800] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
      |          ^~~~~~~~~~~
[7/800] Compiling tls13_both.cc
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>
      |          ^~~~~~~~~~~
[7/800] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
      |          ^~~~~~~~~~~
[7/800] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/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>
      |          ^~~~~~~~~~~
[7/800] Compiling tls13_server.cc
[7/800] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm