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 SwiftSQLite, reference v1.1.3 (7a6057), with Swift 5.9 for Linux on 5 Dec 2024 13:41:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moshegottlieb/SwiftSQLite.git
Reference: v1.1.3
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/moshegottlieb/SwiftSQLite
 * tag               v1.1.3     -> FETCH_HEAD
HEAD is now at 7a60571 This test is for macOS only
Cloned https://github.com/moshegottlieb/SwiftSQLite.git
Revision (git rev-parse @):
7a60571977de2afdaa82b10ba977c562fe9e9944
SUCCESS checkout https://github.com/moshegottlieb/SwiftSQLite.git at v1.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/moshegottlieb/SwiftSQLite.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/23] Emitting module SwiftSQLCipher
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[2/24] Compiling SwiftSQLCipher SQLValue.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[3/24] Compiling SwiftSQLCipher SQLResult.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[4/24] Compiling SwiftSQLCipher Log.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[5/24] Compiling SwiftSQLCipher Date+SQL.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[6/24] Compiling SwiftSQLCipher DatabaseError.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[7/24] Compiling SwiftSQLite DatabaseError.swift
[8/24] Compiling SwiftSQLite Date+SQL.swift
[9/24] Compiling SwiftSQLite Database+Cipher.swift
[10/24] Compiling SwiftSQLite Database+Function.swift
[11/24] Compiling SwiftSQLite Database+Keychain.swift
[12/24] Compiling SwiftSQLite Database.swift
[13/24] Emitting module SwiftSQLite
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[16/25] Compiling SwiftSQLite Log.swift
[17/25] Compiling SwiftSQLite SQLValue.swift
[18/25] Compiling SwiftSQLite SQLResult.swift
[19/25] Compiling SwiftSQLCipher Statement.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
[20/25] Compiling SwiftSQLite Statement.swift
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
/host/spi-builder-workspace/Sources/CSQLCipherLinux/module.modulemap:3:12: error: header '/usr/include/sqlcipher/sqlite3.h' not found
    header "/usr/include/sqlcipher/sqlite3.h"
           ^
/host/spi-builder-workspace/Sources/SwiftSQLCipher/Database+Cipher.swift:12:8: error: could not build C module 'CSQLCipherLinux'
import CSQLCipherLinux
       ^
error: fatalError
BUILD FAILURE 5.9 linux