The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleGraph, reference master (0e08d3), with Swift 6.1 for Wasm on 30 May 2025 09:20:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/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:         wasm
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-3":/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 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/johnmai-dev/Jinja.git
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja.git from cache (0.24s)
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.64s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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
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 UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/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 |
[11/24] Compiling InternalCollectionsUtilities Descriptions.swift
[12/24] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[14/24] Compiling InternalCollectionsUtilities Debugging.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] 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 |
[3/17] 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 |
[4/17] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[5/17] Compiling InternalCollectionsUtilities Debugging.swift
[6/18] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/18] Compiling InternalCollectionsUtilities Descriptions.swift
[8/18] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
BUILD FAILURE 6.1 wasm