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 HexavilleFramework, reference master (dfa23f), with Swift 6.1 for Wasm on 27 May 2025 14:23:10 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/noppoman/hexavilleframework.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/noppoman/hexavilleframework
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dfa23fd Merge pull request #28 from johnmorrell/patch-1
Cloned https://github.com/noppoman/hexavilleframework.git
Revision (git rev-parse @):
dfa23fdcba5796f7b1bbdff0369a9cdec7006059
SUCCESS checkout https://github.com/noppoman/hexavilleframework.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/noppoman/hexavilleframework.git
https://github.com/noppoman/hexavilleframework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    }
  ],
  "manifest_display_name" : "HexavilleFramework",
  "name" : "HexavilleFramework",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HexavilleFramework",
      "targets" : [
        "HexavilleFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "hexaville-framework-example",
      "targets" : [
        "HexavilleFrameworkExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HexavilleFrameworkTests",
      "module_type" : "SwiftTarget",
      "name" : "HexavilleFrameworkTests",
      "path" : "Tests/HexavilleFrameworkTests",
      "sources" : [
        "HexavilleFrameworkTests.swift",
        "HostResolverTests.swift",
        "RouterTests.swift"
      ],
      "target_dependencies" : [
        "HexavilleFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HexavilleFrameworkExample",
      "module_type" : "SwiftTarget",
      "name" : "HexavilleFrameworkExample",
      "path" : "Sources/HexavilleFrameworkExample",
      "product_memberships" : [
        "hexaville-framework-example"
      ],
      "sources" : [
        "RandomNumberGenerateMiddleware.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HexavilleFramework"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HexavilleFramework",
      "module_type" : "SwiftTarget",
      "name" : "HexavilleFramework",
      "path" : "Sources/HexavilleFramework",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOSSL",
        "NIOFoundationCompat",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "HexavilleFramework",
        "hexaville-framework-example"
      ],
      "sources" : [
        "AssetLoader.swift",
        "Core/ByteBuffer.swift",
        "Core/HTTP/HTTPServer.swift",
        "Core/HTTP/MediaType/MediaType.swift",
        "Core/HTTP/Message/AttributedCookie.swift",
        "Core/HTTP/Message/Body+ByteBuffer.swift",
        "Core/HTTP/Message/Body+Data.swift",
        "Core/HTTP/Message/Body.swift",
        "Core/HTTP/Message/Cookie.swift",
        "Core/HTTP/Message/HTTPHeaders.swift",
        "Core/HTTP/Message/Message.swift",
        "Core/HTTP/Message/Request.swift",
        "Core/HTTP/Message/Response.swift",
        "Core/String/CaseInsensitiveString.swift",
        "Core/String/String.swift",
        "Error.swift",
        "FileHandle.swift",
        "HTTPMethod.swift",
        "HexavilleFramework.swift",
        "HostResolver.swift",
        "Logger.swift",
        "Middleware.swift",
        "Regex.swift",
        "Router.swift",
        "Session/Session.swift",
        "Session/SessionMemoryStore.swift",
        "Session/SessionMiddleware.swift",
        "Session/SessionStoreProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5074] Fetching swiftcli
[3503/19917] Fetching swiftcli, swift-nio-ssl
[6658/95959] Fetching swiftcli, swift-nio-ssl, swift-nio
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (3.09s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.13s)
[57792/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.14s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (9.89s)
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.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.85s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[1494/6101] Fetching swift-system, swift-atomics
[6068/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.50s)
Fetched https://github.com/apple/swift-system.git from cache (1.50s)
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.67s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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/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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/449] Write sources
[7/449] Write swift-version-24593BA9C3E375BF.txt
[8/449] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bytestring/cbb.cc:24:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bytestring/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[9/470] Compiling cbb.cc
[9/470] Compiling asn1_compat.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bytestring/cbs.cc:25:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bytestring/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[9/470] Compiling cbs.cc
[9/470] Compiling unicode.cc
[9/470] Compiling v3_crld.cc
[9/470] Compiling v3_cpols.cc
[9/470] Compiling ber.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: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/440] Write sources
[9/441] Compiling CNIOWindows shim.c
[10/441] Compiling CNIOWindows WSAStartup.c
[10/441] Compiling CNIOWASI CNIOWASI.c
[12/441] Compiling _AtomicsShims.c
[13/441] Compiling CNIOLinux liburing_shims.c
[13/441] Compiling CNIOLinux shim.c
[15/441] Compiling CNIODarwin shim.c
[16/441] Compiling CNIOLLHTTP c_nio_http.c
[17/441] Compiling CNIOLLHTTP c_nio_api.c
[18/441] Write swift-version-24593BA9C3E375BF.txt
[19/441] Compiling fiat_p256_adx_mul.S
[20/441] Compiling fiat_p256_adx_sqr.S
[21/441] Compiling fiat_curve25519_adx_mul.S
[21/441] Compiling fiat_curve25519_adx_square.S
[23/441] Compiling CNIOBoringSSLShims shims.c
[24/501] Compiling CNIOLLHTTP c_nio_llhttp.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.
[25/501] Compiling tls_method.cc
[25/501] Compiling tls13_server.cc
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>
      |          ^~~~~~~~~~~
[25/501] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm