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 kineo-endpoint, reference master (1f4f11), with Swift 6.1 for Wasm on 27 May 2025 22:25:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/kasei/kineo-endpoint.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/kasei/kineo-endpoint
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1f4f114 Performance improvements when operating over datasets with many graphs.
Cloned https://github.com/kasei/kineo-endpoint.git
Revision (git rev-parse @):
1f4f1142176e4d2bd90ec940d822b939ce815522
SUCCESS checkout https://github.com/kasei/kineo-endpoint.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kasei/kineo-endpoint.git
https://github.com/kasei/kineo-endpoint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kineo",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.94",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/kineo.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "htmlstring",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "4.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/alexaubry/HTMLString"
    },
    {
      "identity" : "diomede",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.59",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/diomede.git"
    }
  ],
  "manifest_display_name" : "kineo-endpoint",
  "name" : "kineo-endpoint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "KineoEndpoint",
      "targets" : [
        "KineoEndpoint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "kineo-endpoint",
      "targets" : [
        "kineo-endpoint"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "kineo-create-db",
      "targets" : [
        "kineo-create-db"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "kineo_endpoint",
      "module_type" : "SwiftTarget",
      "name" : "kineo-endpoint",
      "path" : "Sources/kineo-endpoint",
      "product_dependencies" : [
        "Vapor"
      ],
      "product_memberships" : [
        "kineo-endpoint"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "KineoEndpoint"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "kineo_create_db",
      "module_type" : "SwiftTarget",
      "name" : "kineo-create-db",
      "path" : "Sources/kineo-create-db",
      "product_memberships" : [
        "kineo-create-db"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "KineoEndpoint"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "KineoEndpoint",
      "module_type" : "SwiftTarget",
      "name" : "KineoEndpoint",
      "path" : "Sources/KineoEndpoint",
      "product_dependencies" : [
        "Kineo",
        "Vapor",
        "DiomedeQuadStore",
        "HTMLString"
      ],
      "product_memberships" : [
        "KineoEndpoint",
        "kineo-endpoint",
        "kineo-create-db"
      ],
      "sources" : [
        "KineoEndpoint.swift",
        "SPARQLHTML.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/alexaubry/HTMLString
Fetching https://github.com/kasei/diomede.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/kasei/kineo.git
[1/6240] Fetching kineo
[688/7028] Fetching kineo, diomede
[782/8659] Fetching kineo, diomede, htmlstring
[8612/83037] Fetching kineo, diomede, htmlstring, vapor
Fetched https://github.com/kasei/diomede.git from cache (1.06s)
[16053/82249] Fetching kineo, htmlstring, vapor
Fetched https://github.com/kasei/kineo.git from cache (1.06s)
Fetched https://github.com/alexaubry/HTMLString from cache (1.07s)
[8926/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.99s)
Computing version for https://github.com/alexaubry/HTMLString
Computed https://github.com/alexaubry/HTMLString at 4.0.2 (7.91s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (1.13s)
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/template-kit.git
[1/919] Fetching service
[920/1300] Fetching service, url-encoded-form
[1195/2582] Fetching service, url-encoded-form, template-kit
[1814/5191] Fetching service, url-encoded-form, template-kit, websocket
[2266/5770] Fetching service, url-encoded-form, template-kit, websocket, validation
[2265/5191] Fetching service, url-encoded-form, template-kit, websocket
[2370/5770] Fetching service, url-encoded-form, template-kit, websocket, validation
[2402/26497] Fetching service, url-encoded-form, template-kit, websocket, validation, routing
Fetched https://github.com/vapor/service.git from cache (0.46s)
[3166/25578] Fetching url-encoded-form, template-kit, websocket, validation, routing
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/template-kit.git from cache (0.56s)
Fetching https://github.com/vapor/http.git
[7093/24296] Fetching url-encoded-form, websocket, validation, routing
Fetched https://github.com/vapor/validation.git from cache (0.71s)
[9416/23717] Fetching url-encoded-form, websocket, routing
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.72s)
Fetched https://github.com/vapor/websocket.git from cache (0.72s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/database-kit.git
[7048/20727] Fetching routing
[10987/24046] Fetching routing, multipart
[17057/49513] Fetching routing, multipart, http
[18331/50694] Fetching routing, multipart, http, database-kit
[19372/53480] Fetching routing, multipart, http, database-kit, crypto
Fetched https://github.com/vapor/database-kit.git from cache (0.49s)
[22513/52299] Fetching routing, multipart, http, crypto
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/crypto.git from cache (0.71s)
[25465/49513] Fetching routing, multipart, http
[33030/55090] Fetching routing, multipart, http, console
[47290/75233] Fetching routing, multipart, http, console, core
Fetched https://github.com/vapor/console.git from cache (0.88s)
[48091/69656] Fetching routing, multipart, http, core
Fetched https://github.com/vapor/routing.git from cache (2.43s)
[36252/48929] Fetching multipart, http, core
Fetched https://github.com/vapor/http.git from cache (2.49s)
[21272/23462] Fetching multipart, core
Fetched https://github.com/vapor/core.git from cache (1.79s)
[1892/3319] Fetching multipart
Fetched https://github.com/vapor/multipart.git from cache (3.17s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (4.42s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14843] Fetching swift-nio-ssl
[2673/90898] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.49s)
Fetched https://github.com/apple/swift-nio.git from cache (4.83s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (5.48s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.65s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.27s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.94s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.70s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.69s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.75s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.26s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.91s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (1.15s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.66s)
Computing version for https://github.com/kasei/diomede.git
Computed https://github.com/kasei/diomede.git at 0.0.66 (2.17s)
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/agisboye/CLMDB.git
[1/45] Fetching clmdb
[46/2528] Fetching clmdb, swift-sparql-syntax
[2529/15469] Fetching clmdb, swift-sparql-syntax, cryptoswift
Fetched https://github.com/agisboye/CLMDB.git from cache (1.53s)
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (1.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.56s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (2.19s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.66s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (1.03s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.96s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.84s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.84s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.11 (1.89s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.34s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (1.75s)
Computing version for https://github.com/kasei/kineo.git
Computed https://github.com/kasei/kineo.git at 0.0.108 (0.78s)
Fetching https://github.com/kasei/IDPPlanner.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/kylef/URITemplate.swift.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
[1/812] Fetching uritemplate.swift
[813/859] Fetching uritemplate.swift, idpplanner
[860/6818] Fetching uritemplate.swift, idpplanner, swift-algorithms
[5211/16583] Fetching uritemplate.swift, idpplanner, swift-algorithms, sqlite.swift
Fetched https://github.com/kasei/IDPPlanner.git from cache (0.35s)
[8139/16536] Fetching uritemplate.swift, swift-algorithms, sqlite.swift
Fetched https://github.com/kylef/URITemplate.swift.git from cache (0.42s)
[11428/15724] Fetching swift-algorithms, sqlite.swift
[14261/31075] Fetching swift-algorithms, sqlite.swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Fetched https://github.com/apple/swift-algorithms from cache (1.27s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.28s)
Computing version for https://github.com/kasei/IDPPlanner.git
Computed https://github.com/kasei/IDPPlanner.git at 0.0.5 (2.09s)
Computing version for https://github.com/kylef/URITemplate.swift.git
Computed https://github.com/kylef/URITemplate.swift.git at 3.0.1 (2.70s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[869/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Fetched https://github.com/kylef/PathKit.git from cache (0.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.19s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 0.1.1 (0.78s)
Fetching https://github.com/apple/swift-numerics
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.11.6 (1.32s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.32s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.26s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.00s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.62s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.56s)
Creating working copy for https://github.com/alexaubry/HTMLString
Working copy of https://github.com/alexaubry/HTMLString resolved at 4.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/kasei/kineo.git
Working copy of https://github.com/kasei/kineo.git resolved at 0.0.108
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/kasei/diomede.git
Working copy of https://github.com/kasei/diomede.git resolved at 0.0.66
Creating working copy for https://github.com/kasei/IDPPlanner.git
Working copy of https://github.com/kasei/IDPPlanner.git resolved at 0.0.5
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 0.1.1
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/kylef/URITemplate.swift.git
Working copy of https://github.com/kylef/URITemplate.swift.git resolved at 3.0.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.11.6
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.11
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
warning: 'kineo': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/kineo/Sources/Kineo/ext/Heap/LICENSE.txt
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/114] Write sources
[13/114] Compiling serd uri.c
[14/114] Compiling serd writer.c
[15/114] Compiling serd string.c
[16/114] Write sources
[17/114] Compiling serd env.c
[17/114] Write sources
[31/114] Compiling serd byte_source.c
[31/114] Compiling serd node.c
[33/114] Write sources
[46/114] Compiling serd reader.c
[47/114] Compiling _NumericsShims _NumericsShims.c
[48/114] Compiling CNIOZlib empty.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[49/114] Compiling CNIOOpenSSL shims.c
[49/114] Compiling LMDB midl.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[49/114] Compiling CNIOSHA1 c_nio_sha1.c
[49/114] Compiling CNIOLinux shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:137:10: fatal error: 'pthread.h' file not found
  137 | #include <pthread.h>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
[49/114] Compiling CNIOOpenSSL helpers.c
[49/114] Compiling LMDB mdb.c
[49/114] Compiling serd n3.c
[49/114] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
warning: 'kineo': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/kineo/Sources/Kineo/ext/Heap/LICENSE.txt
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/66] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[2/66] Compiling CNIOSHA1 c_nio_sha1.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[2/66] Compiling CNIOLinux shim.c
[2/66] Compiling CNIOOpenSSL shims.c
[2/66] Compiling LMDB midl.c
In file included from [2/66] Compiling CNIOOpenSSL helpers.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
[2/66] Compiling LMDB mdb.c
[2/66] Compiling serd n3.c
[2/66] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm