The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DrawThings, reference v26.1023.0 (0670fa), with Swift 6.2 for Wasm on 26 Oct 2026 09:42:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drawthingsai/draw-things-community.git
Reference: v26.1023.0
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/drawthingsai/draw-things-community
 * tag               v26.1023.0 -> FETCH_HEAD
HEAD is now at 0670fa6 Update dependencies.
Updating files:   9% (102/1125)
Updating files:  10% (113/1125)
Updating files:  11% (124/1125)
Updating files:  12% (135/1125)
Updating files:  13% (147/1125)
Updating files:  14% (158/1125)
Updating files:  15% (169/1125)
Updating files:  16% (180/1125)
Updating files:  17% (192/1125)
Updating files:  18% (203/1125)
Updating files:  19% (214/1125)
Updating files:  20% (225/1125)
Updating files:  21% (237/1125)
Updating files:  22% (248/1125)
Updating files:  23% (259/1125)
Updating files:  24% (270/1125)
Updating files:  25% (282/1125)
Updating files:  26% (293/1125)
Updating files:  27% (304/1125)
Updating files:  28% (315/1125)
Updating files:  29% (327/1125)
Updating files:  30% (338/1125)
Updating files:  31% (349/1125)
Updating files:  32% (360/1125)
Updating files:  33% (372/1125)
Updating files:  34% (383/1125)
Updating files:  35% (394/1125)
Updating files:  36% (405/1125)
Updating files:  37% (417/1125)
Updating files:  38% (428/1125)
Updating files:  39% (439/1125)
Updating files:  40% (450/1125)
Updating files:  41% (462/1125)
Updating files:  42% (473/1125)
Updating files:  43% (484/1125)
Updating files:  44% (495/1125)
Updating files:  45% (507/1125)
Updating files:  46% (518/1125)
Updating files:  47% (529/1125)
Updating files:  48% (540/1125)
Updating files:  49% (552/1125)
Updating files:  50% (563/1125)
Updating files:  51% (574/1125)
Updating files:  52% (585/1125)
Updating files:  53% (597/1125)
Updating files:  54% (608/1125)
Updating files:  55% (619/1125)
Updating files:  56% (630/1125)
Updating files:  57% (642/1125)
Updating files:  58% (653/1125)
Updating files:  59% (664/1125)
Updating files:  60% (675/1125)
Updating files:  61% (687/1125)
Updating files:  62% (698/1125)
Updating files:  63% (709/1125)
Updating files:  64% (720/1125)
Updating files:  65% (732/1125)
Updating files:  66% (743/1125)
Updating files:  67% (754/1125)
Updating files:  68% (765/1125)
Updating files:  69% (777/1125)
Updating files:  70% (788/1125)
Updating files:  71% (799/1125)
Updating files:  72% (810/1125)
Updating files:  73% (822/1125)
Updating files:  74% (833/1125)
Updating files:  75% (844/1125)
Updating files:  76% (855/1125)
Updating files:  77% (867/1125)
Updating files:  78% (878/1125)
Updating files:  79% (889/1125)
Updating files:  80% (900/1125)
Updating files:  81% (912/1125)
Updating files:  82% (923/1125)
Updating files:  83% (934/1125)
Updating files:  84% (945/1125)
Updating files:  85% (957/1125)
Updating files:  86% (968/1125)
Updating files:  87% (979/1125)
Updating files:  88% (990/1125)
Updating files:  89% (1002/1125)
Updating files:  90% (1013/1125)
Updating files:  91% (1024/1125)
Updating files:  92% (1035/1125)
Updating files:  93% (1047/1125)
Updating files:  94% (1058/1125)
Updating files:  95% (1069/1125)
Updating files:  96% (1080/1125)
Updating files:  97% (1092/1125)
Updating files:  98% (1103/1125)
Updating files:  99% (1114/1125)
Updating files: 100% (1125/1125)
Updating files: 100% (1125/1125), done.
Cloned https://github.com/drawthingsai/draw-things-community.git
Revision (git rev-parse @):
0670fa63531cae31766df7a50d9067b33d51c048
SUCCESS checkout https://github.com/drawthingsai/draw-things-community.git at v26.1023.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/drawthingsai/draw-things-community.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/liuliu/ccv.git
[1/46440] Fetching ccv
Fetched https://github.com/liuliu/ccv.git from cache (21.26s)
Fetching https://github.com/liuliu/s4nnc.git
[1/8788] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git from cache (0.70s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git from cache (0.62s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git from cache (0.39s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/129] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece from cache (0.35s)
Fetching https://github.com/kelvin13/swift-png
[1/7621] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png from cache (7.58s)
Fetching https://github.com/jpsim/Yams.git
[1/11878] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.07s)
Fetching https://github.com/weiyanlin117/swift-fpzip-support.git
[1/135] Fetching swift-fpzip-support
Fetched https://github.com/weiyanlin117/swift-fpzip-support.git from cache (0.36s)
Fetching https://github.com/apple/swift-protobuf.git
[1/55661] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (7.29s)
Fetching https://github.com/apple/swift-system.git
[1/7381] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Fetching https://github.com/google/flatbuffers.git
[1/100373] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (4.29s)
Fetching https://github.com/liuliu/swift-package-support-sentencepiece
[1/7649] Fetching swift-package-support-sentencepiece
Fetched https://github.com/liuliu/swift-package-support-sentencepiece from cache (1.68s)
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/jagreenwood/swift-log-datadog.git
[1/119] Fetching swift-sqlite3-support
[67/2008] Fetching swift-sqlite3-support, swift-atomics
[578/18902] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl
[1378/19197] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl, swift-log-datadog
[2633/25356] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl, swift-log-datadog, swift-algorithms
Fetched https://github.com/jagreenwood/swift-log-datadog.git from cache (0.45s)
Fetching https://github.com/apple/swift-argument-parser.git
[2568/25061] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl, swift-algorithms
[11538/54380] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl, swift-algorithms, swift-collections
[48225/73688] Fetching swift-sqlite3-support, swift-atomics, swift-nio-ssl, swift-algorithms, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.28s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-atomics.git from cache (1.34s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.34s)
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.34s)
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
[1/18859] Fetching swift-crypto
[567/21204] Fetching swift-crypto, swift-docc-plugin
[591/29577] Fetching swift-crypto, swift-docc-plugin, swift-log
[4299/36343] Fetching swift-crypto, swift-docc-plugin, swift-log, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
[16958/33998] Fetching swift-crypto, swift-log, swift-numerics
Fetching https://github.com/grpc/grpc-swift.git
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
[8841/25625] Fetching swift-crypto, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
[2264/18859] Fetching swift-crypto
[18860/70463] Fetching swift-crypto, grpc-swift
Fetched https://github.com/apple/swift-crypto.git from cache (1.27s)
[517/51604] Fetching grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (2.11s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (4.53s)
Computing version for https://github.com/jagreenwood/swift-log-datadog.git
Computed https://github.com/jagreenwood/swift-log-datadog.git at 0.3.0 (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.31s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.99s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.71s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.99s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (0.25s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[30/9577] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.51s)
[1/12294] Fetching swift-nio-http2
[12295/98985] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.06s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.06s)
[8670/86691] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.26s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (3.42s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.25s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[27/3245] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
[1/2886] Fetching swift-service-lifecycle
[2/10492] Fetching swift-service-lifecycle, swift-certificates
[2274/17313] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.70s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.71s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.71s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.71s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.86s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.19s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.46s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.14s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.32s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.19s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/liuliu/swift-sentencepiece
Working copy of https://github.com/liuliu/swift-sentencepiece resolved at 4c8baf1b03569428ab38dda7fdecf27886a16c1f
Creating working copy for https://github.com/liuliu/swift-package-support-sentencepiece
Working copy of https://github.com/liuliu/swift-package-support-sentencepiece resolved at 48f1241971c19dc79c314e5a9c5b9c38cbf25a53
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/liuliu/ccv.git
Working copy of https://github.com/liuliu/ccv.git resolved at 3564f9f53643d664800f1105781efde18b8f1c38
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/liuliu/swift-fickling.git
Working copy of https://github.com/liuliu/swift-fickling.git resolved at 5c982bf479c4cdf8c7f72002cd79ec88b553ab34
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 948991e19e795cdd7bd310756a97b5fbda559535
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/jagreenwood/swift-log-datadog.git
Working copy of https://github.com/jagreenwood/swift-log-datadog.git resolved at 0.3.0
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/liuliu/dflat.git
Working copy of https://github.com/liuliu/dflat.git resolved at 73925e51e4f44add842177a229f9990cb13711ff
Creating working copy for https://github.com/weiyanlin117/swift-fpzip-support.git
Working copy of https://github.com/weiyanlin117/swift-fpzip-support.git resolved at 0ec6d4668c9c83bc3da0f8b2d6dfc46da0b98609
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at fbd61a676d79cbde05cd4fda3cc46e94d6b8f0eb
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 2.37.5
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at d57a5aecf24a25b32ec4a74be2f5d0a995a47c4b
Creating working copy for https://github.com/kelvin13/swift-png
Working copy of https://github.com/kelvin13/swift-png resolved at 075dfb248ae327822635370e9d4f94a5d3fe93b2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/liuliu/s4nnc.git
Working copy of https://github.com/liuliu/s4nnc.git resolved at 1420a69f0df07c9b278c20b5f8e67a57a537780c
warning: 'spi-builder-workspace': dependency 'yams' is not used by any target
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Libraries/History/Sources/TextLibrary.swift
    /host/spi-builder-workspace/Libraries/History/Sources/ImageHistoryManager.swift
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/1720] Write sources
[32/1720] Compiling _AtomicsShims.c
[33/1720] Compiling _SQLiteDflatOSShim os.c
[34/1720] Write swift-version-24593BA9C3E375BF.txt
[35/1720] Compiling zero_copy_stream.cc
[36/1737] Compiling zero_copy_stream_impl.cc
[37/1745] Compiling hashtablez_sampler.cc
[38/1745] Compiling zero_copy_stream_impl_lite.cc
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43769:15: error: use of undeclared identifier 'PROT_READ'
 43769 |   int flags = PROT_READ;               /* Flags to pass to mmap() */
       |               ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43800:45: error: use of undeclared identifier 'MAP_SHARED'
 43800 |     pNew = osMmap(pReq, nNew-nReuse, flags, MAP_SHARED, h, nReuse);
       |                                             ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43801:15: error: use of undeclared identifier 'MAP_FAILED'
 43801 |     if( pNew!=MAP_FAILED ){
       |               ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43812:15: error: use of undeclared identifier 'MAP_FAILED'
 43812 |     if( pNew==MAP_FAILED || pNew==0 ){
       |               ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43819:35: error: use of undeclared identifier 'MAP_SHARED'
 43819 |     pNew = osMmap(0, nNew, flags, MAP_SHARED, h, 0);
       |                                   ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43822:13: error: use of undeclared identifier 'MAP_FAILED'
 43822 |   if( pNew==MAP_FAILED ){
       |             ^
6 errors generated.
[39/1745] Compiling SQLite3 sqlite3.c
[39/1745] Compiling C_Resources merges_qwen2.5_generated.c
[39/1745] Compiling C_Resources merges_qwen3.5_generated.c
[39/1745] Compiling C_Resources merges_mistral3_generated.c
BUILD FAILURE 6.2 wasm