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 Dflat, reference unstable (73925e), with Swift 6.1 for Wasm on 11 Sep 2025 22:03:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/dflat.git
Reference: unstable
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/liuliu/dflat
 * branch            unstable   -> FETCH_HEAD
 * [new branch]      unstable   -> origin/unstable
HEAD is now at 73925e5 Turn trusted schema off.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
73925e51e4f44add842177a229f9990cb13711ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at unstable
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/liuliu/dflat.git
https://github.com/liuliu/dflat.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "flatbuffers",
      "requirement" : {
        "revision" : [
          "c92e78a9f841a6110ec27180d68d1f7f2afda21d"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/flatbuffers.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-sqlite3-support",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.47.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/liuliu/swift-sqlite3-support.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Dflat",
  "name" : "Dflat",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Dflat",
      "targets" : [
        "Dflat"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SQLiteDflat",
      "targets" : [
        "SQLiteDflat"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_SQLiteDflatOSShim",
      "module_type" : "ClangTarget",
      "name" : "_SQLiteDflatOSShim",
      "path" : "src/sqlite",
      "product_memberships" : [
        "SQLiteDflat"
      ],
      "sources" : [
        "os.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "src/tests",
      "sources" : [
        "AsyncTests.swift",
        "ConcurrencyTests.swift",
        "DictionaryTests.swift",
        "ExprTests.swift",
        "FetchTests.swift",
        "ObjectRepositoryTests.swift",
        "SQLiteWorkspaceCRUDTests.swift",
        "SchemaUpgradeTests.swift",
        "SerialTests.swift",
        "SubscribeTests.swift",
        "monster_data_model_generated.swift",
        "monster_generated.swift",
        "monster_mutating_generated.swift",
        "monster_query_generated.swift",
        "monster_v2_data_model_generated.swift",
        "monster_v2_generated.swift",
        "monster_v2_mutating_generated.swift",
        "monster_v2_query_generated.swift",
        "monster_v3_data_model_generated.swift",
        "monster_v3_generated.swift",
        "monster_v3_mutating_generated.swift",
        "monster_v3_query_generated.swift",
        "namespace.swift",
        "orb_weapon_data_model_generated.swift",
        "orb_weapon_generated.swift",
        "orb_weapon_mutating_generated.swift"
      ],
      "target_dependencies" : [
        "SQLiteDflat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteDflat",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteDflat",
      "path" : "src/sqlite",
      "product_dependencies" : [
        "SQLite3"
      ],
      "product_memberships" : [
        "SQLiteDflat"
      ],
      "sources" : [
        "OSShim.swift",
        "SQLiteAtom.swift",
        "SQLiteConnection.swift",
        "SQLiteConnectionPool.swift",
        "SQLiteExpr.swift",
        "SQLiteFetchedResult.swift",
        "SQLiteObjectRepository.swift",
        "SQLitePersistenceToolbox.swift",
        "SQLitePublisher.swift",
        "SQLiteQueryBuilder.swift",
        "SQLiteResultPublisher.swift",
        "SQLiteTableSpace.swift",
        "SQLiteTableState.swift",
        "SQLiteTransactionContext.swift",
        "SQLiteValue.swift",
        "SQLiteWorkspace.swift",
        "SQLiteWorkspaceDictionary.swift",
        "SQLiteWorkspaceState.swift",
        "dict/dict_data_model_generated.swift",
        "dict/dict_generated.swift",
        "dict/dict_mutating_generated.swift",
        "dict/dict_query_generated.swift"
      ],
      "target_dependencies" : [
        "Dflat",
        "_SQLiteDflatOSShim"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Dflat",
      "module_type" : "SwiftTarget",
      "name" : "Dflat",
      "path" : "src",
      "product_dependencies" : [
        "FlatBuffers",
        "Atomics"
      ],
      "product_memberships" : [
        "Dflat",
        "SQLiteDflat"
      ],
      "sources" : [
        "Atom.swift",
        "ChangeRequest.swift",
        "Expr.swift",
        "FetchedResult.swift",
        "FlatBuffersCodable.swift",
        "Publisher.swift",
        "QueryBuilder.swift",
        "SQLiteExpr.swift",
        "TransactionContext.swift",
        "Workspace.swift",
        "exprs/Addition.swift",
        "exprs/And.swift",
        "exprs/EqualTo.swift",
        "exprs/Field.swift",
        "exprs/In.swift",
        "exprs/IsNotNull.swift",
        "exprs/IsNull.swift",
        "exprs/LessThan.swift",
        "exprs/LessThanOrEqualTo.swift",
        "exprs/Mod.swift",
        "exprs/Not.swift",
        "exprs/NotEqualTo.swift",
        "exprs/NotIn.swift",
        "exprs/Or.swift",
        "exprs/Subtraction.swift",
        "exprs/Value.swift",
        "exprs/sqlite/SQLiteAddition.swift",
        "exprs/sqlite/SQLiteAnd.swift",
        "exprs/sqlite/SQLiteEqualTo.swift",
        "exprs/sqlite/SQLiteField.swift",
        "exprs/sqlite/SQLiteIn.swift",
        "exprs/sqlite/SQLiteIsNotNull.swift",
        "exprs/sqlite/SQLiteIsNull.swift",
        "exprs/sqlite/SQLiteLessThan.swift",
        "exprs/sqlite/SQLiteLessThanOrEqualTo.swift",
        "exprs/sqlite/SQLiteMod.swift",
        "exprs/sqlite/SQLiteNot.swift",
        "exprs/sqlite/SQLiteNotEqualTo.swift",
        "exprs/sqlite/SQLiteNotIn.swift",
        "exprs/sqlite/SQLiteOr.swift",
        "exprs/sqlite/SQLiteSubtraction.swift",
        "exprs/sqlite/SQLiteValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/google/flatbuffers.git
[1/88916] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (7.53s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/liuliu/swift-sqlite3-support.git
[1/119] Fetching swift-sqlite3-support
[66/1933] Fetching swift-sqlite3-support, swift-atomics
[666/4027] Fetching swift-sqlite3-support, swift-atomics, swift-docc-plugin
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.20s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (1.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.15s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
In file included from /host/spi-builder-workspace/src/sqlite/os.c:1:
/host/spi-builder-workspace/src/sqlite/include/os.h:1:10: fatal error: 'pthread.h' file not found
    1 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/20] Compiling _SQLiteDflatOSShim os.c
[6/20] Compiling _AtomicsShims.c
[6/20] Compiling SQLite3 sqlite3.c
[6/20] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/16] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/src/sqlite/os.c:1:
/host/spi-builder-workspace/src/sqlite/include/os.h:1:10: fatal error: 'pthread.h' file not found
    1 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[3/16] Compiling _SQLiteDflatOSShim os.c
[3/16] Compiling SQLite3 sqlite3.c
[3/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm