The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LKDBHelper, reference master (f2b428), with Swift 6.1 for Linux on 22 Sep 2025 13:38:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/li6185377/LKDBHelper-SQLite-ORM.git
Reference: master
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/li6185377/LKDBHelper-SQLite-ORM
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f2b4289 [fix] 修改 FMDB 依赖,保障能正确引用 SQLCipher
Cloned https://github.com/li6185377/LKDBHelper-SQLite-ORM.git
Revision (git rev-parse @):
f2b42894ccd076b83c6cf6d7787d5b55c2929d1c
SUCCESS checkout https://github.com/li6185377/LKDBHelper-SQLite-ORM.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/li6185377/LKDBHelper-SQLite-ORM.git
https://github.com/li6185377/LKDBHelper-SQLite-ORM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fmdb",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.12",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ccgus/fmdb.git"
    }
  ],
  "manifest_display_name" : "LKDBHelper",
  "name" : "LKDBHelper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LKDBHelper",
      "targets" : [
        "LKDBHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LKDBHelper",
      "module_type" : "ClangTarget",
      "name" : "LKDBHelper",
      "path" : "LKDBHelper/Helper",
      "product_dependencies" : [
        "FMDB"
      ],
      "product_memberships" : [
        "LKDBHelper"
      ],
      "sources" : [
        "LKDB+Mapping.m",
        "LKDBHelper.m",
        "LKDBUtils.m",
        "NSObject+LKDBHelper.m",
        "NSObject+LKModel.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ccgus/fmdb.git
[1/5035] Fetching fmdb
Fetched https://github.com/ccgus/fmdb.git from cache (1.01s)
Computing version for https://github.com/ccgus/fmdb.git
Computed https://github.com/ccgus/fmdb.git at 2.7.12 (1.53s)
Creating working copy for https://github.com/ccgus/fmdb.git
Working copy of https://github.com/ccgus/fmdb.git resolved at 2.7.12
Building for debugging...
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.m:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling LKDBHelper LKDBUtils.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKDBHelper.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling LKDBHelper NSObject+LKDBHelper.m
[0/5] Compiling LKDBHelper LKDB+Mapping.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKModel.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling LKDBHelper NSObject+LKModel.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling LKDBHelper LKDBHelper.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.m:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling LKDBHelper LKDBUtils.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling LKDBHelper LKDB+Mapping.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKDBHelper.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling LKDBHelper LKDBHelper.m
[0/5] Compiling LKDBHelper NSObject+LKDBHelper.m
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/NSObject+LKModel.m:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDBHelper.h:9:
In file included from /host/spi-builder-workspace/LKDBHelper/Helper/LKDB+Mapping.h:9:
/host/spi-builder-workspace/LKDBHelper/Helper/LKDBUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling LKDBHelper NSObject+LKModel.m
BUILD FAILURE 6.1 linux