Build Information
Failed to build swift-sh, reference 3.4.0 (d2d2ed), with Swift 6.1 for Wasm on 26 Mar 2026 07:59:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-sh.git
Reference: 3.4.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/xcode-actions/swift-sh
* tag 3.4.0 -> FETCH_HEAD
HEAD is now at d2d2ed3 Fix missing Swift output in error when parsing REPL args fails
Cloned https://github.com/xcode-actions/swift-sh.git
Revision (git rev-parse @):
d2d2ed30de40714792332825579aee953ef59168
SUCCESS checkout https://github.com/xcode-actions/swift-sh.git at 3.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/xcode-actions/swift-sh.git
https://github.com/xcode-actions/swift-sh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "inlineobjectconfig",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/InlineObjectConfig.git"
},
{
"identity" : "stream-reader",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.2",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/stream-reader.git"
},
{
"identity" : "swift-xdg",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/swift-xdg.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError.git"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
},
{
"identity" : "swift-process-invocation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0-beta.5.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/swift-process-invocation.git"
}
],
"manifest_display_name" : "swift-sh",
"name" : "swift-sh",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swift-sh",
"targets" : [
"swift-sh"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftSH_Helpers",
"targets" : [
"SwiftSH_Helpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_sh",
"module_type" : "SwiftTarget",
"name" : "swift-sh",
"path" : "Sources/swift-sh",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Crypto",
"InlineObjectConfig",
"LegibleError",
"Logging",
"ProcessInvocation",
"StreamReader",
"SystemPackage",
"UnwrapOrThrow",
"Version",
"XDG"
],
"product_memberships" : [
"swift-sh"
],
"sources" : [
"Helpers/DepsPackage.swift",
"Helpers/FileManager+Utils.swift",
"Helpers/FilePath+ArgumentParser.swift",
"Helpers/FilePath+Utils.swift",
"Helpers/ImportSpecification+CustomStringConvertible.swift",
"Helpers/ImportSpecification+Parsing.swift",
"Helpers/ImportSpecification+Serialization.swift",
"Helpers/ImportSpecification.swift",
"Helpers/InternalError.swift",
"Helpers/ScriptSource.swift",
"Helpers/String+Utils.swift",
"Helpers/XDG+SwiftSH.swift",
"OptionGroups/BuildAndRunOptions.swift",
"OptionGroups/GlobalOptions.swift",
"OptionGroups/ScriptOptions.swift",
"swift-sh.swift",
"swift-sh⊳build.swift",
"swift-sh⊳clean.swift",
"swift-sh⊳create.swift",
"swift-sh⊳edit.swift",
"swift-sh⊳eject.swift",
"swift-sh⊳run.swift"
],
"type" : "executable"
},
{
"c99name" : "SwiftSH_Helpers",
"module_type" : "SwiftTarget",
"name" : "SwiftSH_Helpers",
"path" : "Sources/SwiftSH_Helpers",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"InlineObjectConfig",
"Logging",
"ProcessInvocation",
"StreamReader",
"SystemPackage",
"UnwrapOrThrow",
"XDG"
],
"product_memberships" : [
"SwiftSH_Helpers"
],
"sources" : [
"ExportedImports.swift",
"FilePath+ArgumentParser.swift",
"MessageError.swift",
"UsefulGlobals.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftSHTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSHTests",
"path" : "Tests",
"product_dependencies" : [
"Logging",
"SystemPackage"
],
"sources" : [
"HelpersTests.swift",
"ImportSpecificationUnitTests.swift",
"Utils/Version+Utils.swift"
],
"target_dependencies" : [
"swift-sh",
"SwiftSH_Helpers"
],
"type" : "test"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/swift-xdg.git
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/xcode-actions/swift-process-invocation.git
[1/869] Fetching clt-logger
[4/1162] Fetching clt-logger, version
[696/1758] Fetching clt-logger, version, swift-process-invocation
[1430/1990] Fetching clt-logger, version, swift-process-invocation, swift-xdg
Fetched https://github.com/Frizlab/swift-xdg.git from cache (0.65s)
Fetched https://github.com/xcode-actions/swift-process-invocation.git from cache (0.65s)
Fetched https://github.com/mxcl/Version.git from cache (0.65s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/Frizlab/InlineObjectConfig.git
Fetching https://github.com/Frizlab/stream-reader.git
[600/869] Fetching clt-logger
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/mxcl/LegibleError.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.96s)
Fetching https://github.com/apple/swift-log.git
[1/7] Fetching inlineobjectconfig
[8/1058] Fetching inlineobjectconfig, stream-reader
Fetched https://github.com/Frizlab/InlineObjectConfig.git from cache (0.50s)
[1/5601] Fetching swift-system
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.59s)
Fetching https://github.com/apple/swift-argument-parser.git
[898/5650] Fetching swift-system, unwraporthrow
[1731/5828] Fetching swift-system, unwraporthrow, legibleerror
[3477/12074] Fetching swift-system, unwraporthrow, legibleerror, swift-log
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.55s)
[3983/12025] Fetching swift-system, legibleerror, swift-log
Fetched https://github.com/mxcl/LegibleError.git from cache (0.56s)
[3980/11847] Fetching swift-system, swift-log
[9288/29287] Fetching swift-system, swift-log, swift-argument-parser
[12372/46563] Fetching swift-system, swift-log, swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-system.git from cache (1.27s)
[8858/40962] Fetching swift-log, swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
[5224/34716] Fetching swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.76s)
[2246/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.88s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (6.23s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (4.18s)
Computing version for https://github.com/Frizlab/swift-xdg.git
Computed https://github.com/Frizlab/swift-xdg.git at 2.0.1 (0.93s)
Computing version for https://github.com/Frizlab/InlineObjectConfig.git
Computed https://github.com/Frizlab/InlineObjectConfig.git at 1.0.0 (1.08s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (1.03s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.0 (1.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.04s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (6.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (1.83s)
Computing version for https://github.com/xcode-actions/swift-process-invocation.git
Computed https://github.com/xcode-actions/swift-process-invocation.git at 1.3.0-beta.5.0.1 (4.39s)
Fetching https://github.com/xcode-actions/swift-signal-handling.git
[1/564] Fetching swift-signal-handling
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.39s)
Computing version for https://github.com/xcode-actions/swift-signal-handling.git
Computed https://github.com/xcode-actions/swift-signal-handling.git at 1.1.4 (2.30s)
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.0
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 1.0.0
Creating working copy for https://github.com/xcode-actions/swift-process-invocation.git
Working copy of https://github.com/xcode-actions/swift-process-invocation.git resolved at 1.3.0-beta.5.0.1
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/Frizlab/InlineObjectConfig.git
Working copy of https://github.com/Frizlab/InlineObjectConfig.git resolved at 1.0.0
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.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/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/Frizlab/swift-xdg.git
Working copy of https://github.com/Frizlab/swift-xdg.git resolved at 2.0.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.6.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/417] Write sources
[20/417] Compiling CXKCPShims shims.c
[21/417] Compiling SimpleFIPS202.c
[22/417] Compiling KeccakSponge.c
[23/417] Compiling KeccakHash.c
[24/417] Compiling CSystem shims.c
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:9:9: error: call to undeclared function 'CMSG_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
9 | return CMSG_LEN(s);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:13:9: error: call to undeclared function 'CMSG_SPACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
13 | return CMSG_SPACE(s);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:17:16: error: conflicting types for 'SPI_CMSG_DATA'
17 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg) {
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/include/exports.h:10:16: note: previous declaration is here
10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:18:9: error: call to undeclared function 'CMSG_DATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
18 | return CMSG_DATA(cmsg);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:18:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'unsigned char *' [-Wint-conversion]
18 | return CMSG_DATA(cmsg);
| ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: error: call to undeclared function 'CMSG_FIRSTHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | return CMSG_FIRSTHDR(msgh);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:21:17: note: 'SPI_CMSG_FIRSTHDR' declared here
21 | struct cmsghdr *SPI_CMSG_FIRSTHDR(struct msghdr *msgh) {
| ^
22 | return CMSG_FIRSTHDR(msgh);
| ~~~~~~~~~~~~~
| SPI_CMSG_FIRSTHDR
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct cmsghdr *' [-Wint-conversion]
22 | return CMSG_FIRSTHDR(msgh);
| ^~~~~~~~~~~~~~~~~~~
7 errors generated.
[25/417] Compiling CMacroExports exports.c
[25/417] Compiling fiat_curve25519_adx_square.S
[25/417] Compiling CCryptoBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CGNUSourceExports/exports.c:8:9: error: call to undeclared function 'execvpe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8 | return execvpe(file, argv, envp);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CGNUSourceExports/exports.c:13:9: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
13 | return ptsname(fd);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CGNUSourceExports/exports.c:13:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'char *' [-Wint-conversion]
13 | return ptsname(fd);
| ^~~~~~~~~~~
[25/417] Compiling CGNUSourceExports exports.c
[25/417] Compiling fiat_p256_adx_sqr.S
[25/417] Compiling KeccakP-1600-opt64.c
[25/417] Compiling fiat_p256_adx_mul.S
[25/417] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:9:9: error: call to undeclared function 'CMSG_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
9 | return CMSG_LEN(s);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:13:9: error: call to undeclared function 'CMSG_SPACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
13 | return CMSG_SPACE(s);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:17:16: error: conflicting types for 'SPI_CMSG_DATA'
17 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg) {
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/include/exports.h:10:16: note: previous declaration is here
10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:18:9: error: call to undeclared function 'CMSG_DATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
18 | return CMSG_DATA(cmsg);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:18:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'unsigned char *' [-Wint-conversion]
18 | return CMSG_DATA(cmsg);
| ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: error: call to undeclared function 'CMSG_FIRSTHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | return CMSG_FIRSTHDR(msgh);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:21:17: note: 'SPI_CMSG_FIRSTHDR' declared here
21 | struct cmsghdr *SPI_CMSG_FIRSTHDR(struct msghdr *msgh) {
| ^
22 | return CMSG_FIRSTHDR(msgh);
| ~~~~~~~~~~~~~
| SPI_CMSG_FIRSTHDR
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct cmsghdr *' [-Wint-conversion]
22 | return CMSG_FIRSTHDR(msgh);
| ^~~~~~~~~~~~~~~~~~~
7 errors generated.
[2/394] Compiling CMacroExports exports.c
[2/394] Compiling fiat_curve25519_adx_mul.S
[2/394] Compiling CCryptoBoringSSLShims shims.c
[2/394] Compiling fiat_p256_adx_sqr.S
[2/394] Compiling fiat_p256_adx_mul.S
[2/394] Compiling CGNUSourceExports exports.c
[2/394] Compiling fiat_curve25519_adx_square.S
[2/394] Compiling KeccakP-1600-opt64.c
BUILD FAILURE 6.1 wasm