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 6.2.0 (eb302f), with Swift 6.1 for Wasm on 30 Oct 2025 10:50:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server-community/APNSwift.git
Reference: 6.2.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/swift-server-community/APNSwift
 * tag               6.2.0      -> FETCH_HEAD
HEAD is now at eb302f9 Add new error reason: BadEnvironmentKeyInToken (#229)
Cloned https://github.com/swift-server-community/APNSwift.git
Revision (git rev-parse @):
eb302f9dfa5ad44270496fef12edbe7036f67dd5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server-community/APNSwift.git at 6.2.0
========================================
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-3":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
[1/2161] Fetching swift-docc-plugin
[218/13861] Fetching swift-docc-plugin, swift-nio-http2
[2743/28234] Fetching swift-docc-plugin, swift-nio-http2, async-http-client
[6030/107998] Fetching swift-docc-plugin, swift-nio-http2, async-http-client, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
[7056/105837] Fetching swift-nio-http2, async-http-client, swift-nio
Fetching https://github.com/apple/swift-log.git
[26824/109992] Fetching swift-nio-http2, async-http-client, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.99s)
[35645/105837] Fetching swift-nio-http2, async-http-client, swift-nio
Fetching https://github.com/apple/swift-crypto.git
[61968/123171] Fetching swift-nio-http2, async-http-client, swift-nio, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (5.26s)
[52901/108798] Fetching swift-nio-http2, swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (5.47s)
[87476/91464] Fetching swift-nio-http2, swift-nio
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (17.49s)
Fetched https://github.com/apple/swift-nio.git from cache (17.75s)
[1/15250] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (25.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3565] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.12s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.1 (1.21s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
[1/2771] Fetching swift-nio-transport-services
[777/4591] Fetching swift-nio-transport-services, swift-atomics
[2321/10124] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing
[2681/16123] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.47s)
[13352/13352] Fetching swift-atomics, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (1.50s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.67s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.84s)
[1/6200] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.97s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (3.99s)
Fetching https://github.com/apple/swift-service-context.git
[1/1141] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.57s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.93s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.88s)
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.2 (2.23s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.22s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.30.0 (1.51s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.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-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/939] Fetching swift-http-types
[227/3469] Fetching swift-http-types, swift-service-lifecycle
[363/4667] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[1375/6320] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-asn1
[1476/11966] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-async-algorithms
[1723/18637] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (1.88s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.90s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.91s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.95s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.95s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.96s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.0 (3.21s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.51s)
Fetching https://github.com/apple/swift-collections.git
[1/18286] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (3.80s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.37s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.17s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.67s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.5.0 (1.33s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.88.0 (1.84s)
Fetching https://github.com/apple/swift-system.git
[1/5119] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (2.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (3.65s)
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.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.88.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.30.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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.2
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.36.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.5.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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.9.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.1
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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
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.5.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.29.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.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/858] Write sources
[4/858] Compiling rand.cc
[5/858] Compiling asn1_par.cc
[6/858] Write sources
[8/858] Compiling e_chacha20poly1305.cc
[9/858] Compiling _NumericsShims _NumericsShims.c
[9/858] Write sources
[32/858] Write swift-version-24593BA9C3E375BF.txt
[33/858] Compiling mldsa.cc
[34/858] Compiling _CWASI _CWASI.c
[35/858] Compiling asn_pack.cc
[36/858] Compiling _AtomicsShims.c
[37/858] Compiling SimpleFIPS202.c
[38/858] Compiling CXKCPShims shims.c
[39/858] Compiling a_utctm.cc
[40/866] Compiling KeccakSponge.c
[41/877] Compiling asn1_lib.cc
[42/899] Compiling KeccakHash.c
[43/899] Compiling CNIOWindows shim.c
[44/899] Compiling CNIOWindows WSAStartup.c
[45/899] Compiling CNIOWASI CNIOWASI.c
[46/899] Compiling CNIOPosix event_loop_id.c
[47/899] Compiling CNIOLinux shim.c
[48/899] Compiling CNIOLinux liburing_shims.c
[50/899] Emitting module ServiceContextModule
[51/899] Emitting module InternalCollectionsUtilities
[51/901] Compiling CNIOLLHTTP c_nio_llhttp.c
[52/901] Compiling CNIOLLHTTP c_nio_http.c
[53/901] Compiling CNIOLLHTTP c_nio_api.c
[54/901] Compiling CNIOExtrasZlib empty.c
[55/901] Compiling CNIODarwin shim.c
[56/901] Compiling CNIOBoringSSLShims shims.c
[58/901] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[59/901] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[60/901] Compiling InternalCollectionsUtilities Debugging.swift
[61/901] Compiling InternalCollectionsUtilities Descriptions.swift
[62/901] Emitting module RealModule
[63/901] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[64/901] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[65/902] Compiling RealModule Float80+Real.swift
[66/902] Compiling InternalCollectionsUtilities _SortedCollection.swift
[67/902] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[68/902] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/902] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[70/902] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[71/902] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[72/902] Compiling RealModule RealFunctions.swift
[73/902] Compiling RealModule Real.swift
[74/902] Compiling RealModule Float16+Real.swift
[75/902] Compiling _NIOBase64 Base64.swift
[76/902] Emitting module Logging
[77/902] Emitting module _NIOBase64
[78/902] Compiling Logging Locks.swift
[79/902] Compiling InternalCollectionsUtilities UInt+reversed.swift
[80/902] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[80/902] Compiling fiat_p256_adx_sqr.S
[82/902] Compiling ServiceContextModule ServiceContextKey.swift
[83/903] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[84/903] Compiling InternalCollectionsUtilities Integer rank.swift
[85/903] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[86/904] Compiling _NIODataStructures PriorityQueue.swift
[91/904] Compiling ServiceContextModule ServiceContext.swift
[92/905] Compiling _NIODataStructures _TinyArray.swift
[94/905] Compiling fiat_p256_adx_mul.S
[97/905] Compiling fiat_curve25519_adx_square.S
[99/905] Compiling fiat_curve25519_adx_mul.S
[101/905] Compiling RealModule RelaxedArithmetic.swift
[102/906] Wrapping AST for _NIOBase64 for debugging
[104/927] Emitting module Instrumentation
[105/927] Emitting module _NIODataStructures
[106/927] Compiling _NIODataStructures Heap.swift
[107/928] Compiling Instrumentation Locks.swift
[108/928] Compiling Instrumentation NoOpInstrument.swift
[110/928] Compiling Logging MetadataProvider.swift
[111/928] Compiling Instrumentation Instrument.swift
[112/928] Compiling Instrumentation InstrumentationSystem.swift
[113/928] Compiling Logging LogHandler.swift
[114/928] Compiling Logging Logging.swift
[115/929] Compiling DequeModule Deque+CustomReflectable.swift
[116/929] Compiling DequeModule Deque+Descriptions.swift
[117/931] Compiling Instrumentation MultiplexInstrument.swift
[119/932] Wrapping AST for _NIODataStructures for debugging
[120/932] Wrapping AST for ServiceContextModule for debugging
[122/932] Compiling DequeModule _DequeBuffer.swift
[123/932] Compiling DequeModule _DequeBufferHeader.swift
[123/932] Wrapping AST for RealModule for debugging
[124/932] Wrapping AST for InternalCollectionsUtilities for debugging
[125/932] Wrapping AST for Logging for debugging
[127/932] Compiling DequeModule Deque+Equatable.swift
[128/932] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[128/940] Wrapping AST for Instrumentation for debugging
[130/940] Compiling DequeModule _DequeSlot.swift
[131/940] Compiling DequeModule _UnsafeWrappedBuffer.swift
[132/940] Compiling DequeModule Deque+Extras.swift
[133/940] Compiling DequeModule Deque+Hashable.swift
[134/940] Compiling DequeModule Deque+Testing.swift
[135/940] Compiling DequeModule Deque._Storage.swift
[136/940] Compiling DequeModule Deque._UnsafeHandle.swift
[137/940] Compiling DequeModule Deque.swift
[138/940] Compiling Tracing TracingTime.swift
[139/940] Compiling Tracing TracerProtocol.swift
[140/940] Compiling Tracing TracerProtocol+Legacy.swift
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>
      |          ^~~~~~~~~~~
1 error generated.
[140/940] Compiling tls_record.cc
[140/940] Compiling tls13_client.cc
[140/940] Compiling tls13_enc.cc
[140/940] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[140/940] Compiling tls_method.cc
[140/940] Compiling KeccakP-1600-opt64.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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/794] Write sources
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>
      |          ^~~~~~~~~~~
1 error generated.
[6/802] Compiling tls_method.cc
[6/802] Compiling KeccakP-1600-opt64.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>
      |          ^~~~~~~~~~~
[6/802] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[6/802] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[6/802] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[6/802] Compiling tls13_client.cc
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>
      |          ^~~~~~~~~~~
[6/802] 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>
      |          ^~~~~~~~~~~
[6/802] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm