The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sockit, reference main (ac83af), with Swift 6.1 for Wasm on 27 Mar 2026 11:03:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/sufiyanyusuf/sockit.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/sufiyanyusuf/sockit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac83af5 docs: fix README mismatches — remove dead defaultTimeout claim, update test count
Cloned https://github.com/sufiyanyusuf/sockit.git
Revision (git rev-parse @):
ac83af575078fc4b1e4bb2def6bf629a6f45ab29
SUCCESS checkout https://github.com/sufiyanyusuf/sockit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sufiyanyusuf/sockit.git
https://github.com/sufiyanyusuf/sockit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.99.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "websocket-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.16.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/websocket-kit.git"
    }
  ],
  "manifest_display_name" : "Sockit",
  "name" : "Sockit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SockitCore",
      "targets" : [
        "SockitCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SockitClient",
      "targets" : [
        "SockitClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SockitServer",
      "targets" : [
        "SockitServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SockitServerTests",
      "module_type" : "SwiftTarget",
      "name" : "SockitServerTests",
      "path" : "Tests/SockitServerTests",
      "sources" : [
        "ChannelRegistryTests.swift",
        "CodeReviewFindingsServerTests.swift",
        "ConnectionManagerTests.swift",
        "ConnectionReducerTests.swift",
        "TypedRouterTests.swift"
      ],
      "target_dependencies" : [
        "SockitServer",
        "SockitClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SockitServer",
      "module_type" : "SwiftTarget",
      "name" : "SockitServer",
      "path" : "Sources/SockitServer",
      "product_dependencies" : [
        "Vapor"
      ],
      "product_memberships" : [
        "SockitServer"
      ],
      "sources" : [
        "Internal/Action/ServerAction.swift",
        "Internal/Effect/ServerEffect.swift",
        "Internal/Reducer/ConnectionReducer.swift",
        "Internal/State/ConnectionState.swift",
        "Public/ChannelRegistry.swift",
        "Public/Connection.swift",
        "Public/ConnectionManager.swift",
        "Public/SockitHandler.swift",
        "Public/TypedRouter.swift",
        "SockitServer.swift",
        "Vapor/VaporIntegration.swift"
      ],
      "target_dependencies" : [
        "SockitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SockitNIOTransportTests",
      "module_type" : "SwiftTarget",
      "name" : "SockitNIOTransportTests",
      "path" : "Tests/SockitNIOTransportTests",
      "sources" : [
        "NIOWebSocketTransportTests.swift"
      ],
      "target_dependencies" : [
        "SockitNIOTransport",
        "SockitCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SockitNIOTransport",
      "module_type" : "SwiftTarget",
      "name" : "SockitNIOTransport",
      "path" : "Sources/SockitNIOTransport",
      "product_dependencies" : [
        "WebSocketKit"
      ],
      "product_memberships" : [
        "SockitClient"
      ],
      "sources" : [
        "NIOWebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "SockitCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SockitIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "SockitIntegrationTests",
      "path" : "Tests/SockitIntegrationTests",
      "sources" : [
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "SockitClient",
        "SockitNIOTransport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SockitCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SockitCoreTests",
      "path" : "Tests/SockitCoreTests",
      "sources" : [
        "MessageEncodingTests.swift",
        "PerformanceTests.swift",
        "RequestResponseTests.swift"
      ],
      "target_dependencies" : [
        "SockitCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SockitCore",
      "module_type" : "SwiftTarget",
      "name" : "SockitCore",
      "path" : "Sources/SockitCore",
      "product_memberships" : [
        "SockitCore",
        "SockitClient",
        "SockitServer"
      ],
      "sources" : [
        "Protocol/SockitMessage.swift",
        "SockitCore.swift",
        "Transport/TransportProtocol.swift",
        "Types/PushEvent.swift",
        "Types/RawPayload.swift",
        "Types/RawPushEvent.swift",
        "Types/RawRequest.swift",
        "Types/RawResponse.swift",
        "Types/Request.swift",
        "Types/Response.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SockitClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SockitClientTests",
      "path" : "Tests/SockitClientTests",
      "sources" : [
        "ClientReducerTests.swift",
        "CodeReviewFindingsTests.swift"
      ],
      "target_dependencies" : [
        "SockitClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SockitClient",
      "module_type" : "SwiftTarget",
      "name" : "SockitClient",
      "path" : "Sources/SockitClient",
      "product_memberships" : [
        "SockitClient"
      ],
      "sources" : [
        "Internal/Action/ClientAction.swift",
        "Internal/Effect/ClientEffect.swift",
        "Internal/Reducer/ClientReducer.swift",
        "Internal/State/ClientState.swift",
        "Internal/Transport/WebSocketTransport.swift",
        "Public/Client.swift",
        "Public/ClientConfig.swift",
        "Public/PushEventRegistry.swift",
        "Public/SockitCommand.swift",
        "Public/SockitPushEvent.swift",
        "SockitClient.swift"
      ],
      "target_dependencies" : [
        "SockitCore",
        "SockitNIOTransport"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/vapor/websocket-kit.git
Fetching https://github.com/vapor/vapor.git
[1/2652] Fetching websocket-kit
[2653/79793] Fetching websocket-kit, vapor
Fetched https://github.com/vapor/websocket-kit.git from cache (2.16s)
Fetched https://github.com/vapor/vapor.git from cache (2.20s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (2.89s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
[1/2821] Fetching swift-nio-transport-services
[2822/4641] Fetching swift-nio-transport-services, swift-atomics
[4642/20001] Fetching swift-nio-transport-services, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.57s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
[1844/15360] Fetching swift-nio-ssl
[1998/98307] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.55s)
[36497/82947] Fetching swift-nio
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio.git from cache (8.51s)
[1/6491] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (12.20s)
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 (1.30s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.05s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
[3362/28571] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
[8729/22970] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.84s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.87s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2676] Fetching swift-service-lifecycle
[1286/9801] Fetching swift-service-lifecycle, swift-certificates
[1706/15859] Fetching swift-service-lifecycle, swift-certificates, swift-algorithms
[3432/22127] Fetching swift-service-lifecycle, swift-certificates, swift-algorithms, swift-log
[5509/28355] Fetching swift-service-lifecycle, swift-certificates, swift-algorithms, swift-log, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.54s)
[20457/25679] Fetching swift-certificates, swift-algorithms, swift-log, swift-async-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.83s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.88s)
[1/1219] Fetching swift-http-structured-headers
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/apple/swift-log.git from cache (0.94s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.95s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.44s)
[1/951] Fetching swift-http-types
[952/2720] Fetching swift-http-types, swift-asn1
[1006/14790] Fetching swift-http-types, swift-asn1, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[1280/13839] Fetching swift-asn1, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
[2656/12070] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.49s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.84s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (1.08s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.04s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.83s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.90s)
Fetching https://github.com/apple/swift-crypto.git
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.51s)
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 (3.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.65s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (2.91s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.82s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.3 (0.95s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/routing-kit.git
[1/1210] Fetching swift-service-context
[207/4826] Fetching swift-service-context, multipart-kit
[1584/7800] Fetching swift-service-context, multipart-kit, swift-metrics
[1739/29202] Fetching swift-service-context, multipart-kit, swift-metrics, routing-kit
[1994/34893] Fetching swift-service-context, multipart-kit, swift-metrics, routing-kit, swift-distributed-tracing
[4839/41460] Fetching swift-service-context, multipart-kit, swift-metrics, routing-kit, swift-distributed-tracing, console-kit
Fetched https://github.com/apple/swift-service-context.git from cache (0.50s)
[11566/40250] Fetching multipart-kit, swift-metrics, routing-kit, swift-distributed-tracing, console-kit
Fetching https://github.com/vapor/async-kit.git
[32913/42746] Fetching multipart-kit, swift-metrics, routing-kit, swift-distributed-tracing, console-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.48s)
Fetching https://github.com/swift-server/async-http-client.git
[33340/40250] Fetching multipart-kit, swift-metrics, routing-kit, swift-distributed-tracing, console-kit
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.49s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.49s)
Fetched https://github.com/vapor/console-kit.git from cache (1.49s)
[23052/40685] Fetching multipart-kit, routing-kit, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (1.51s)
[1806/19283] Fetching multipart-kit, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.28s)
Fetched https://github.com/vapor/multipart-kit.git from cache (2.31s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (3.07s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.93s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (1.00s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.92s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.67s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (2.64s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.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.76s)
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/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-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-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-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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.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.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.18.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.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/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.3
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.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.1.3
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-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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.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.10.1
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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.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.97.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
Building for debugging...
[0/861] Write sources
[54/861] Compiling _NumericsShims _NumericsShims.c
[55/861] Compiling _AtomicsShims.c
[56/861] Compiling _CWASI _CWASI.c
[57/861] Compiling KeccakSponge.c
[58/861] Compiling CXKCPShims shims.c
[59/861] Compiling KeccakHash.c
[60/861] Compiling SimpleFIPS202.c
[61/861] Compiling CSystem shims.c
[62/861] Compiling CNIOWindows shim.c
[63/861] Compiling CNIOWindows WSAStartup.c
[64/861] Compiling CNIOWASI CNIOWASI.c
[65/861] Compiling CVaporBcrypt bcrypt.c
[66/861] Compiling CVaporBcrypt blf.c
[67/861] Compiling CNIOOpenBSD shim.c
[68/861] Compiling CNIOLinux shim.c
[69/861] Compiling CNIOPosix event_loop_id.c
[70/861] Compiling CNIOLinux liburing_shims.c
[71/861] Compiling CNIOSHA1 c_nio_sha1.c
[72/861] Compiling CNIOLLHTTP c_nio_http.c
[73/861] Compiling CNIOExtrasZlib zutil.c
[74/861] Compiling CNIOLLHTTP c_nio_api.c
[75/861] Compiling CNIOExtrasZlib inftrees.c
[76/861] Compiling CNIOExtrasZlib inffast.c
[77/861] Compiling CNIOExtrasZlib trees.c
[78/861] Compiling CNIOExtrasZlib adler32.c
[79/861] Compiling CNIOExtrasZlib crc32.c
[79/861] Compiling CNIODarwin shim.c
[81/861] Compiling CNIOExtrasZlib inflate.c
[82/861] Write swift-version-24593BA9C3E375BF.txt
[83/861] Compiling fiat_p256_adx_mul.S
[84/861] Compiling fiat_curve25519_adx_mul.S
[85/861] Compiling CNIOExtrasZlib deflate.c
[86/861] Compiling fiat_curve25519_adx_square.S
[87/861] Compiling fiat_p256_adx_sqr.S
[88/917] Compiling CNIOBoringSSLShims shims.c
[90/927] Emitting module _NIODataStructures
[90/927] Compiling CNIOLLHTTP c_nio_llhttp.c
[92/930] Compiling _CertificateInternals _TinyArray.swift
[93/930] Emitting module _CertificateInternals
[94/931] Compiling ServiceContextModule ServiceContextKey.swift
[95/931] Compiling ServiceContextModule ServiceContext.swift
[96/931] Emitting module ServiceContextModule
[97/932] Emitting module _NIOBase64
[98/932] Compiling _NIOBase64 Base64.swift
[100/933] Compiling _NIODataStructures PriorityQueue.swift
[101/933] Compiling _NIODataStructures _TinyArray.swift
[102/933] Compiling SwiftASN1 ASN1Integer.swift
[103/933] Compiling SwiftASN1 ASN1Null.swift
[104/933] Compiling SockitCore SockitMessage.swift
[105/933] Compiling SockitCore SockitCore.swift
[106/933] Compiling SockitCore TransportProtocol.swift
[107/933] Compiling SockitCore PushEvent.swift
[108/933] Compiling SwiftASN1 ASN1Boolean.swift
[109/933] Compiling SwiftASN1 ASN1Identifier.swift
[110/935] Compiling SwiftASN1 TimeUtilities.swift
[111/935] Compiling SwiftASN1 UTCTime.swift
[115/935] Compiling SwiftASN1 ObjectIdentifier.swift
[116/935] Compiling SwiftASN1 PEMDocument.swift
[117/935] Compiling SwiftASN1 ASN1OctetString.swift
[118/935] Compiling SwiftASN1 ASN1Strings.swift
[119/935] Compiling SwiftASN1 ArraySliceBigint.swift
[120/935] Compiling SwiftASN1 GeneralizedTime.swift
[121/939] Emitting module SystemPackage
[129/973] Compiling RealModule RealFunctions.swift
[130/973] Compiling RealModule Float80+Real.swift
[131/974] Compiling RealModule Real.swift
[132/974] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[133/974] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[134/976] Compiling Logging Locks.swift
[136/976] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[137/976] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[138/976] Compiling InternalCollectionsUtilities _SortedCollection.swift
[139/976] Compiling RealModule RelaxedArithmetic.swift
[140/976] Compiling Logging MetadataProvider.swift
[141/976] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[142/976] Compiling SystemPackage WindowsSyscallAdapters.swift
[143/976] Compiling SystemPackage MachPort.swift
[144/976] Compiling SystemPackage PlatformString.swift
[145/976] Compiling _NIODataStructures Heap.swift
[146/977] Compiling SystemPackage Constants.swift
[147/977] Compiling SystemPackage Exports.swift
[148/977] Compiling SystemPackage Mocking.swift
[149/977] Compiling SystemPackage RawBuffer.swift
[150/977] Compiling SystemPackage IORing.swift
[151/977] Compiling SystemPackage RawIORequest.swift
[152/977] Compiling SystemPackage Backcompat.swift
[153/977] Compiling SystemPackage CInterop.swift
[154/977] Emitting module SwiftASN1
[155/977] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[156/977] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[157/977] Compiling InternalCollectionsUtilities Span+Extras.swift
[158/977] Compiling InternalCollectionsUtilities String+Padding.swift
[159/977] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[161/977] Compiling RealModule Float16+Real.swift
[165/977] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[166/977] Compiling InternalCollectionsUtilities UInt+reversed.swift
[167/977] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[168/977] Compiling InternalCollectionsUtilities Integer rank.swift
[169/977] Compiling InternalCollectionsUtilities Debugging.swift
[170/977] Compiling InternalCollectionsUtilities Descriptions.swift
[171/977] Emitting module Logging
[172/977] Emitting module RealModule
[173/981] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[174/981] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[182/984] Emitting module SockitCore
[184/985] Compiling SockitCore Request.swift
[187/985] Compiling SockitCore RawResponse.swift
[188/985] Compiling SockitCore RawRequest.swift
[191/985] Compiling Instrumentation NoOpInstrument.swift
[192/985] Compiling SockitCore RawPushEvent.swift
[193/985] Compiling Instrumentation MultiplexInstrument.swift
[194/985] Compiling Instrumentation Locks.swift
[197/985] Compiling SockitCore RawPayload.swift
[198/985] Emitting module Instrumentation
[199/985] Compiling Instrumentation InstrumentationSystem.swift
[200/985] Compiling Instrumentation Instrument.swift
[205/990] Emitting module InternalCollectionsUtilities
[206/990] Compiling SystemPackage SystemString.swift
[207/990] Compiling SystemPackage Util+StringArray.swift
[208/990] Compiling SystemPackage Util.swift
[209/990] Compiling SystemPackage UtilConsumers.swift
[214/992] Compiling CoreMetrics Locks.swift
[215/1000] Compiling SockitCore Response.swift
[219/1001] Emitting module CoreMetrics
[220/1001] Compiling Logging LogHandler.swift
[221/1001] Compiling Logging Logging.swift
[222/1042] Compiling Tracing TracingTime.swift
[223/1064] Emitting module Tracing
[225/1127] Compiling Tracing TracerProtocol.swift
[226/1127] Compiling OrderedCollections _HashTable+Constants.swift
[227/1127] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[228/1127] Compiling OrderedCollections _HashTable+Testing.swift
[229/1127] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[230/1127] Compiling OrderedCollections _HashTable.swift
[231/1127] Compiling OrderedCollections _Hashtable+Header.swift
[232/1127] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[233/1127] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[234/1127] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[235/1127] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[236/1127] Compiling OrderedCollections OrderedDictionary+Codable.swift
[237/1127] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[238/1127] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[239/1127] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[240/1127] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[241/1127] Compiling OrderedCollections OrderedDictionary+Elements.swift
[242/1127] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[243/1127] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[244/1127] Compiling OrderedCollections _HashTable+Bucket.swift
[245/1127] Compiling OrderedCollections _HashTable+BucketIterator.swift
[246/1127] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[247/1127] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[248/1127] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[249/1127] Compiling OrderedCollections OrderedDictionary+Values.swift
[250/1127] Compiling OrderedCollections OrderedDictionary.swift
[251/1127] Compiling OrderedCollections OrderedSet+Codable.swift
[252/1127] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[253/1127] Compiling OrderedCollections OrderedSet+Descriptions.swift
[254/1127] Compiling OrderedCollections OrderedSet+Diffing.swift
[255/1127] Compiling OrderedCollections OrderedSet+Equatable.swift
[256/1136] Compiling Tracing Tracer.swift
[257/1136] Compiling Tracing TracerProtocol+Legacy.swift
[258/1147] Compiling SockitClient SockitCommand.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[259/1147] Compiling SockitClient ClientConfig.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[260/1147] Compiling SockitClient PushEventRegistry.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[261/1148] Compiling SockitClient SockitPushEvent.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[262/1148] Compiling Tracing NoOpTracer.swift
[263/1148] Compiling Tracing InstrumentationSystem+Tracing.swift
[264/1148] Compiling Tracing SpanProtocol.swift
[265/1149] Compiling SockitClient SockitClient.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[267/1149] Compiling SockitClient ClientReducer.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[268/1149] Compiling SockitClient ClientState.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[269/1149] Compiling SockitClient WebSocketTransport.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[270/1149] Compiling SockitClient Client.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[271/1149] Emitting module SockitClient
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[272/1149] Compiling SockitClient ClientAction.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
[273/1149] Compiling SockitClient ClientEffect.swift
/host/spi-builder-workspace/Sources/SockitClient/Public/Client.swift:5:8: error: no such module 'SockitNIOTransport'
  3 | // NIO transport is the default on all non-Apple platforms (Linux, etc.)
  4 | #if !canImport(Darwin)
  5 | import SockitNIOTransport
    |        `- error: no such module 'SockitNIOTransport'
  6 | #endif
  7 |
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>
      |          ^~~~~~~~~~~
[273/1149] Compiling tls_record.cc
[273/1149] Compiling KeccakP-1600-opt64.c
[273/1149] Compiling tls_method.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/772] Compiling fiat_curve25519_adx_square.S
[1/772] Compiling fiat_p256_adx_sqr.S
[2/772] Compiling fiat_curve25519_adx_mul.S
[3/772] Compiling md5-x86_64-apple.S
[4/772] Compiling md5-x86_64-linux.S
[5/772] Compiling fiat_p256_adx_mul.S
[6/772] Compiling CCryptoBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[7/772] Compiling tls_method.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>
      |          ^~~~~~~~~~~
1 error generated.
[7/772] Compiling tls13_enc.cc
[7/772] Compiling KeccakP-1600-opt64.c
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/772] Compiling tls13_client.cc
[7/772] Compiling tls13_both.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/772] Compiling tls13_server.cc
[7/772] Write swift-version-24593BA9C3E375BF.txt
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/772] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm