The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-smtp, reference 2.17.0 (173700), with Swift 6.1 for Wasm on 26 Mar 2026 08:05:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/sersoft-gmbh/swift-smtp.git
Reference: 2.17.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/sersoft-gmbh/swift-smtp
 * tag               2.17.0     -> FETCH_HEAD
HEAD is now at 1737006 Add support for Swift 6.3
Cloned https://github.com/sersoft-gmbh/swift-smtp.git
Revision (git rev-parse @):
173700613eef2b53fb0b945aad056fab448db7d5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/swift-smtp.git at 2.17.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-smtp.git
https://github.com/sersoft-gmbh/swift-smtp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.78.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.24.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.29.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.111.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor"
    }
  ],
  "manifest_display_name" : "swift-smtp",
  "name" : "swift-smtp",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSMTP",
      "targets" : [
        "SwiftSMTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftSMTPVapor",
      "targets" : [
        "SwiftSMTPVapor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftSMTPCLI",
      "targets" : [
        "SwiftSMTPCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSMTPVaporTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSMTPVaporTests",
      "path" : "Tests/SwiftSMTPVaporTests",
      "sources" : [
        "SwiftSMTPVaporTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSMTPVapor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSMTPVapor",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSMTPVapor",
      "path" : "Sources/SwiftSMTPVapor",
      "product_dependencies" : [
        "Vapor"
      ],
      "product_memberships" : [
        "SwiftSMTPVapor"
      ],
      "sources" : [
        "SwiftSMTP+Vapor.swift"
      ],
      "target_dependencies" : [
        "SwiftSMTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftSMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSMTPTests",
      "path" : "Tests/SwiftSMTPTests",
      "sources" : [
        "LogDuplexHandlerTests.swift",
        "SMTPRequestEncoderTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSMTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSMTPCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSMTPCLI",
      "path" : "Sources/SwiftSMTPCLI",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "SwiftSMTPCLI"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftSMTP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftSMTP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSMTP",
      "path" : "Sources/SwiftSMTP",
      "product_dependencies" : [
        "Algorithms",
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOExtras",
        "NIOSSL"
      ],
      "product_memberships" : [
        "SwiftSMTP",
        "SwiftSMTPVapor",
        "SwiftSMTPCLI"
      ],
      "sources" : [
        "Mailer.swift",
        "Models/Configuration+Environment.swift",
        "Models/Configuration.swift",
        "Models/Email.swift",
        "Models/NetworkModels.swift",
        "Models/SMTPErrors.swift",
        "NIO Channel Handlers/LogDuplexHandler.swift",
        "NIO Channel Handlers/SMTPHandler.swift",
        "NIO Channel Handlers/SMTPRequestEncoder.swift",
        "NIO Channel Handlers/SMTPResponseDecoder.swift",
        "NIO Channel Handlers/StartTLSDuplexHandler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/apple/swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/vapor/vapor
[1/2171] Fetching swift-docc-plugin
[240/8662] Fetching swift-docc-plugin, swift-nio-extras
[4205/14720] Fetching swift-docc-plugin, swift-nio-extras, swift-algorithms
[12722/91812] Fetching swift-docc-plugin, swift-nio-extras, swift-algorithms, vapor
[12845/107172] Fetching swift-docc-plugin, swift-nio-extras, swift-algorithms, vapor, swift-nio-ssl
[35522/190106] Fetching swift-docc-plugin, swift-nio-extras, swift-algorithms, vapor, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras from cache (3.26s)
[166199/183615] Fetching swift-docc-plugin, swift-algorithms, vapor, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-algorithms from cache (4.30s)
Fetched https://github.com/vapor/vapor from cache (4.31s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.56s)
Fetched https://github.com/apple/swift-nio-ssl from cache (5.59s)
Fetched https://github.com/apple/swift-nio from cache (5.68s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (7.97s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.52s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.01s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.36.1 (0.59s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.33.0 (0.76s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
[1/1769] Fetching swift-asn1
[1770/8894] Fetching swift-asn1, swift-certificates
[2127/11570] Fetching swift-asn1, swift-certificates, swift-service-lifecycle
[2279/17798] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-async-algorithms
[4728/19618] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-async-algorithms, swift-atomics
[7222/25864] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-async-algorithms, swift-atomics, swift-log
Fetched https://github.com/apple/swift-certificates.git from cache (0.78s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.84s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.84s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.84s)
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/1219] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.28s)
[1/12070] Fetching swift-nio-http2
[12071/13021] Fetching swift-nio-http2, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (4.26s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (5.97s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (1.49s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/22655] Fetching swift-collections
[228/28256] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
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 (2.17s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (22.79s)
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.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.32s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.86s)
Fetching https://github.com/apple/swift-crypto.git
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.80s)
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 (4.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (2.02s)
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.63s)
Computing version for https://github.com/vapor/vapor
Computed https://github.com/vapor/vapor at 4.121.3 (0.74s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/vapor/websocket-kit.git
[1/3616] Fetching multipart-kit
[978/6590] Fetching multipart-kit, swift-metrics
[1410/9242] Fetching multipart-kit, swift-metrics, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.73s)
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.75s)
Fetching https://github.com/vapor/async-kit.git
[1629/10183] Fetching multipart-kit, console-kit
[3140/12679] Fetching multipart-kit, console-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.90s)
Fetched https://github.com/vapor/console-kit.git from cache (0.94s)
Fetching https://github.com/swift-server/async-http-client.git
[1664/3616] Fetching multipart-kit
[3617/19263] Fetching multipart-kit, async-http-client
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetched https://github.com/vapor/multipart-kit.git from cache (2.29s)
[3912/15647] Fetching async-http-client
[15179/37049] Fetching async-http-client, routing-kit
[15337/38259] Fetching async-http-client, routing-kit, swift-service-context
[15816/43950] Fetching async-http-client, routing-kit, swift-service-context, swift-distributed-tracing
Fetched https://github.com/swift-server/async-http-client.git from cache (1.30s)
[23809/28303] Fetching routing-kit, swift-service-context, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git from cache (1.25s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.26s)
Fetched https://github.com/vapor/routing-kit.git from cache (1.28s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (4.02s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.54s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2821] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.13s)
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.93s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.74s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.80s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.61s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.94s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.76s)
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.85s)
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.0 (0.96s)
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/vapor/vapor
Working copy of https://github.com/vapor/vapor resolved at 4.121.3
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.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/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/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-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
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.36.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.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-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.10.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.6.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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.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/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-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.33.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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/884] Write sources
[9/884] Write swift-version-24593BA9C3E375BF.txt
[10/884] Write sources
[11/884] Compiling _NumericsShims _NumericsShims.c
[12/884] Write sources
[15/888] Compiling mlkem.cc
[16/888] Write sources
[19/888] Compiling _CWASI _CWASI.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[20/888] Compiling t_x509.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/obj.cc:24:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[20/888] Compiling obj.cc
[20/888] Compiling t_req.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/obj_xref.cc:12:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/obj/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[20/888] Compiling obj_xref.cc
[20/888] Compiling v3_akey.cc
[20/888] Compiling t_x509a.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/866] Write sources
[42/867] Compiling _AtomicsShims.c
[43/867] Compiling CXKCPShims shims.c
[44/867] Compiling KeccakHash.c
[44/867] Compiling SimpleFIPS202.c
[46/867] Compiling KeccakSponge.c
[47/867] Compiling CSystem shims.c
[48/867] Compiling CNIOWindows WSAStartup.c
[49/867] Compiling CVaporBcrypt bcrypt.c
[50/867] Compiling CNIOWASI CNIOWASI.c
[50/867] Compiling CNIOWindows shim.c
[52/867] Compiling CNIOLinux shim.c
[53/867] Compiling CNIOLinux liburing_shims.c
[54/867] Compiling CNIOPosix event_loop_id.c
[55/867] Compiling CNIOOpenBSD shim.c
[56/867] Compiling CVaporBcrypt blf.c
[57/867] Compiling CNIOSHA1 c_nio_sha1.c
[58/867] Compiling CNIOLLHTTP c_nio_http.c
[59/867] Compiling CNIOExtrasZlib zutil.c
[60/867] Compiling CNIOLLHTTP c_nio_api.c
[61/867] Compiling CNIOExtrasZlib inftrees.c
[62/867] Compiling CNIOExtrasZlib inffast.c
[63/867] Compiling CNIOExtrasZlib trees.c
[64/867] Compiling CNIODarwin shim.c
[65/867] Compiling CNIOExtrasZlib crc32.c
[66/867] Compiling CNIOExtrasZlib adler32.c
[66/867] Compiling CNIOExtrasZlib inflate.c
[68/867] Write swift-version-24593BA9C3E375BF.txt
[69/867] Compiling fiat_p256_adx_sqr.S
[70/867] Compiling CNIOExtrasZlib deflate.c
[71/867] Compiling fiat_p256_adx_mul.S
[72/867] Compiling fiat_curve25519_adx_square.S
[73/867] Compiling fiat_curve25519_adx_mul.S
[74/923] Compiling CNIOBoringSSLShims shims.c
[76/926] Emitting module _CertificateInternals
[76/926] Compiling CNIOLLHTTP c_nio_llhttp.c
[78/937] Emitting module RealModule
[79/938] Compiling RealModule RelaxedArithmetic.swift
[80/938] Compiling SwiftASN1 ArraySliceBigint.swift
[81/938] Compiling SwiftASN1 GeneralizedTime.swift
[82/940] Compiling RealModule Real.swift
[83/940] Compiling RealModule ElementaryFunctions.swift
[84/940] Compiling RealModule Float+Real.swift
[85/940] Compiling RealModule RealFunctions.swift
[86/940] Compiling SwiftASN1 TimeUtilities.swift
[87/940] Compiling SwiftASN1 UTCTime.swift
[88/940] Compiling RealModule AlgebraicField.swift
[89/940] Compiling RealModule ApproximateEquality.swift
[90/940] Compiling RealModule Float80+Real.swift
[91/940] Compiling SwiftASN1 ASN1OctetString.swift
[92/940] Compiling SwiftASN1 ASN1Strings.swift
[93/940] Compiling _CertificateInternals _TinyArray.swift
[95/940] Compiling RealModule AugmentedArithmetic.swift
[96/940] Compiling RealModule Double+Real.swift
[100/940] Compiling SwiftASN1 ASN1Integer.swift
[101/940] Compiling SwiftASN1 ASN1Null.swift
[102/941] Compiling ServiceContextModule ServiceContextKey.swift
[103/941] Emitting module SystemPackage
[106/945] Compiling RealModule Float16+Real.swift
[111/945] Compiling SwiftASN1 ObjectIdentifier.swift
[112/945] Compiling SwiftASN1 PEMDocument.swift
[113/945] Compiling SwiftASN1 DER.swift
[114/945] Compiling SwiftASN1 Errors.swift
[115/946] Compiling _NIODataStructures _TinyArray.swift
[116/946] Compiling _NIODataStructures PriorityQueue.swift
[117/946] Emitting module ServiceContextModule
[118/946] Compiling ServiceContextModule ServiceContext.swift
[129/947] Emitting module _NIOBase64
[130/947] Compiling _NIOBase64 Base64.swift
[134/948] Emitting module SwiftASN1
[136/948] Compiling SystemPackage Syscalls.swift
[137/948] Compiling SystemPackage WindowsSyscallAdapters.swift
[138/948] Compiling SystemPackage MachPort.swift
[139/948] Compiling SystemPackage PlatformString.swift
[140/948] Compiling SystemPackage Constants.swift
[141/948] Compiling SystemPackage Exports.swift
[142/948] Compiling SystemPackage Mocking.swift
[143/948] Compiling SystemPackage RawBuffer.swift
[146/948] Compiling SystemPackage IORing.swift
[147/948] Compiling SystemPackage RawIORequest.swift
[148/948] Compiling SystemPackage Backcompat.swift
[149/948] Compiling SystemPackage CInterop.swift
[150/960] Emitting module _NIODataStructures
[151/960] Compiling _NIODataStructures Heap.swift
[152/981] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[155/982] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[157/982] Compiling Instrumentation NoOpInstrument.swift
[158/984] Compiling Logging MetadataProvider.swift
[160/984] Emitting module Instrumentation
[161/984] Compiling Instrumentation Locks.swift
[162/984] Compiling Instrumentation MultiplexInstrument.swift
[163/984] Compiling Instrumentation Instrument.swift
[164/984] Compiling Instrumentation InstrumentationSystem.swift
[164/985] Wrapping AST for _NIOBase64 for debugging
[166/985] Compiling InternalCollectionsUtilities _SortedCollection.swift
[167/985] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[167/985] Wrapping AST for _NIODataStructures for debugging
[169/985] Wrapping AST for RealModule for debugging
[171/985] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[172/985] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[173/985] Emitting module Logging
[174/985] Compiling SystemPackage SystemString.swift
[175/985] Compiling SystemPackage Util+StringArray.swift
[176/985] Compiling SystemPackage Util.swift
[177/985] Compiling SystemPackage UtilConsumers.swift
[179/994] Compiling CoreMetrics Locks.swift
[180/994] Emitting module CoreMetrics
[181/994] Compiling CoreMetrics Metrics.swift
[182/995] Emitting module InternalCollectionsUtilities
[183/995] Compiling Tracing InstrumentationSystem+Tracing.swift
[185/995] Compiling Tracing TracingTime.swift
[186/995] Compiling InternalCollectionsUtilities Debugging.swift
[187/995] Compiling InternalCollectionsUtilities Descriptions.swift
[188/995] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[189/995] Compiling InternalCollectionsUtilities String+Padding.swift
[190/995] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[191/995] Compiling Tracing TracerProtocol.swift
[192/995] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[193/995] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[194/995] Compiling InternalCollectionsUtilities Span+Extras.swift
[195/995] Compiling InternalCollectionsUtilities Integer rank.swift
[196/995] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[197/995] Compiling InternalCollectionsUtilities UInt+reversed.swift
[198/995] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[199/995] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[200/995] Emitting module Tracing
[201/996] Compiling Tracing Tracer.swift
[202/996] Compiling Tracing TracerProtocol+Legacy.swift
[204/996] Compiling Logging Locks.swift
[205/996] Compiling Logging LogHandler.swift
[206/996] Compiling Logging Logging.swift
[206/997] Compiling KeccakP-1600-opt64.c
[209/1017] Compiling Tracing NoOpTracer.swift
[210/1017] Compiling Tracing SpanProtocol.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.
[210/1068] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[210/1068] Compiling tls_method.cc
[210/1068] Compiling tls13_server.cc
[210/1068] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm