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 Diomede, reference master (836a57), with Swift 6.1 for Wasm on 29 May 2025 21:33:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/diomede.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/diomede
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 836a57f Update to align with Xcode 16.1.
Cloned https://github.com/kasei/diomede.git
Revision (git rev-parse @):
836a57f10e722e6add58da6d3a2c1eae34b67a16
SUCCESS checkout https://github.com/kasei/diomede.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kasei/diomede.git
https://github.com/kasei/diomede.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.24",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/agisboye/CLMDB.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "swift-sparql-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/swift-sparql-syntax.git"
    }
  ],
  "manifest_display_name" : "Diomede",
  "name" : "Diomede",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Diomede",
      "targets" : [
        "Diomede"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DiomedeQuadStore",
      "targets" : [
        "DiomedeQuadStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "diomede-db-util",
      "targets" : [
        "diomede-db-util"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "diomede-cli",
      "targets" : [
        "diomede-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "diomede_db_util",
      "module_type" : "SwiftTarget",
      "name" : "diomede-db-util",
      "path" : "Sources/diomede-db-util",
      "product_memberships" : [
        "diomede-db-util"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "diomede_cli",
      "module_type" : "SwiftTarget",
      "name" : "diomede-cli",
      "path" : "Sources/diomede-cli",
      "product_memberships" : [
        "diomede-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "DiomedeQuadStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DiomedeTests",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeTests",
      "path" : "Tests/DiomedeTests",
      "sources" : [
        "DiomedeCharacteristicSetTests.swift",
        "DiomedeQuadStorePerformance.swift",
        "DiomedeTests.swift",
        "DiomedeTypeSetTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Diomede",
        "DiomedeQuadStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiomedeQuadStore",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeQuadStore",
      "path" : "Sources/DiomedeQuadStore",
      "product_dependencies" : [
        "CryptoSwift",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "DiomedeQuadStore",
        "diomede-cli"
      ],
      "sources" : [
        "CharacteristicSets.swift",
        "QuadStore.swift",
        "RDFExtensions.swift",
        "TypeSets.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Diomede",
      "module_type" : "SwiftTarget",
      "name" : "Diomede",
      "path" : "Sources/Diomede",
      "product_dependencies" : [
        "LMDB",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "Diomede",
        "DiomedeQuadStore",
        "diomede-db-util",
        "diomede-cli"
      ],
      "sources" : [
        "DataEncoding.swift",
        "Diomede.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/kasei/swift-sparql-syntax.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.90s)
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (1.90s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.93s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (2.49s)
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/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.11 (1.33s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.40s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.95s)
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
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Building for debugging...
[0/27] Write sources
[4/27] Compiling serd reader.c
[5/27] Compiling serd byte_source.c
[6/27] Compiling serd string.c
[6/27] Compiling serd uri.c
[8/27] Write sources
[10/27] Compiling serd writer.c
[11/27] Compiling serd env.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>
      |          ^~~~~~~~~~~
2 errors generated.
[12/27] Compiling LMDB mdb.c
[12/27] Compiling serd node.c
[12/27] Compiling serd n3.c
[12/27] Compiling LMDB midl.c
[12/27] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[0/1] Planning build
Building for debugging...
[0/15] Compiling LMDB midl.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>
      |          ^~~~~~~~~~~
2 errors generated.
[1/15] Compiling LMDB mdb.c
[1/15] Compiling serd n3.c
[1/15] Compiling serd node.c
[1/15] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm