The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fluent-sqlite-driver, reference main (e227d9), with Swift 6.1 for Wasm on 28 Mar 2026 03:25:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/vapor/fluent-sqlite-driver.git
Reference: main
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/vapor/fluent-sqlite-driver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e227d94 Update for Swift 6.3 release (#100)
Cloned https://github.com/vapor/fluent-sqlite-driver.git
Revision (git rev-parse @):
e227d94dc3fe7099a096ac2ca28cad1f69bd8d5b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-sqlite-driver.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/fluent-sqlite-driver.git
https://github.com/vapor/fluent-sqlite-driver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fluent-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.51.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-kit.git"
    },
    {
      "identity" : "sqlite-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sqlite-kit.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "fluent-sqlite-driver",
  "name" : "fluent-sqlite-driver",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FluentSQLiteDriver",
      "targets" : [
        "FluentSQLiteDriver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluentSQLiteDriverTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentSQLiteDriverTests",
      "path" : "Tests/FluentSQLiteDriverTests",
      "product_dependencies" : [
        "FluentBenchmark"
      ],
      "sources" : [
        "FluentSQLiteDriverTests.swift"
      ],
      "target_dependencies" : [
        "FluentSQLiteDriver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentSQLiteDriver",
      "module_type" : "SwiftTarget",
      "name" : "FluentSQLiteDriver",
      "path" : "Sources/FluentSQLiteDriver",
      "product_dependencies" : [
        "FluentKit",
        "FluentSQL",
        "Logging",
        "SQLiteKit"
      ],
      "product_memberships" : [
        "FluentSQLiteDriver"
      ],
      "sources" : [
        "Exports.swift",
        "FluentSQLiteConfiguration.swift",
        "FluentSQLiteDatabase.swift",
        "FluentSQLiteDriver.swift",
        "SQLiteConverterDelegate.swift",
        "SQLiteError+Database.swift",
        "SQLiteRow+Database.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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-log.git
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/vapor/sqlite-kit.git
[1/2157] Fetching sqlite-kit
[411/16092] Fetching sqlite-kit, fluent-kit
[830/22380] Fetching sqlite-kit, fluent-kit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
Fetched https://github.com/vapor/fluent-kit.git from cache (1.52s)
Fetched https://github.com/vapor/sqlite-kit.git from cache (1.52s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (2.63s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/apple/swift-nio.git
[1/6197] Fetching sql-kit
[559/8693] Fetching sql-kit, async-kit
[8694/91640] Fetching sql-kit, async-kit, swift-nio
[12012/93460] Fetching sql-kit, async-kit, swift-nio, sqlite-nio
Fetched https://github.com/vapor/sql-kit.git from cache (10.83s)
Fetched https://github.com/vapor/async-kit.git from cache (10.85s)
Fetched https://github.com/vapor/sqlite-nio.git from cache (10.90s)
Fetched https://github.com/apple/swift-nio.git from cache (11.06s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (12.06s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/6058] Fetching swift-algorithms
[244/29303] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (2.39s)
Fetched https://github.com/apple/swift-collections.git from cache (2.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (3.52s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.70s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1093/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Fetched https://github.com/apple/swift-system.git from cache (0.90s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.96s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.01s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.56.0 (1.06s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/1210] Fetching swift-service-context
[14/3896] Fetching swift-service-context, swift-service-lifecycle
[1280/9587] Fetching swift-service-context, swift-service-lifecycle, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git from cache (0.77s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.78s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.78s)
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 (3.77s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6224] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.01s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (3.07s)
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.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 (1.40s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.35.0 (1.16s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.12.6 (1.02s)
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/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.35.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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/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/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
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/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.12.6
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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.56.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.97.1
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
Building for debugging...
[0/50] Write sources
[30/50] Compiling _NumericsShims _NumericsShims.c
[31/50] Compiling _CWASI _CWASI.c
[32/50] Compiling CNIOWindows WSAStartup.c
[32/50] Compiling _AtomicsShims.c
[34/50] Compiling CNIOOpenBSD shim.c
[35/50] Compiling CNIOWindows shim.c
[36/50] Compiling CNIOWASI CNIOWASI.c
[37/50] Compiling CNIOPosix event_loop_id.c
[38/50] Write sources
[43/50] Compiling CNIOLinux shim.c
[44/50] Compiling CNIOLinux liburing_shims.c
[45/50] Compiling CNIODarwin shim.c
[46/50] Write swift-version-24593BA9C3E375BF.txt
[48/75] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:30177:10: fatal error: 'pthread.h' file not found
 30177 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[48/75] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[48/75] Compiling c-nioatomics.c
[48/75] Compiling c-atomics.c
[49/75] Emitting module _NIOBase64
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/VaporCSQLite/sqlite_nio_sqlite3.c:30177:10: fatal error: 'pthread.h' file not found
 30177 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[0/4] Compiling VaporCSQLite sqlite_nio_sqlite3.c
[0/4] Write swift-version-24593BA9C3E375BF.txt
[0/4] Compiling c-nioatomics.c
[0/4] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm