The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Dflat, reference v0.6.0 (2b98a6), with Swift 6.1 for Wasm on 28 May 2025 12:27:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/liuliu/dflat.git
Reference: v0.6.0
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
 * tag               v0.6.0     -> FETCH_HEAD
HEAD is now at 2b98a69 Fix subscription have the wrong type for Int / UInt in WorkspaceDictionary.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
2b98a697b63d44ce96bb9432fb746ef8d1e855be
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at v0.6.0
========================================
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.39.2",
            "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-4609320-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/google/flatbuffers.git
[1/87284] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (5.85s)
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-atomics.git
[1/2049] Fetching swift-docc-plugin
[247/2168] Fetching swift-docc-plugin, swift-sqlite3-support
[271/3878] Fetching swift-docc-plugin, swift-sqlite3-support, swift-atomics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
[111/119] Fetching swift-sqlite3-support
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.24s)
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.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[6/20] 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.
[7/20] Compiling _SQLiteDflatOSShim os.c
[7/20] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:29580:10: fatal error: 'pthread.h' file not found
 29580 | #include <pthread.h>
       |          ^~~~~~~~~~~
[7/20] Compiling SQLite3 sqlite3.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
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.
[2/15] Compiling _SQLiteDflatOSShim os.c
[2/15] Compiling SQLite3 sqlite3.c
[2/15] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm