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 sqlite-kit, reference main (f35a86), with Swift 6.1 for Wasm on 29 May 2025 10:26:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/vapor/sqlite-kit.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/sqlite-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f35a863 Use structured logging (metadata) when logging queries (#110)
Cloned https://github.com/vapor/sqlite-kit.git
Revision (git rev-parse @):
f35a863ecc2da5d563b836a9a696b148b0f4169f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/sqlite-kit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/sqlite-kit.git
https://github.com/vapor/sqlite-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.65.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "sqlite-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sqlite-nio.git"
    },
    {
      "identity" : "sql-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.29.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sql-kit.git"
    },
    {
      "identity" : "async-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.19.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/async-kit.git"
    }
  ],
  "manifest_display_name" : "sqlite-kit",
  "name" : "sqlite-kit",
  "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" : "SQLiteKit",
      "targets" : [
        "SQLiteKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLiteKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteKitTests",
      "path" : "Tests/SQLiteKitTests",
      "product_dependencies" : [
        "SQLKitBenchmark"
      ],
      "sources" : [
        "SQLiteKitTests.swift"
      ],
      "target_dependencies" : [
        "SQLiteKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteKit",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteKit",
      "path" : "Sources/SQLiteKit",
      "product_dependencies" : [
        "NIOFoundationCompat",
        "AsyncKit",
        "SQLiteNIO",
        "SQLKit"
      ],
      "product_memberships" : [
        "SQLiteKit"
      ],
      "sources" : [
        "Exports.swift",
        "SQLiteConfiguration.swift",
        "SQLiteConnection+SQLKit.swift",
        "SQLiteConnectionSource.swift",
        "SQLiteDataDecoder.swift",
        "SQLiteDataEncoder.swift",
        "SQLiteDialect.swift",
        "SQLiteRow+SQLRow.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-nio.git
[1/2370] Fetching async-kit
[2371/8353] Fetching async-kit, sql-kit
Fetching https://github.com/vapor/sqlite-nio.git
Fetched https://github.com/vapor/async-kit.git from cache (0.62s)
[2035/5983] Fetching sql-kit
[5984/82076] Fetching sql-kit, swift-nio
[9028/83584] Fetching sql-kit, swift-nio, sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (4.08s)
[82076/82076] Fetching sql-kit, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (9.99s)
Fetched https://github.com/apple/swift-nio.git from cache (10.22s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (14.15s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/20427] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
[2821/16591] Fetching swift-collections
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-collections.git from cache (2.32s)
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.22s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.87s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.27s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.3 (1.06s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.60s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-system.git from cache (1.19s)
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.04s)
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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.0.3
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.11.3
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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.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
Building for debugging...
[0/36] Write sources
[21/36] Compiling CNIOWindows shim.c
[22/36] Compiling _NumericsShims _NumericsShims.c
[23/36] Compiling CNIOWindows WSAStartup.c
[23/36] Compiling _AtomicsShims.c
[23/36] Compiling CNIOWASI CNIOWASI.c
[26/36] Write sources
[29/36] Compiling CNIOLinux liburing_shims.c
[29/36] Compiling CNIOLinux shim.c
[31/36] Compiling CNIODarwin shim.c
[32/36] Write swift-version-24593BA9C3E375BF.txt
[34/71] Emitting module InternalCollectionsUtilities
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29705:10: fatal error: 'pthread.h' file not found
 29705 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[34/72] Compiling CSQLite sqlite_nio_sqlite3.c
[35/72] Emitting module _NIOBase64
[35/72] Compiling c-nioatomics.c
[35/72] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/39] Emitting module _NIOBase64
[3/39] Emitting module RealModule
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29705:10: fatal error: 'pthread.h' file not found
 29705 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[3/40] Compiling CSQLite sqlite_nio_sqlite3.c
[3/40] Compiling c-nioatomics.c
[3/40] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm