Build Information
Failed to build xcodes, reference main (93bce8), with Swift 6.1 for Wasm on 27 Sep 2025 07:17:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XcodesOrg/xcodes.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/XcodesOrg/xcodes
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 93bce87 Merge pull request #437 from XcodesOrg/matt/runtimeMultipleArchitecture
Cloned https://github.com/XcodesOrg/xcodes.git
Revision (git rev-parse @):
93bce877531e4bd60f7ef7f14379360a85caae36
SUCCESS checkout https://github.com/XcodesOrg/xcodes.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/XcodesOrg/xcodes.git
https://github.com/XcodesOrg/xcodes.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.16.0",
"upper_bound" : "0.17.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift.git"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version.git"
},
{
"identity" : "promisekit",
"requirement" : {
"range" : [
{
"lower_bound" : "6.22.1",
"upper_bound" : "6.23.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/PromiseKit.git"
},
{
"identity" : "foundation",
"requirement" : {
"range" : [
{
"lower_bound" : "3.4.0",
"upper_bound" : "3.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PromiseKit/Foundation.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "3.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
},
{
"identity" : "data",
"requirement" : {
"revision" : [
"fcf527b187817f67c05223676341f3ab69d4214d"
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcodereleases/data"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "3.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "5.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
},
{
"identity" : "swift-srp",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcodesOrg/swift-srp"
}
],
"manifest_display_name" : "xcodes",
"name" : "xcodes",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "xcodes",
"targets" : [
"xcodes"
],
"type" : {
"executable" : null
}
},
{
"name" : "XcodesKit",
"targets" : [
"XcodesKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AppleAPI",
"targets" : [
"AppleAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "xcodesTests",
"module_type" : "SwiftTarget",
"name" : "xcodesTests",
"path" : "Tests/xcodesTests",
"sources" : [
"xcodesTests.swift"
],
"target_dependencies" : [
"xcodes"
],
"type" : "test"
},
{
"c99name" : "xcodes",
"module_type" : "SwiftTarget",
"name" : "xcodes",
"path" : "Sources/xcodes",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"xcodes"
],
"sources" : [
"App.swift",
"DataSource+ExpressibleByArgument.swift",
"ParsableArguments+InstallError.swift",
"ParsableArguments+LegibleError.swift"
],
"target_dependencies" : [
"XcodesKit"
],
"type" : "executable"
},
{
"c99name" : "XcodesKitTests",
"module_type" : "SwiftTarget",
"name" : "XcodesKitTests",
"path" : "Tests/XcodesKitTests",
"product_dependencies" : [
"Version"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/XcodesKitTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Environment+Mock.swift",
"Models+FirstWithVersionTests.swift",
"RuntimeTests.swift",
"Version+GemTests.swift",
"Version+XcodeTests.swift",
"XcodesKitTests.swift"
],
"target_dependencies" : [
"XcodesKit"
],
"type" : "test"
},
{
"c99name" : "XcodesKit",
"module_type" : "SwiftTarget",
"name" : "XcodesKit",
"path" : "Sources/XcodesKit",
"product_dependencies" : [
"KeychainAccess",
"LegibleError",
"Path",
"PromiseKit",
"PMKFoundation",
"SwiftSoup",
"Version",
"XCModel",
"Rainbow",
"Yams"
],
"product_memberships" : [
"xcodes",
"XcodesKit"
],
"sources" : [
"AppleSessionService.swift",
"Aria2CError.swift",
"Configuration.swift",
"DataSource.swift",
"DateFormatter+.swift",
"Downloader.swift",
"Entry+.swift",
"Environment.swift",
"FastlaneCookieParser.swift",
"FastlaneSessionManager.swift",
"FileManager+.swift",
"Foundation.swift",
"Migration.swift",
"Models+FirstWithVersion.swift",
"Models+Runtimes.swift",
"Models.swift",
"Path+.swift",
"Process.swift",
"Promise+.swift",
"PromiseKit+Async.swift",
"RuntimeInstaller.swift",
"RuntimeList.swift",
"URLRequest+Apple.swift",
"URLSession+Promise.swift",
"Version+.swift",
"Version+Gem.swift",
"Version+Xcode.swift",
"Version+XcodeReleases.swift",
"Version.swift",
"XcodeInstaller.swift",
"XcodeList.swift",
"XcodeSelect.swift"
],
"target_dependencies" : [
"AppleAPI",
"Unxip"
],
"type" : "library"
},
{
"c99name" : "Unxip",
"module_type" : "SwiftTarget",
"name" : "Unxip",
"path" : "Sources/Unxip",
"product_memberships" : [
"xcodes",
"XcodesKit"
],
"sources" : [
"Unxip.swift"
],
"type" : "library"
},
{
"c99name" : "AppleAPITests",
"module_type" : "SwiftTarget",
"name" : "AppleAPITests",
"path" : "Tests/AppleAPITests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AppleAPITests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AppleAPITests.swift",
"Environment+Mock.swift"
],
"target_dependencies" : [
"AppleAPI"
],
"type" : "test"
},
{
"c99name" : "AppleAPI",
"module_type" : "SwiftTarget",
"name" : "AppleAPI",
"path" : "Sources/AppleAPI",
"product_dependencies" : [
"PromiseKit",
"PMKFoundation",
"Rainbow",
"SRP"
],
"product_memberships" : [
"xcodes",
"XcodesKit",
"AppleAPI"
],
"sources" : [
"Client.swift",
"Environment.swift",
"Hashcash.swift",
"URLRequest+Apple.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/xcodereleases/data
[1/993] Fetching data
Fetched https://github.com/xcodereleases/data from cache (0.52s)
Fetching https://github.com/xcodesOrg/swift-srp
[1/238] Fetching swift-srp
Fetched https://github.com/xcodesOrg/swift-srp from cache (0.40s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/adam-fowler/big-num
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4386] Fetching keychainaccess
[133/5725] Fetching keychainaccess, rainbow
[1064/5903] Fetching keychainaccess, rainbow, legibleerror
[1282/6760] Fetching keychainaccess, rainbow, legibleerror, big-num
[1652/17966] Fetching keychainaccess, rainbow, legibleerror, big-num, yams
[2838/35122] Fetching keychainaccess, rainbow, legibleerror, big-num, yams, swift-crypto
Fetched https://github.com/onevcat/Rainbow.git from cache (1.66s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.68s)
Fetching https://github.com/scinfu/SwiftSoup.git
[8487/29397] Fetching legibleerror, big-num, yams, swift-crypto
Fetching https://github.com/PromiseKit/Foundation.git
[9028/34031] Fetching legibleerror, big-num, yams, swift-crypto, swiftsoup
[13154/34640] Fetching legibleerror, big-num, yams, swift-crypto, swiftsoup, foundation
Fetched https://github.com/PromiseKit/Foundation.git from cache (0.89s)
[16193/34031] Fetching legibleerror, big-num, yams, swift-crypto, swiftsoup
Fetching https://github.com/mxcl/PromiseKit.git
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.31s)
[13827/29397] Fetching legibleerror, big-num, yams, swift-crypto
Fetching https://github.com/mxcl/Version.git
[15814/46601] Fetching legibleerror, big-num, yams, swift-crypto, promisekit
[22543/46894] Fetching legibleerror, big-num, yams, swift-crypto, promisekit, version
Fetched https://github.com/mxcl/Version.git from cache (0.59s)
[24945/46601] Fetching legibleerror, big-num, yams, swift-crypto, promisekit
Fetching https://github.com/mxcl/Path.swift.git
[25681/47660] Fetching legibleerror, big-num, yams, swift-crypto, promisekit, path.swift
Fetched https://github.com/mxcl/Path.swift.git from cache (0.78s)
[29758/46601] Fetching legibleerror, big-num, yams, swift-crypto, promisekit
Fetching https://github.com/apple/swift-argument-parser
[45226/62995] Fetching legibleerror, big-num, yams, swift-crypto, promisekit, swift-argument-parser
Fetched https://github.com/mxcl/LegibleError.git from cache (8.09s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.63s)
Fetched https://github.com/mxcl/PromiseKit.git from cache (5.44s)
Fetched https://github.com/apple/swift-crypto from cache (8.13s)
Fetched https://github.com/adam-fowler/big-num from cache (8.14s)
Fetched https://github.com/jpsim/Yams from cache (8.18s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (11.88s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.0.0 (0.96s)
Computing version for https://github.com/PromiseKit/Foundation.git
Computed https://github.com/PromiseKit/Foundation.git at 3.4.0 (1.21s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.98s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.0.3 (3.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.89s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (0.90s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.2 (2.73s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.40s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.0.6 (0.84s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.68s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.63s)
Creating working copy for https://github.com/xcodereleases/data
Working copy of https://github.com/xcodereleases/data resolved at fcf527b187817f67c05223676341f3ab69d4214d
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.2
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/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.0.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.0.6
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/PromiseKit/Foundation.git
Working copy of https://github.com/PromiseKit/Foundation.git resolved at 3.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 3.2.1
Creating working copy for https://github.com/xcodesOrg/swift-srp
Working copy of https://github.com/xcodesOrg/swift-srp resolved at main (543aa01)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/600] Write sources
[15/600] Compiling cpu-aarch64-fuchsia.c
[15/600] Compiling cpu-aarch64-linux.c
[16/600] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cmac/cmac.c:58:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cmac/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[18/600] Compiling cmac.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/conf/conf.c:70:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/conf/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[18/600] Compiling conf.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/dsa/dsa.c:76:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/dsa/../fipsmodule/bn/internal.h:135:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/dsa/../fipsmodule/bn/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[18/600] Compiling digest_extra.c
[18/600] Compiling dsa.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cipher_extra/tls_cbc.c:60:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cipher_extra/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[18/600] Compiling tls_cbc.c
[18/600] Compiling writer.c
[18/600] Compiling scanner.c
[18/600] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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 GenerateManualPlugin
Building for debugging...
[1/583] Write sources
[2/583] Compiling writer.c
[3/583] Compiling reader.c
[4/583] Compiling parser.c
[5/583] Compiling api.c
[6/583] Compiling emitter.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[7/583] Compiling v3_utl.c
[7/583] Compiling v3_pmaps.c
[7/583] Compiling v3_prn.c
[7/583] Compiling v3_skey.c
[7/583] Compiling v3_purp.c
[7/583] Compiling CCryptoBoringSSLShims shims.c
[7/583] Compiling scanner.c
[7/583] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm