The Swift Package Index logo.Swift Package Index

Build Information

Failed to build containerization, reference main (0ac42c), with Swift 6.4 for Wasm on 21 Nov 2026 03:51:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/containerization.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/apple/containerization
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ac42ce Add `LinuxPod.attachVolume` to mount volumes after the pod starts (#1022)
Cloned https://github.com/apple/containerization.git
Revision (git rev-parse @):
0ac42ce27c983074cb4d5f1137ffc2cc862d5338
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/containerization.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/containerization.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-certificates.git
[1/2381] Fetching swift-docc-plugin
[216/19116] Fetching swift-docc-plugin, async-http-client
[241/26805] Fetching swift-docc-plugin, async-http-client, swift-certificates
[8589/43771] Fetching swift-docc-plugin, async-http-client, swift-certificates, swift-nio-ssl
[22462/51390] Fetching swift-docc-plugin, async-http-client, swift-certificates, swift-nio-ssl, swift-system
Fetched https://github.com/apple/swift-certificates.git (0.59s)
[24190/43701] Fetching swift-docc-plugin, async-http-client, swift-nio-ssl, swift-system
Fetching https://github.com/apple/swift-protobuf.git
[30130/132049] Fetching swift-docc-plugin, async-http-client, swift-nio-ssl, swift-system, zstd
Fetched https://github.com/apple/swift-system.git (0.71s)
[22680/124430] Fetching swift-docc-plugin, async-http-client, swift-nio-ssl, zstd
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/swiftlang/swift-docc-plugin (1.31s)
[56672/122049] Fetching async-http-client, swift-nio-ssl, zstd
Fetched https://github.com/swift-server/async-http-client.git (1.31s)
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.32s)
[23854/88348] Fetching zstd
Fetching https://github.com/apple/swift-argument-parser.git
[29156/145915] Fetching zstd, swift-protobuf
[33186/232865] Fetching zstd, swift-protobuf, swift-nio
[52670/239471] Fetching zstd, swift-protobuf, swift-nio, grpc-swift-nio-transport
[80644/258913] Fetching zstd, swift-protobuf, swift-nio, grpc-swift-nio-transport, swift-argument-parser
[94809/289328] Fetching zstd, swift-protobuf, swift-nio, grpc-swift-nio-transport, swift-argument-parser, swift-collections
Fetched https://github.com/grpc/grpc-swift-nio-transport.git (0.60s)
[98980/282722] Fetching zstd, swift-protobuf, swift-nio, swift-argument-parser, swift-collections
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-argument-parser.git (0.87s)
[151740/263280] Fetching zstd, swift-protobuf, swift-nio, swift-collections
Fetching https://github.com/grpc/grpc-swift-protobuf.git
[165100/271824] Fetching zstd, swift-protobuf, swift-nio, swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git (0.55s)
[204807/263280] Fetching zstd, swift-protobuf, swift-nio, swift-collections
Fetching https://github.com/apple/swift-crypto.git
[212973/265941] Fetching zstd, swift-protobuf, swift-nio, swift-collections, grpc-swift-protobuf
Fetched https://github.com/grpc/grpc-swift-protobuf.git (0.46s)
[234701/263280] Fetching zstd, swift-protobuf, swift-nio, swift-collections
Fetching https://github.com/grpc/grpc-swift-2.git
Fetched https://github.com/apple/swift-collections.git (1.36s)
[206013/232865] Fetching zstd, swift-protobuf, swift-nio
[221353/251852] Fetching zstd, swift-protobuf, swift-nio, swift-crypto
[233038/283101] Fetching zstd, swift-protobuf, swift-nio, swift-crypto, grpc-swift-2
Fetched https://github.com/grpc/grpc-swift-2.git (1.69s)
Fetched https://github.com/apple/swift-crypto.git (1.95s)
Fetched https://github.com/apple/swift-nio.git (4.62s)
Fetched https://github.com/facebook/zstd.git (5.59s)
Fetched https://github.com/apple/swift-protobuf.git (5.71s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (7.20s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.5.0 (0.20s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.18s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (0.17s)
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.15s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.13.1 (0.19s)
Fetching https://github.com/apple/swift-asn1.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/2082] Fetching swift-asn1
[64/4963] Fetching swift-asn1, swift-nio-transport-services
[3103/11744] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras
[11745/24182] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git (0.97s)
Fetched https://github.com/apple/swift-nio-transport-services.git (0.97s)
Fetched https://github.com/apple/swift-nio-extras.git (0.97s)
Fetched https://github.com/apple/swift-nio-http2.git (0.98s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.15s)
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.19s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.19s)
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 (0.15s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.26s)
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
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1284] Fetching swift-http-structured-headers
[14/3274] Fetching swift-http-structured-headers, swift-http-types
[3275/9462] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
[3276/12360] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms, swift-service-lifecycle
[3524/19264] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.49s)
Fetched https://github.com/apple/swift-algorithms.git (0.52s)
Fetched https://github.com/apple/swift-http-types.git (0.54s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.54s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.73s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (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.15s)
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.18s)
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.15s)
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/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.0 (0.17s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/1552] Fetching swift-service-context
[1181/5798] Fetching swift-service-context, swift-configuration
[1766/12523] Fetching swift-service-context, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (0.54s)
Fetched https://github.com/apple/swift-configuration.git (0.54s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.54s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.70s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.15s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.21s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
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.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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.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-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/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git 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.17.2
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.2
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-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.13.1
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.6
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.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.37.6
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.5.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.105.0
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
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/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/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.4
Building for debugging...
[Computing dependencies]
[Provisioning 4 / 157]
[Constructing description]
[Pre-planning 1 / 3438]
[Planning 1 / 3438]
[Planning 1681 / 3438]
[Planning 2671 / 3438]
[Planning 3335 / 3438]
[Planning deferred tasks]
[Constructing 1 / 7952]
[Constructing 3463 / 7952]
[Starting]
[188 / 1886] NIOFoundationCompat
[482 / 1886] libzstd
[485 / 1886] libzstd
[499 / 1886] libzstd
[518 / 1897] _NumericsShims
[525 / 1897] _CertificateInternals
[540 / 1898] SystemPackage
[544 / 1907] SystemPackage
[556 / 1907] SystemPackage
[557 / 1907] libzstd
[561 / 1908] SystemPackage
[563 / 1909] SystemPackage
[574 / 1931] RealModule
[575 / 1940] SwiftProtobuf
[578 / 1948] SystemPackage
[588 / 1948] SwiftProtobuf
[590 / 1948] SystemPackage
[596 / 1948] SwiftProtobuf
[597 / 1949] SystemPackage
[600 / 1949] SwiftASN1
[606 / 1949] SwiftASN1
[606 / 1949] SwiftProtobuf
[610 / 1949] SwiftProtobuf
[617 / 1949] SwiftProtobuf-product
[622 / 1949] RealModule
[624 / 1949] RealModule-product
[629 / 1949] NIOConcurrencyHelpers
[637 / 1951] _NIODataStructures
[639 / 1951] Logging
[648 / 1980] InternalCollectionsUtilities
[658 / 1981] Instrumentation
[664 / 1981] InternalCollectionsUtilities
[666 / 1981] Logging
[673 / 1981] Logging-product
[677 / 1982] Instrumentation
[689 / 1982] ServiceContextModule
[703 / 2011] Instrumentation
[715 / 2012] ConcurrencyHelpers
In file included from /host/spi-builder-workspace/Sources/CShim/vsock.c:17:
/host/spi-builder-workspace/Sources/CShim/include/vsock.h:28:14: fatal error: 'linux/vm_sockets.h' file not found
   28 |     #include <linux/vm_sockets.h>
      |              ^~~~~~~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/vsock.o /host/spi-builder-workspace/Sources/CShim/vsock.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/vsock.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/vsock.dia -c /host/spi-builder-workspace/Sources/CShim/vsock.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/vsock.o
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:20:12: error: call to undeclared function 'CMSG_FIRSTHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   20 |     return CMSG_FIRSTHDR(msg);
      |            ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:20:12: note: did you mean 'CZ_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:19:17: note: 'CZ_CMSG_FIRSTHDR' declared here
   19 | struct cmsghdr* CZ_CMSG_FIRSTHDR(struct msghdr *msg) {
      |                 ^
   20 |     return CMSG_FIRSTHDR(msg);
      |            ~~~~~~~~~~~~~
      |            CZ_CMSG_FIRSTHDR
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:24:12: error: call to undeclared function 'CMSG_DATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   24 |     return CMSG_DATA(cmsg);
      |            ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:24:12: note: did you mean 'CZ_CMSG_DATA'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:23:7: note: 'CZ_CMSG_DATA' declared here
   23 | void* CZ_CMSG_DATA(struct cmsghdr *cmsg) {
      |       ^
   24 |     return CMSG_DATA(cmsg);
      |            ~~~~~~~~~
      |            CZ_CMSG_DATA
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:28:12: error: call to undeclared function 'CMSG_SPACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   28 |     return CMSG_SPACE(length);
      |            ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:28:12: note: did you mean 'CZ_CMSG_SPACE'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:27:8: note: 'CZ_CMSG_SPACE' declared here
   27 | size_t CZ_CMSG_SPACE(size_t length) {
      |        ^
   28 |     return CMSG_SPACE(length);
      |            ~~~~~~~~~~
      |            CZ_CMSG_SPACE
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:32:12: error: call to undeclared function 'CMSG_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   32 |     return CMSG_LEN(length);
      |            ^
4 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/socket_helpers.o /host/spi-builder-workspace/Sources/CShim/socket_helpers.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/socket_helpers.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/socket_helpers.dia -c /host/spi-builder-workspace/Sources/CShim/socket_helpers.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/containerization.build/Debug-webassembly-wasm32/CShim-t.build/Objects-normal/wasm32/socket_helpers.o
error: Build failed
BUILD FAILURE 6.4 wasm