The Swift Package Index logo.Swift Package Index

Build Information

Failed to build apnswift, reference main (ff38db), with Swift 6.1 for Wasm on 6 Apr 2026 18:03:17 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylebrowning/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/kylebrowning/APNSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff38db1 Update badge links in README.md
Cloned https://github.com/kylebrowning/APNSwift.git
Revision (git rev-parse @):
ff38db10889b5cd0306b9504a171f50bee55ae18
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kylebrowning/APNSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kylebrowning/APNSwift.git
https://github.com/kylebrowning/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",
      "product_dependencies" : [
        "Crypto",
        "NIOPosix"
      ],
      "sources" : [
        "APNSAuthenticationTokenManagerTests.swift",
        "APNSClientIntegrationTests.swift",
        "APNSClientTests.swift",
        "APNSTestServerValidationTests.swift",
        "Alert/APNSAlertNotificationTests.swift",
        "Background/APNSBackgroundNotificationTests.swift",
        "Broadcast/APNSBroadcastChannelListTests.swift",
        "Broadcast/APNSBroadcastChannelTests.swift",
        "Broadcast/APNSBroadcastClientTests.swift",
        "Complication/APNSComplicationNotificationTests.swift",
        "FileProvider/APNSFileProviderNotificationTests.swift",
        "LiveActivity/APNSLiveActivityNotificationTests.swift",
        "PushToTalk/APNSPushToTalkNotificationTests.swift",
        "VoIP/APNSVoIPNotificationTests.swift",
        "Widgets/APNSWidgetsNotificationTests.swift"
      ],
      "target_dependencies" : [
        "APNSCore",
        "APNS",
        "APNSTestServer"
      ],
      "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",
        "Broadcast/APNSBroadcastChannel.swift",
        "Broadcast/APNSBroadcastChannelList.swift",
        "Broadcast/APNSBroadcastClientProtocol.swift",
        "Broadcast/APNSBroadcastEnvironment.swift",
        "Broadcast/APNSBroadcastMessageStoragePolicy.swift",
        "Broadcast/APNSBroadcastRequest.swift",
        "Broadcast/APNSBroadcastResponse.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" : [
        "AsyncHTTPClient",
        "Crypto",
        "NIOFoundationCompat",
        "NIOHTTP1",
        "NIOPosix",
        "NIOTLS",
        "NIOSSL"
      ],
      "product_memberships" : [
        "APNSExample",
        "APNS"
      ],
      "sources" : [
        "APNSBroadcastClient.swift",
        "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/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git
[1/2222] Fetching swift-docc-plugin
[446/14321] Fetching swift-docc-plugin, swift-nio-http2
[932/29716] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl
[4301/45402] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl, async-http-client
[4324/62731] Fetching swift-docc-plugin, swift-nio-http2, swift-nio-ssl, async-http-client, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (5.09s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.17s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-docc-plugin from cache (5.45s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.48s)
[64/6349] Fetching swift-log
Fetched https://github.com/apple/swift-crypto.git from cache (5.52s)
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
[1/83026] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (18.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.99s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.96s)
Fetching https://github.com/apple/swift-distributed-tracing.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
Fetching https://github.com/apple/swift-nio-extras.git
[1/5720] Fetching swift-distributed-tracing
[287/7540] Fetching swift-distributed-tracing, swift-atomics
[1918/10372] Fetching swift-distributed-tracing, swift-atomics, swift-nio-transport-services
[4245/16430] Fetching swift-distributed-tracing, swift-atomics, swift-nio-transport-services, swift-algorithms
[4541/22937] Fetching swift-distributed-tracing, swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-atomics.git from cache (0.89s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.89s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.01s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.02s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.07s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (1.99s)
Fetching https://github.com/apple/swift-service-context.git
[1/1230] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.38s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.35s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.79s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.97s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.97s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.95s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (1.07s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.07s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (1.17s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/984] Fetching swift-http-types
[985/2773] Fetching swift-http-types, swift-asn1
[1755/5486] Fetching swift-http-types, swift-asn1, swift-service-lifecycle
[2271/12631] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-certificates
[3411/18855] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.47s)
[3082/17871] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.70s)
[13736/16082] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.07s)
[1/1242] Fetching swift-http-structured-headers
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.13s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.14s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.55s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (2.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.90s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23426] Fetching swift-collections
[1641/29027] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.85s)
[2812/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.35s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (3.42s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (4.01s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (1.14s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (3.34s)
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.6.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.33.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.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.1.3
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.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.33.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
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.42.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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.36.1
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.26.0
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.3.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.11.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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.6
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/868] Write sources
[18/868] Compiling _CWASI _CWASI.c
[19/868] Compiling _NumericsShims _NumericsShims.c
/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.
[19/868] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[19/868] Compiling _AtomicsShims.c
[19/868] Compiling a_d2i_fp.cc
[19/868] Compiling a_bool.cc
[19/868] Compiling a_bitstr.cc
[19/868] Compiling aes.cc
[19/868] Write swift-version-24593BA9C3E375BF.txt
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/851] Write sources
[20/851] Compiling _NumericsShims _NumericsShims.c
[21/851] Compiling SimpleFIPS202.c
[22/851] Compiling _AtomicsShims.c
[23/851] Compiling KeccakHash.c
[24/851] Compiling CNIOWindows shim.c
[25/851] Compiling KeccakSponge.c
[26/851] Compiling CNIOWASI CNIOWASI.c
[27/851] Compiling CNIOWindows WSAStartup.c
[28/851] Compiling CNIOLinux shim.c
[29/851] Compiling CNIOOpenBSD shim.c
[30/851] Compiling CNIOPosix event_loop_id.c
[30/851] Compiling CNIOLinux liburing_shims.c
[32/851] Compiling CNIOLLHTTP c_nio_http.c
[33/851] Compiling CNIOExtrasZlib zutil.c
[34/851] Compiling CNIOLLHTTP c_nio_api.c
[35/851] Compiling CNIOExtrasZlib inftrees.c
[36/851] Compiling CNIOExtrasZlib inffast.c
[37/851] Compiling CNIOExtrasZlib trees.c
[38/851] Compiling CXKCPShims shims.c
[39/851] Write swift-version-24593BA9C3E375BF.txt
[40/851] Compiling CNIOExtrasZlib adler32.c
[41/851] Compiling CNIODarwin shim.c
[42/851] Compiling CNIOExtrasZlib crc32.c
[43/851] Compiling CNIOExtrasZlib inflate.c
[44/851] Compiling CNIOExtrasZlib deflate.c
[45/877] Compiling CNIOBoringSSLShims shims.c
[47/895] Emitting module InternalCollectionsUtilities
[47/897] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/915] Compiling InternalCollectionsUtilities _SortedCollection.swift
[50/915] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[51/915] Compiling RealModule Float80+Real.swift
[52/916] Compiling Atomics AtomicInteger.swift
[53/916] Compiling Atomics AtomicOptionalWrappable.swift
[54/916] Compiling Atomics AtomicReference.swift
[55/916] Compiling Atomics UnsafeAtomic.swift
[56/916] Compiling Atomics UnsafeAtomicLazyReference.swift
[57/918] Compiling RealModule RealFunctions.swift
[58/918] Compiling RealModule Real.swift
[59/918] Compiling Atomics AtomicStorage.swift
[60/918] Compiling Atomics AtomicValue.swift
[61/918] Compiling Atomics AtomicMemoryOrderings.swift
[62/918] Compiling Atomics DoubleWord.swift
[63/918] Compiling Atomics ManagedAtomic.swift
[64/918] Compiling Atomics ManagedAtomicLazyReference.swift
[65/918] Compiling Atomics OptionalRawRepresentable.swift
[66/918] Compiling Atomics RawRepresentable.swift
[67/918] Emitting module RealModule
[75/918] Compiling Atomics AtomicBool.swift
[82/918] Compiling Atomics IntegerConformances.swift
[83/918] Compiling Atomics PointerConformances.swift
[84/918] Compiling Atomics Primitives.native.swift
[85/919] Compiling _NIODataStructures PriorityQueue.swift
[86/919] Compiling ServiceContextModule ServiceContextKey.swift
[89/919] Compiling RealModule Float16+Real.swift
[92/919] Emitting module ServiceContextModule
[93/919] Compiling ServiceContextModule ServiceContext.swift
[94/920] Compiling _NIOBase64 Base64.swift
[95/920] Emitting module _NIOBase64
[96/920] Compiling RealModule RelaxedArithmetic.swift
[98/922] Compiling _NIODataStructures _TinyArray.swift
[98/922] Compiling fiat_p256_adx_sqr.S
[102/922] Wrapping AST for InternalCollectionsUtilities for debugging
[103/922] Wrapping AST for _NIOBase64 for debugging
[105/943] Compiling Atomics IntegerOperations.swift
[106/943] Compiling Atomics Unmanaged extensions.swift
[106/961] Wrapping AST for ServiceContextModule for debugging
[108/961] Compiling ContainersPreview Producer+Map.swift
[109/961] Compiling ContainersPreview Producer+Reduce.swift
[110/961] Compiling ContainersPreview Producer.swift
[111/961] Compiling ContainersPreview Borrow.swift
[112/961] Emitting module Logging
[113/961] Compiling Logging Locks.swift
[114/962] Compiling Logging MetadataProvider.swift
[115/966] Compiling ContainersPreview Drain+Reduce.swift
[116/966] Compiling ContainersPreview Drain.swift
[117/966] Compiling ContainersPreview Producer+Collect.swift
[118/966] Compiling ContainersPreview Producer+Filter.swift
[119/987] Compiling ContainersPreview RandomAccessContainer.swift
[120/987] Compiling ContainersPreview RangeExpression2.swift
[121/987] Compiling ContainersPreview RangeReplaceableContainer.swift
[122/987] Compiling ContainersPreview Drain+Map.swift
[123/987] Compiling Instrumentation NoOpInstrument.swift
[123/990] Wrapping AST for RealModule for debugging
[125/990] Emitting module ContainersPreview
[126/990] Emitting module _NIODataStructures
[127/990] Compiling _NIODataStructures Heap.swift
[128/991] Compiling Algorithms Reductions.swift
[129/991] Compiling Algorithms Rotate.swift
[130/991] Compiling Algorithms Split.swift
[131/991] Compiling Algorithms Stride.swift
[132/991] Compiling Algorithms Suffix.swift
[133/991] Compiling Instrumentation Locks.swift
[134/991] Compiling Instrumentation MultiplexInstrument.swift
[135/991] Compiling Algorithms Chain.swift
[136/991] Compiling Algorithms Chunked.swift
[137/991] Compiling Algorithms Combinations.swift
[138/991] Compiling Algorithms FlattenCollection.swift
[139/991] Compiling Algorithms Grouped.swift
[140/991] Compiling Algorithms Compacted.swift
[141/991] Compiling Algorithms Cycle.swift
[142/991] Compiling Algorithms EitherSequence.swift
[143/991] Compiling Algorithms FirstNonNil.swift
[144/991] Compiling Algorithms AdjacentPairs.swift
[145/991] Compiling Algorithms Indexed.swift
[146/991] Compiling Algorithms Intersperse.swift
[147/991] Compiling Algorithms Joined.swift
[148/991] Compiling Algorithms Keyed.swift
[149/991] Compiling Algorithms MinMax.swift
[150/991] Compiling Instrumentation InstrumentationSystem.swift
[151/991] Compiling Instrumentation Instrument.swift
[152/991] Emitting module Instrumentation
[152/992] Compiling fiat_p256_adx_mul.S
[153/992] Compiling fiat_curve25519_adx_square.S
[155/992] Compiling ContainersPreview Box.swift
[156/992] Compiling ContainersPreview Inout.swift
[157/992] Compiling ContainersPreview InputSpan.swift
[158/992] Compiling ContainersPreview Shared.swift
[160/993] Compiling fiat_curve25519_adx_mul.S
[162/993] Wrapping AST for _NIODataStructures for debugging
[163/997] Wrapping AST for Instrumentation for debugging
[164/1041] Wrapping AST for ContainersPreview for debugging
[166/1041] Compiling Tracing InstrumentationSystem+Tracing.swift
[167/1041] Compiling DequeModule UniqueDeque+Consumption.swift
[168/1041] Compiling DequeModule UniqueDeque+Container.swift
[169/1041] Compiling DequeModule UniqueDeque+Descriptions.swift
[170/1041] Compiling DequeModule UniqueDeque+Equatable.swift
[171/1041] Compiling DequeModule UniqueDeque+Experimental.swift
[172/1041] Compiling DequeModule UniqueDeque+Hashable.swift
[173/1041] Compiling DequeModule UniqueDeque+Initializers.swift
[174/1041] Compiling DequeModule UniqueDeque+Insertions.swift
[175/1041] Compiling DequeModule UniqueDeque+Prepend.swift
[176/1041] Compiling DequeModule UniqueDeque+Removals.swift
[177/1046] Compiling Logging LogHandler.swift
[178/1046] Compiling Logging LogEvent.swift
[179/1046] Compiling Logging Logging.swift
[180/1047] Compiling Tracing TracingTime.swift
[181/1047] Compiling DequeModule _DequeBuffer.swift
[182/1047] Compiling DequeModule _DequeBufferHeader.swift
[183/1047] Compiling DequeModule RigidDeque+Append.swift
[184/1047] Compiling DequeModule RigidDeque+Consumption.swift
[185/1047] Compiling DequeModule RigidDeque+Container.swift
[186/1047] Compiling DequeModule RigidDeque+Descriptions.swift
[187/1047] Emitting module Tracing
[189/1047] Compiling Tracing TracerProtocol.swift
[190/1047] Compiling Tracing Tracer.swift
[191/1047] Compiling Tracing TracerProtocol+Legacy.swift
[192/1047] Compiling DequeModule Deque+Equatable.swift
[193/1047] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[195/1050] Compiling DequeModule Deque+Collection.swift
[196/1050] Compiling DequeModule Deque+CustomReflectable.swift
[197/1050] Compiling DequeModule Deque+Descriptions.swift
[198/1050] Compiling DequeModule RigidDeque+Removals.swift
[199/1050] Compiling DequeModule RigidDeque+Replacements.swift
[200/1050] Compiling DequeModule RigidDeque+Testing.swift
[204/1050] Emitting module Atomics
[205/1050] Compiling Tracing NoOpTracer.swift
[206/1050] Compiling Tracing SpanProtocol.swift
[208/1052] Wrapping AST for Logging for debugging
[209/1052] Wrapping AST for Tracing for debugging
[211/1052] Compiling DequeModule Deque._UnsafeHandle.swift
[212/1052] Compiling DequeModule Deque.swift
[213/1052] Compiling DequeModule Deque+Codable.swift
[214/1052] Compiling DequeModule Deque+Hashable.swift
[215/1052] Compiling DequeModule Deque+Testing.swift
[216/1052] Compiling DequeModule Deque._Storage.swift
[218/1052] Compiling DequeModule RigidDeque.swift
[219/1052] Compiling DequeModule UniqueDeque+Append.swift
[220/1052] Compiling DequeModule Deque+Extras.swift
[225/1052] Compiling Algorithms Trim.swift
[226/1052] Compiling Algorithms Unique.swift
[227/1052] Compiling Algorithms Windows.swift
[233/1052] Compiling DequeModule RigidDeque+Equatable.swift
[234/1052] Compiling DequeModule RigidDeque+Experimental.swift
[235/1052] Compiling DequeModule RigidDeque+Hashable.swift
[236/1052] Compiling DequeModule RigidDeque+Initializers.swift
[237/1052] Compiling DequeModule RigidDeque+Insertions.swift
[238/1052] Compiling DequeModule RigidDeque+Prepend.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.
[250/1052] Compiling tls_record.cc
[250/1052] Compiling tls13_client.cc
[250/1052] Compiling tls13_enc.cc
[250/1052] Compiling KeccakP-1600-opt64.c
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>
      |          ^~~~~~~~~~~
[250/1052] Compiling tls_method.cc
[250/1052] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm