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 SimpleGraph, reference master (0e08d3), with Swift 6.1 for Android on 30 May 2025 09:20:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jomy10/SimpleGraph.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/Jomy10/SimpleGraph
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0e08d33 add dot graph output function
Submodule path 'Sources/SimpleGraph/simple-graph': checked out '5e375013b404846230cbe10b087239db7620f057'
Submodule 'Sources/SimpleGraph/simple-graph' (https://github.com/dpapathanasiou/simple-graph.git) registered for path 'Sources/SimpleGraph/simple-graph'
Cloning into '/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph'...
Cloned https://github.com/Jomy10/SimpleGraph.git
Revision (git rev-parse @):
0e08d3364ae9d4a01634aa72008df99b3d378baa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jomy10/SimpleGraph.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Jomy10/SimpleGraph.git
https://github.com/Jomy10/SimpleGraph.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jinja",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnmai-dev/Jinja.git"
    }
  ],
  "manifest_display_name" : "SimpleGraph",
  "name" : "SimpleGraph",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleGraph",
      "targets" : [
        "SimpleGraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSQLite3",
      "targets" : [
        "CSQLite3"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleGraphTests",
      "path" : "Tests/SimpleGraphTests",
      "sources" : [
        "SimpleGraphTest.swift"
      ],
      "target_dependencies" : [
        "SimpleGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleGraph",
      "module_type" : "SwiftTarget",
      "name" : "SimpleGraph",
      "path" : "Sources/SimpleGraph",
      "product_dependencies" : [
        "Jinja"
      ],
      "product_memberships" : [
        "SimpleGraph"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/delete-edge.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/delete-edges.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/delete-incoming-edges.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/delete-node.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/delete-outgoing-edges.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/insert-edge.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/insert-node.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/schema.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/search-edges-inbound.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/search-edges-outbound.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/search-edges.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/search-node.template",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/search-where.template",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/traverse.template",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/update-edge.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SimpleGraph/simple-graph/sql/update-node.sql",
          "rule" : {
            "embed_in_code" : {
            }
          }
        }
      ],
      "sources" : [
        "Node.swift",
        "SQLiteStatement.swift",
        "SimpleGraph+dot.swift",
        "SimpleGraph.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CSQLiteShim"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSQLiteShim",
      "module_type" : "SwiftTarget",
      "name" : "CSQLiteShim",
      "path" : "Sources/CSQLiteShim",
      "product_memberships" : [
        "SimpleGraph"
      ],
      "sources" : [
        "import.swift"
      ],
      "target_dependencies" : [
        "CSQLite3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSQLite3",
      "module_type" : "SystemLibraryTarget",
      "name" : "CSQLite3",
      "path" : "Sources/CSQLite3",
      "product_memberships" : [
        "SimpleGraph",
        "CSQLite3"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/johnmai-dev/Jinja.git
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja.git from cache (0.28s)
Computing version for https://github.com/johnmai-dev/Jinja.git
Computed https://github.com/johnmai-dev/Jinja.git at 1.2.0 (1.23s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.41s)
Creating working copy for https://github.com/johnmai-dev/Jinja.git
Working copy of https://github.com/johnmai-dev/Jinja.git resolved at 1.2.0
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
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
Building for debugging...
[0/7] Write sources
[4/7] Write embedded_resources.swift
[5/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/23] Compiling InternalCollectionsUtilities Descriptions.swift
[9/23] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[10/23] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/24] Emitting module CSQLiteShim
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/export.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSQLite3/include/export.h:4:10: error: 'sqlite3.h' file not found
2 | #define _SQLITE_SWIFT_EXPORT_H
3 |
4 | #include <sqlite3.h>
  |          `- error: 'sqlite3.h' file not found
5 |
6 | #endif
/host/spi-builder-workspace/Sources/CSQLiteShim/import.swift:6:19: error: could not build C module 'CSQLite3'
4 | @_exported import SQLite3
5 | #else
6 | @_exported import CSQLite3
  |                   `- error: could not build C module 'CSQLite3'
7 | #endif
8 |
[12/24] Compiling CSQLiteShim import.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/export.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSQLite3/include/export.h:4:10: error: 'sqlite3.h' file not found
2 | #define _SQLITE_SWIFT_EXPORT_H
3 |
4 | #include <sqlite3.h>
  |          `- error: 'sqlite3.h' file not found
5 |
6 | #endif
/host/spi-builder-workspace/Sources/CSQLiteShim/import.swift:6:19: error: could not build C module 'CSQLite3'
4 | @_exported import SQLite3
5 | #else
6 | @_exported import CSQLite3
  |                   `- error: could not build C module 'CSQLite3'
7 | #endif
8 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] Emitting module CSQLiteShim
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/export.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSQLite3/include/export.h:4:10: error: 'sqlite3.h' file not found
2 | #define _SQLITE_SWIFT_EXPORT_H
3 |
4 | #include <sqlite3.h>
  |          `- error: 'sqlite3.h' file not found
5 |
6 | #endif
/host/spi-builder-workspace/Sources/CSQLiteShim/import.swift:6:19: error: could not build C module 'CSQLite3'
4 | @_exported import SQLite3
5 | #else
6 | @_exported import CSQLite3
  |                   `- error: could not build C module 'CSQLite3'
7 | #endif
8 |
[4/18] Compiling CSQLiteShim import.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/export.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSQLite3/include/export.h:4:10: error: 'sqlite3.h' file not found
2 | #define _SQLITE_SWIFT_EXPORT_H
3 |
4 | #include <sqlite3.h>
  |          `- error: 'sqlite3.h' file not found
5 |
6 | #endif
/host/spi-builder-workspace/Sources/CSQLiteShim/import.swift:6:19: error: could not build C module 'CSQLite3'
4 | @_exported import SQLite3
5 | #else
6 | @_exported import CSQLite3
  |                   `- error: could not build C module 'CSQLite3'
7 | #endif
8 |
[5/18] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/18] Compiling InternalCollectionsUtilities Debugging.swift
[7/18] Compiling InternalCollectionsUtilities Descriptions.swift
[8/18] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
BUILD FAILURE 6.1 android