The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Kitura-Session, reference master (640596), with Swift 6.1 for Wasm on 28 May 2025 10:04:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-Session.git
Reference: master
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/Kitura/Kitura-Session
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 640596e Update CI; Swift 5.2 is now minimum; fix unit tests; Now depend on Kitura 3.0.0 (#75)
Cloned https://github.com/Kitura/Kitura-Session.git
Revision (git rev-parse @):
640596ea1668d5753aa6b51cc3b9cf86c114f2b8
SUCCESS checkout https://github.com/Kitura/Kitura-Session.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-Session.git
https://github.com/Kitura/Kitura-Session.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueCryptor.git"
    }
  ],
  "manifest_display_name" : "Kitura-Session",
  "name" : "Kitura-Session",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraSession",
      "targets" : [
        "KituraSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraSessionTests",
      "path" : "Tests/KituraSessionTests",
      "sources" : [
        "CookieUtils.swift",
        "KituraTest.swift",
        "TestCodableSession.swift",
        "TestSession.swift",
        "TestTypeSafeSession.swift"
      ],
      "target_dependencies" : [
        "KituraSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraSession",
      "module_type" : "SwiftTarget",
      "name" : "KituraSession",
      "path" : "Sources/KituraSession",
      "product_dependencies" : [
        "Kitura",
        "Cryptor"
      ],
      "product_memberships" : [
        "KituraSession"
      ],
      "sources" : [
        "CookieCryptography.swift",
        "CookieManagement.swift",
        "CookieParameter.swift",
        "InMemoryStore.swift",
        "RouterRequest+Session.swift",
        "Session.swift",
        "SessionCookie.swift",
        "SessionState.swift",
        "Store.swift",
        "StoreError.swift",
        "TypeSafeSession.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.95s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.97s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (3.14s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 3.0.1 (0.92s)
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/apple/swift-log.git
[1/3471] Fetching kitura-nio
[3472/6017] Fetching kitura-nio, kituracontracts
[3600/6455] Fetching kitura-nio, kituracontracts, kitura-templateengine
[3959/6914] Fetching kitura-nio, kituracontracts, kitura-templateengine, typedecoder
[4876/10750] Fetching kitura-nio, kituracontracts, kitura-templateengine, typedecoder, swift-log
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.54s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.64s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.64s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.65s)
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (1.43s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.53s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.59s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2077] Fetching bluesslservice
[2078/78161] Fetching bluesslservice, swift-nio
[3600/93004] Fetching bluesslservice, swift-nio, swift-nio-ssl
[10076/98918] Fetching bluesslservice, swift-nio, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.84s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (3.84s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.88s)
Fetched https://github.com/apple/swift-nio.git from cache (4.70s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (5.18s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.68s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.46s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.16s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.95s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.58s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.70s)
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-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
[1591/7549] Fetching swift-asn1, swift-algorithms
[1830/13704] Fetching swift-asn1, swift-algorithms, swift-certificates
[2136/18689] Fetching swift-asn1, swift-algorithms, swift-certificates, swift-async-algorithms
[2727/21115] Fetching swift-asn1, swift-algorithms, swift-certificates, swift-async-algorithms, swift-service-lifecycle
[5033/22825] Fetching swift-asn1, swift-algorithms, swift-certificates, swift-async-algorithms, swift-service-lifecycle, swift-atomics
[5781/21235] Fetching swift-algorithms, swift-certificates, swift-async-algorithms, swift-service-lifecycle, swift-atomics
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.63s)
[18576/18809] Fetching swift-algorithms, swift-certificates, swift-async-algorithms, swift-atomics
Fetching https://github.com/apple/swift-http-types.git
[18810/19950] Fetching swift-algorithms, swift-certificates, swift-async-algorithms, swift-atomics, swift-http-structured-headers
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.87s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.89s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.90s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.90s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.49s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.40s)
[1/11527] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.22s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.74s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.96s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (4.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.05s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.74s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.55s)
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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.36.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.2.0
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 3.0.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.4.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.27.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.2.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.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.83.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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.3.0
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 3.1.1
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/442] Write sources
[21/442] Compiling CNIOLLHTTP c_nio_http.c
[22/442] Write sources
[24/442] Compiling CNIOLLHTTP c_nio_api.c
[24/442] Write sources
[28/442] Compiling CNIOWindows shim.c
[29/442] Compiling _AtomicsShims.c
[30/442] Compiling CNIOWindows WSAStartup.c
[31/442] Compiling CNIOWASI CNIOWASI.c
[32/442] Compiling CNIOSHA1 c_nio_sha1.c
[33/442] Compiling CNIOLinux shim.c
[34/442] Compiling CNIOLinux liburing_shims.c
[35/442] Compiling CNIODarwin shim.c
[36/442] Compiling fiat_p256_adx_sqr.S
[37/442] Compiling fiat_p256_adx_mul.S
[38/442] Compiling fiat_curve25519_adx_square.S
[39/442] Compiling fiat_curve25519_adx_mul.S
[40/442] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/x_pubkey.cc:22:
/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.
[41/442] Compiling x_pubkey.cc
[41/442] Compiling CNIOLLHTTP c_nio_llhttp.c
[41/442] Write swift-version-24593BA9C3E375BF.txt
[41/442] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/x_exten.cc:15:
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>
      |          ^~~~~~~~~~~
[41/442] Compiling x_exten.cc
[41/442] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/x_x509.cc:24:
/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>
      |          ^~~~~~~~~~~
[41/442] Compiling x_x509.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/x_name.cc:24:
/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>
      |          ^~~~~~~~~~~
[41/442] Compiling x_name.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
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.
[0/401] Compiling tls_record.cc
[0/401] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[0/401] Compiling tls_method.cc
[0/401] Compiling tls13_both.cc
[0/401] Compiling tls13_client.cc
[0/401] Write swift-version-24593BA9C3E375BF.txt
[0/401] Compiling tls13_enc.cc
[0/401] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm