Build Information
Failed to build media-generation-kit, reference main (ee4117), with Swift 6.2 for Wasm on 9 Apr 2026 22:39:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drawthingsai/media-generation-kit.git
Reference: main
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/media-generation-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ee41179 MGKCLI will print edit compute units
Cloned https://github.com/drawthingsai/media-generation-kit.git
Revision (git rev-parse @):
ee41179f1c21853e2cf3ccb9b4d63a4f0fe9d352
SUCCESS checkout https://github.com/drawthingsai/media-generation-kit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/drawthingsai/media-generation-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/drawthingsai/draw-things-community.git
[1/16420] Fetching draw-things-community
Fetched https://github.com/drawthingsai/draw-things-community.git from cache (6.61s)
Fetching https://github.com/liuliu/ccv.git
[1/39546] Fetching ccv
Fetched https://github.com/liuliu/ccv.git from cache (44.21s)
Fetching https://github.com/liuliu/s4nnc.git
[1/7706] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git from cache (0.90s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git from cache (3.69s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git from cache (4.33s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/118] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece from cache (2.71s)
Fetching https://github.com/kelvin13/swift-png
[1/7465] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png from cache (6.39s)
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.43s)
Fetching https://github.com/apple/swift-protobuf.git
[1/43253] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (7.41s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Fetching https://github.com/google/flatbuffers.git
[1/98852] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (7.25s)
Fetching https://github.com/weiyanlin117/swift-package-support-sentencepiece
[1/6025] Fetching swift-package-support-sentencepiece
Fetched https://github.com/weiyanlin117/swift-package-support-sentencepiece from cache (3.27s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
[1/119] Fetching swift-sqlite3-support
[38/1939] Fetching swift-sqlite3-support, swift-atomics
[668/7997] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms
[790/31520] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-collections
[1086/37936] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-collections, swift-numerics
[4326/89444] Fetching swift-sqlite3-support, swift-atomics, swift-algorithms, swift-collections, swift-numerics, grpc-swift
Fetched https://github.com/apple/swift-algorithms.git from cache (1.86s)
[44776/83386] Fetching swift-sqlite3-support, swift-atomics, swift-collections, swift-numerics, grpc-swift
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.87s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.87s)
[38756/76851] Fetching swift-atomics, swift-collections, grpc-swift
Fetching https://github.com/jagreenwood/swift-log-datadog.git
[76852/77146] Fetching swift-atomics, swift-collections, grpc-swift, swift-log-datadog
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/jagreenwood/swift-log-datadog.git from cache (6.46s)
Fetched https://github.com/apple/swift-atomics.git from cache (8.36s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-collections.git from cache (8.41s)
Fetched https://github.com/grpc/grpc-swift.git from cache (8.42s)
[1/17512] Fetching swift-argument-parser
[8933/34843] Fetching swift-argument-parser, swift-crypto
[34844/41306] Fetching swift-argument-parser, swift-crypto, swift-log
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-log.git from cache (6.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.61s)
Fetched https://github.com/apple/swift-crypto.git from cache (7.29s)
[1/2271] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.80s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (17.06s)
Computing version for https://github.com/jagreenwood/swift-log-datadog.git
Computed https://github.com/jagreenwood/swift-log-datadog.git at 0.3.0 (1.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.80s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.72s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.38s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.5 (3.12s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2843] Fetching swift-nio-transport-services
[1053/9353] Fetching swift-nio-transport-services, swift-nio-extras
[9289/21455] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11896/36873] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.48s)
[6156/30363] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
[8117/113464] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.77s)
[63777/110621] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.79s)
[51675/98519] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.69s)
Fetched https://github.com/apple/swift-nio.git from cache (7.77s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (8.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.67s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1242] Fetching swift-http-structured-headers
[796/8387] Fetching swift-http-structured-headers, swift-certificates
[930/9400] Fetching swift-http-structured-headers, swift-certificates, swift-http-types
[1116/12119] Fetching swift-http-structured-headers, swift-certificates, swift-http-types, swift-service-lifecycle
[1594/13915] Fetching swift-http-structured-headers, swift-certificates, swift-http-types, swift-service-lifecycle, swift-asn1
[2531/20139] Fetching swift-http-structured-headers, swift-certificates, swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.49s)
[12191/19126] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.58s)
[16598/17884] Fetching swift-certificates, swift-service-lifecycle, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
[15803/16088] Fetching swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.74s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.79s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.80s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.29s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.80s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.34s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.57s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.07s)
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.5
Creating working copy for https://github.com/liuliu/s4nnc.git
Working copy of https://github.com/liuliu/s4nnc.git resolved at e3a83b351b84a7917fefd28366a3b9417fee3b2e
Creating working copy for https://github.com/liuliu/swift-sentencepiece
Working copy of https://github.com/liuliu/swift-sentencepiece resolved at 8d17bf2e017c97563e8805545d676be9739b6c0e
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.6.0
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.33.0
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/liuliu/dflat.git
Working copy of https://github.com/liuliu/dflat.git resolved at 73925e51e4f44add842177a229f9990cb13711ff
Creating working copy for https://github.com/liuliu/ccv.git
Working copy of https://github.com/liuliu/ccv.git resolved at ae1de9962437c14ff7d84af9bac66305e7ce5927
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
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.7.1
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
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.26.0
Creating working copy for https://github.com/weiyanlin117/swift-package-support-sentencepiece
Working copy of https://github.com/weiyanlin117/swift-package-support-sentencepiece resolved at a39a5be0b3e3ad9bcb19b085af7dd891c00aa3d2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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.11.0
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
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.0
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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.42.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/drawthingsai/draw-things-community.git
Working copy of https://github.com/drawthingsai/draw-things-community.git resolved at d473a2f148b3e7dc9b90d0b7cfccc5cda999eb66
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
[5/5] Compiling plugin GRPCSwiftPlugin
[6/6] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[6/1336] Write sources
[14/1336] Compiling _AtomicsShims.c
[15/1336] Write swift-version-24593BA9C3E375BF.txt
[16/1336] Compiling _SQLiteDflatOSShim os.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/1338] Emitting module FlatBuffers
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:75:7: error: cannot find 'memset' in scope
73 | !unowned,
74 | "initalize should NOT be called on a buffer that is built by assumingMemoryBound")
75 | memset(memory, 0, size)
| `- error: cannot find 'memset' in scope
76 | }
77 |
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:93:7: error: cannot find 'memset' in scope
91 | byteCount: capacity,
92 | alignment: alignment)
93 | memset(newData, 0, capacity &- writerSize)
| `- error: cannot find 'memset' in scope
94 | memcpy(
95 | newData.advanced(by: capacity &- writerSize),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:94:7: error: cannot find 'memcpy' in scope
92 | alignment: alignment)
93 | memset(newData, 0, capacity &- writerSize)
94 | memcpy(
| `- error: cannot find 'memcpy' in scope
95 | newData.advanced(by: capacity &- writerSize),
96 | memory.advanced(by: currentWritingIndex),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:237:5: error: cannot find 'memcpy' in scope
235 | ensureSpace(size: size)
236 | var v = value
237 | memcpy(_storage.memory.advanced(by: writerIndex &- size), &v, size)
| `- error: cannot find 'memcpy' in scope
238 | _writerSize = _writerSize &+ size
239 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:250:5: error: cannot find 'memcpy' in scope
248 | ensureSpace(size: len)
249 | var v = value
250 | memcpy(_storage.memory.advanced(by: writerIndex &- len), &v, len)
| `- error: cannot find 'memcpy' in scope
251 | _writerSize = _writerSize &+ len
252 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:283:5: error: cannot find 'memcpy' in scope
281 | len: Int) -> Bool
282 | {
283 | memcpy(
| `- error: cannot find 'memcpy' in scope
284 | _storage.memory.advanced(by: writerIndex &- len),
285 | UnsafeRawPointer(bytes.baseAddress!),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:331:5: error: cannot find 'memset' in scope
329 | (_writerSize &- size) > 0,
330 | "New size should NOT be a negative number")
331 | memset(_storage.memory.advanced(by: writerIndex), 0, _writerSize &- size)
| `- error: cannot find 'memset' in scope
332 | _writerSize = size
333 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/Verifier.swift:91:13: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
89 | throw FlatbuffersErrors.missAlignedPointer(
90 | position: position,
91 | type: String(describing: T.self))
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
92 | }
93 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
[18/1338] Compiling urandom.cc
[19/1338] Compiling windows.cc
[20/1338] Compiling rc4.cc
[21/1338] Compiling trusty.cc
[23/1340] Compiling FlatBuffers ByteBuffer.swift
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:75:7: error: cannot find 'memset' in scope
73 | !unowned,
74 | "initalize should NOT be called on a buffer that is built by assumingMemoryBound")
75 | memset(memory, 0, size)
| `- error: cannot find 'memset' in scope
76 | }
77 |
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:93:7: error: cannot find 'memset' in scope
91 | byteCount: capacity,
92 | alignment: alignment)
93 | memset(newData, 0, capacity &- writerSize)
| `- error: cannot find 'memset' in scope
94 | memcpy(
95 | newData.advanced(by: capacity &- writerSize),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:94:7: error: cannot find 'memcpy' in scope
92 | alignment: alignment)
93 | memset(newData, 0, capacity &- writerSize)
94 | memcpy(
| `- error: cannot find 'memcpy' in scope
95 | newData.advanced(by: capacity &- writerSize),
96 | memory.advanced(by: currentWritingIndex),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:237:5: error: cannot find 'memcpy' in scope
235 | ensureSpace(size: size)
236 | var v = value
237 | memcpy(_storage.memory.advanced(by: writerIndex &- size), &v, size)
| `- error: cannot find 'memcpy' in scope
238 | _writerSize = _writerSize &+ size
239 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:250:5: error: cannot find 'memcpy' in scope
248 | ensureSpace(size: len)
249 | var v = value
250 | memcpy(_storage.memory.advanced(by: writerIndex &- len), &v, len)
| `- error: cannot find 'memcpy' in scope
251 | _writerSize = _writerSize &+ len
252 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:283:5: error: cannot find 'memcpy' in scope
281 | len: Int) -> Bool
282 | {
283 | memcpy(
| `- error: cannot find 'memcpy' in scope
284 | _storage.memory.advanced(by: writerIndex &- len),
285 | UnsafeRawPointer(bytes.baseAddress!),
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/ByteBuffer.swift:331:5: error: cannot find 'memset' in scope
329 | (_writerSize &- size) > 0,
330 | "New size should NOT be a negative number")
331 | memset(_storage.memory.advanced(by: writerIndex), 0, _writerSize &- size)
| `- error: cannot find 'memset' in scope
332 | _writerSize = size
333 | }
/host/spi-builder-workspace/.build/checkouts/flatbuffers/swift/Sources/FlatBuffers/Verifier.swift:91:13: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
89 | throw FlatbuffersErrors.missAlignedPointer(
90 | position: position,
91 | type: String(describing: T.self))
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
92 | }
93 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
[23/1340] Compiling wire_format_lite.cc
[23/1340] Compiling zero_copy_stream.cc
[23/1340] Compiling zero_copy_stream_impl_lite.cc
[23/1340] Compiling time.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 ){
| ^
[23/1340] Compiling SQLite3 sqlite3.c
[23/1340] Compiling zero_copy_stream_impl.cc
BUILD FAILURE 6.2 wasm