Build Information
Failed to build swift-process-invocation, reference main (984ae1), with Swift 6.1 for Wasm on 29 May 2025 18:10:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.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/xcode-actions/swift-process-invocation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 984ae12 Add a License to the project
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
984ae12e0753ab9f8bdb7a8d21d4972d5c8ecadf
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/xcode-actions/swift-process-invocation.git
https://github.com/xcode-actions/swift-process-invocation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.2",
"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" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-beta.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
},
{
"identity" : "stream-reader",
"requirement" : {
"range" : [
{
"lower_bound" : "3.6.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/stream-reader.git"
},
{
"identity" : "swift-signal-handling",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/swift-signal-handling.git"
}
],
"manifest_display_name" : "swift-process-invocation",
"name" : "swift-process-invocation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "ProcessInvocation",
"targets" : [
"ProcessInvocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-process-invocation-bridge",
"targets" : [
"ProcessInvocationBridge"
],
"type" : {
"executable" : null
}
},
{
"name" : "ManualTests",
"targets" : [
"ManualTests"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ProcessInvocationTests",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationTests",
"path" : "Tests/ProcessInvocationTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader",
"SystemPackage"
],
"sources" : [
"ProcessInvocationTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"ProcessInvocation",
"CGNUSourceExportsForTests"
],
"type" : "test"
},
{
"c99name" : "ProcessInvocationBridge",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationBridge",
"path" : "Sources/ProcessInvocationBridge",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Logging",
"StreamReader",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"ProcessInvocationBridge.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports"
],
"type" : "executable"
},
{
"c99name" : "ProcessInvocation",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocation",
"path" : "Sources/ProcessInvocation",
"product_dependencies" : [
"Logging",
"SignalHandling",
"StreamReader",
"UnwrapOrThrow",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"ManualTests"
],
"sources" : [
" Config.swift",
" Constants.swift",
" Errors.swift",
"FileDescriptor+GenericReadStream.swift",
"InputRedirectMode.swift",
"LineSeparators.swift",
"LineWithSource.swift",
"OutputRedirectMode.swift",
"ProcessInvocation+Deprecated.swift",
"ProcessInvocation+Pipe.swift",
"ProcessInvocation.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports",
"ProcessInvocationBridge"
],
"type" : "library"
},
{
"c99name" : "ManualTests",
"module_type" : "SwiftTarget",
"name" : "ManualTests",
"path" : "Sources/ManualTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader"
],
"product_memberships" : [
"ManualTests"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ProcessInvocation"
],
"type" : "executable"
},
{
"c99name" : "CMacroExports",
"module_type" : "ClangTarget",
"name" : "CMacroExports",
"path" : "Sources/CMacroExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExportsForTests",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExportsForTests",
"path" : "Sources/CGNUSourceExportsForTests",
"sources" : [
"exports_for_tests.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExports",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExports",
"path" : "Sources/CGNUSourceExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
[1/788] Fetching clt-logger
[419/5179] Fetching clt-logger, swift-system
[1078/9015] Fetching clt-logger, swift-system, swift-log
[2187/9046] Fetching clt-logger, swift-system, swift-log, unwraporthrow
[3307/9562] Fetching clt-logger, swift-system, swift-log, unwraporthrow, swift-signal-handling
[6142/10613] Fetching clt-logger, swift-system, swift-log, unwraporthrow, swift-signal-handling, stream-reader
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.60s)
Fetching https://github.com/apple/swift-argument-parser.git
[9725/10097] Fetching clt-logger, swift-system, swift-log, unwraporthrow, stream-reader
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.79s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.80s)
Fetched https://github.com/apple/swift-system.git from cache (0.81s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.90s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.42s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (3.01s)
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.3 (0.90s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.6.1 (0.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.92s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.84s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0-rc.1 (2.18s)
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.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.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.5.1
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.6.1
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-rc.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.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/Sources/CMacroExports/exports.c:4:
/host/spi-builder-workspace/Sources/CMacroExports/include/exports.h:10:37: warning: declaration of 'struct cmsghdr' will not be visible outside of this function [-Wvisibility]
10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
| ^
/host/spi-builder-workspace/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/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/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/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/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/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/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/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/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/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);
| ^~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:8:9: error: call to undeclared function 'posix_openpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8 | return posix_openpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:12:9: error: call to undeclared function 'grantpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
12 | return grantpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:16:9: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
16 | return unlockpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
20 | return ptsname(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'char *' [-Wint-conversion]
20 | return ptsname(fd);
| ^~~~~~~~~~~
5 errors generated.
[13/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[13/32] Compiling CMacroExports exports.c
[13/32] Compiling CGNUSourceExports exports.c
[13/32] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
/host/spi-builder-workspace/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/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/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);
| ^~~~~~~~~~~
3 errors generated.
[1/20] Compiling CGNUSourceExports exports.c
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:8:9: error: call to undeclared function 'posix_openpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8 | return posix_openpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:12:9: error: call to undeclared function 'grantpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
12 | return grantpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:16:9: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
16 | return unlockpt(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
20 | return ptsname(fd);
| ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'char *' [-Wint-conversion]
20 | return ptsname(fd);
| ^~~~~~~~~~~
[1/20] Compiling CGNUSourceExportsForTests exports_for_tests.c
In file included from /host/spi-builder-workspace/Sources/CMacroExports/exports.c:4:
/host/spi-builder-workspace/Sources/CMacroExports/include/exports.h:10:37: warning: declaration of 'struct cmsghdr' will not be visible outside of this function [-Wvisibility]
10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
| ^
/host/spi-builder-workspace/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/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/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/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/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/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/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/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/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/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);
| ^~~~~~~~~~~~~~~~~~~
[1/20] Compiling CMacroExports exports.c
[1/20] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm