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 1.0.1 (dfa23f), with Swift 6.1 for Wasm on 27 May 2025 14:23:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.0.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/noppoman/hexavilleframework
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
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-3":/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/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[5075/81116] Fetching swiftcli, swift-nio
[5076/95959] Fetching swiftcli, swift-nio, swift-nio-ssl
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (2.56s)
[88604/90885] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.58s)
[76042/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.82s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (7.29s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (2.07s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.06s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[925/6101] Fetching swift-atomics, swift-system
[3129/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
[8539/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.18s)
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-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-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-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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/449] Write sources
[16/449] Compiling CNIOWindows shim.c
[17/449] Compiling CNIOWindows WSAStartup.c
[18/449] Compiling _AtomicsShims.c
[19/449] Compiling CNIOWASI CNIOWASI.c
[20/449] Compiling CNIOLinux shim.c
[21/449] Compiling CNIOLinux liburing_shims.c
[22/449] Compiling CNIOLLHTTP c_nio_http.c
[23/449] Compiling CNIODarwin shim.c
[24/449] Compiling CNIOLLHTTP c_nio_api.c
[25/449] Compiling fiat_p256_adx_sqr.S
[26/449] Compiling fiat_p256_adx_mul.S
[27/449] Compiling fiat_curve25519_adx_square.S
[28/449] Compiling fiat_curve25519_adx_mul.S
[29/449] Compiling CNIOBoringSSLShims shims.c
[30/449] Compiling rsa_print.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/tasn_dec.cc:22:
/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.
[31/449] Compiling tasn_dec.cc
[31/449] Compiling tls13_server.cc
[31/449] Compiling CNIOLLHTTP c_nio_llhttp.c
[31/449] Compiling tasn_enc.cc
[31/449] Write swift-version-24593BA9C3E375BF.txt
[31/449] Compiling tls_method.cc
[31/449] Compiling tls_record.cc
[31/449] Compiling tasn_fre.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/418] Write sources
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.
[1/418] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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/418] Compiling tls13_both.cc
[1/418] Compiling CNIOLLHTTP c_nio_llhttp.c
[1/418] Compiling tls13_enc.cc
[1/418] Compiling tls13_client.cc
[1/418] Compiling t1_enc.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>
      |          ^~~~~~~~~~~
[1/418] Compiling tls_record.cc
[1/418] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm