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 4.5.2 (f35a86), with Swift 6.1 for Wasm on 29 May 2025 10:26:16 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/vapor/sqlite-kit.git
Reference: 4.5.2
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
 * tag               4.5.2      -> FETCH_HEAD
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 4.5.2
========================================
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-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/async-kit.git
[1/5983] Fetching sql-kit
[61/8353] Fetching sql-kit, async-kit
[2553/9861] Fetching sql-kit, async-kit, sqlite-nio
[8355/85954] Fetching sql-kit, async-kit, sqlite-nio, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (8.07s)
Fetched https://github.com/vapor/async-kit.git from cache (8.07s)
Fetched https://github.com/vapor/sqlite-nio.git from cache (8.09s)
Fetched https://github.com/apple/swift-nio.git from cache (8.25s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (12.10s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[577/20427] Fetching swift-log, swift-collections
[1088/26386] Fetching swift-log, swift-collections, swift-algorithms
Fetched https://github.com/apple/swift-log.git from cache (1.07s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.07s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (5.29s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.21s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.71s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.96s)
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 (0.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.12s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.3 (0.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.88s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[836/6101] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.78s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.13s)
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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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-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.5.0
Building for debugging...
[0/36] Write sources
[20/36] Compiling _NumericsShims _NumericsShims.c
[21/36] Compiling CNIOWindows WSAStartup.c
[22/36] Compiling CNIOWindows shim.c
[22/36] Compiling CNIOWASI CNIOWASI.c
[22/36] Compiling _AtomicsShims.c
[23/36] Write sources
[29/36] Compiling CNIOLinux liburing_shims.c
[30/36] Compiling CNIOLinux shim.c
[31/36] Compiling CNIODarwin shim.c
[32/36] Write swift-version-24593BA9C3E375BF.txt
[34/71] Emitting module _NIODataStructures
/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/71] Compiling CSQLite sqlite_nio_sqlite3.c
[34/71] Compiling c-atomics.c
[35/71] Emitting module RealModule
[35/71] Compiling c-nioatomics.c
[36/71] Emitting module _NIOBase64
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: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/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/54] Compiling RealModule Float80+Real.swift
[4/55] Compiling Atomics AtomicOptionalWrappable.swift
[5/55] Compiling Atomics AtomicReference.swift
[6/55] Compiling Atomics AtomicStorage.swift
[7/55] Compiling Atomics AtomicValue.swift
[8/55] Compiling RealModule Real.swift
[9/55] Compiling RealModule ElementaryFunctions.swift
[10/55] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/55] Compiling Atomics Primitives.native.swift
[12/55] Compiling Atomics OptionalRawRepresentable.swift
[13/55] Compiling _NIODataStructures PriorityQueue.swift
[14/55] Compiling _NIODataStructures _TinyArray.swift
[15/55] Compiling RealModule RealFunctions.swift
[16/55] Compiling RealModule Float+Real.swift
[17/55] Compiling RealModule Float16+Real.swift
[18/55] Compiling Atomics IntegerConformances.swift
[19/55] Compiling Atomics PointerConformances.swift
[20/55] Emitting module RealModule
[23/56] Compiling Atomics UnsafeAtomic.swift
[24/56] Compiling Atomics UnsafeAtomicLazyReference.swift
[25/58] Emitting module InternalCollectionsUtilities
[27/58] Compiling Atomics AtomicMemoryOrderings.swift
[28/58] Compiling Atomics DoubleWord.swift
[29/58] Compiling Atomics ManagedAtomic.swift
[30/58] Compiling Atomics ManagedAtomicLazyReference.swift
[33/58] Emitting module _NIOBase64
[34/58] Compiling _NIOBase64 Base64.swift
[36/64] Compiling Atomics RawRepresentable.swift
[37/64] Compiling Atomics AtomicBool.swift
[38/64] Compiling Atomics Primitives.shims.swift
[39/64] Compiling Atomics AtomicInteger.swift
[40/65] Compiling Atomics IntegerOperations.swift
[41/65] Compiling Atomics Unmanaged extensions.swift
[42/65] Emitting module _NIODataStructures
[43/65] Compiling _NIODataStructures Heap.swift
[44/66] Compiling Logging Locks.swift
[52/91] Compiling Logging MetadataProvider.swift
[54/91] Emitting module Logging
/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.
[54/214] Compiling CSQLite sqlite_nio_sqlite3.c
[55/214] Compiling Logging LogHandler.swift
[55/214] Compiling c-nioatomics.c
[55/214] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm