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 HexavilleAuth, reference 1.0.0-rc.1 (544237), with Swift 6.1 for Wasm on 27 May 2025 06:34:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/hexaville/hexavilleauth.git
Reference: 1.0.0-rc.1
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/hexaville/hexavilleauth
 * tag               1.0.0-rc.1 -> FETCH_HEAD
HEAD is now at 544237e Merge pull request #15 from Hexaville/hexaville-framework@1.x
Cloned https://github.com/hexaville/hexavilleauth.git
Revision (git rev-parse @):
544237e29170389aa5cb6c3474a24a01a8fd7e46
SUCCESS checkout https://github.com/hexaville/hexavilleauth.git at 1.0.0-rc.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hexaville/hexavilleauth.git
https://github.com/hexaville/hexavilleauth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "hexavilleframework",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-rc.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/noppoMan/HexavilleFramework.git"
    }
  ],
  "manifest_display_name" : "HexavilleAuth",
  "name" : "HexavilleAuth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HexavilleAuth",
      "targets" : [
        "HexavilleAuth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "hexaville-todo-example",
      "targets" : [
        "HexavilleAuthExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HexavilleAuthExample",
      "module_type" : "SwiftTarget",
      "name" : "HexavilleAuthExample",
      "path" : "Sources/HexavilleAuthExample",
      "product_memberships" : [
        "hexaville-todo-example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HexavilleAuth"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HexavilleAuth",
      "module_type" : "SwiftTarget",
      "name" : "HexavilleAuth",
      "path" : "Sources/HexavilleAuth",
      "product_dependencies" : [
        "HexavilleFramework"
      ],
      "product_memberships" : [
        "HexavilleAuth",
        "hexaville-todo-example"
      ],
      "sources" : [
        "AuthenticationMiddleware.swift",
        "Base64.swift",
        "Credential.swift",
        "HMAC.swift",
        "HTTPClient.swift",
        "HexaviileAuth.swift",
        "HexavilleAuth+Router.swift",
        "LoginUser.swift",
        "OAuth/OAuth1.swift",
        "OAuth/OAuth2.swift",
        "Providers/CallbackURL.swift",
        "Providers/OAuth1/TwitterAuthorizationProvider.swift",
        "Providers/OAuth1AuthorizationProvidable.swift",
        "Providers/OAuth2/FacebookAuthorizationProvider.swift",
        "Providers/OAuth2/GithubAuthorizationProvider.swift",
        "Providers/OAuth2/GoogleAuthorizationProvider.swift",
        "Providers/OAuth2/InstagramAuthorizationProvider.swift",
        "Providers/OAuth2AuthorizationProvidable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/noppoMan/HexavilleFramework.git
[1/429] Fetching hexavilleframework
Fetched https://github.com/noppoMan/HexavilleFramework.git from cache (0.23s)
Computing version for https://github.com/noppoMan/HexavilleFramework.git
Computed https://github.com/noppoMan/HexavilleFramework.git at 1.0.1 (3.27s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/76037] Fetching swift-nio
[762/90880] Fetching swift-nio, swift-nio-ssl
[3768/95954] Fetching swift-nio, swift-nio-ssl, swiftcli
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.80s)
[59821/81111] Fetching swift-nio, swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (4.82s)
Fetched https://github.com/apple/swift-nio.git from cache (4.91s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (6.44s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.99s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/16591] Fetching swift-collections
[167/18301] Fetching swift-collections, swift-atomics
[1196/22692] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[8705/20982] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.22s)
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/noppoMan/HexavilleFramework.git
Working copy of https://github.com/noppoMan/HexavilleFramework.git resolved at 1.0.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.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.4.2
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.3.3
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
Building for debugging...
[0/451] Write sources
[6/451] Compiling _AtomicsShims.c
[7/451] Write sources
[19/451] Compiling sha256-x86_64-apple.S
[20/451] Compiling sha256-armv8-win.S
[21/451] Compiling chacha-x86_64-apple.S
[22/451] Compiling CNIOWindows shim.c
[23/451] Compiling CNIOWindows WSAStartup.c
[24/451] Compiling CNIOWASI CNIOWASI.c
[25/451] Compiling CNIOLinux shim.c
[25/451] Compiling CNIOLinux liburing_shims.c
[27/451] Write swift-version-24593BA9C3E375BF.txt
[28/451] Compiling CNIOLLHTTP c_nio_http.c
[29/451] Compiling CNIODarwin shim.c
[30/451] Compiling CNIOLLHTTP c_nio_api.c
[31/457] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[32/457] Compiling a_bitstr.cc
[32/457] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/458] Compiling c-atomics.c
[32/458] Compiling c-nioatomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/420] Compiling fiat_p256_adx_mul.S
[1/420] Compiling fiat_curve25519_adx_mul.S
[2/420] Compiling fiat_p256_adx_sqr.S
[3/420] Compiling fiat_curve25519_adx_square.S
[4/420] 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>
      |          ^~~~~~~~~~~
1 error generated.
[5/420] Compiling tls_record.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.
[5/420] Compiling tls13_enc.cc
[5/420] Compiling tls13_both.cc
[5/420] Compiling tls_method.cc
[5/420] Compiling tls13_client.cc
[5/420] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/420] Compiling tls13_server.cc
[5/420] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm