Build Information
Failed to build swift-weak-self-check, reference main (8644fa
), with Swift 6.1 for Wasm on 30 May 2025 21:06:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-weak-self-check.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/p-x9/swift-weak-self-check
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8644faa Merge pull request #19 from p-x9/feature/setup-ci
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
8644faa05592288e54ac5a16bd4471929242d96c
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/p-x9/swift-weak-self-check.git
https://github.com/p-x9/swift-weak-self-check.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-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-indexstore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kateinoigakukun/swift-indexstore.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "swift-weak-self-check",
"name" : "swift-weak-self-check",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "weak-self-check",
"targets" : [
"weak-self-check"
],
"type" : {
"executable" : null
}
},
{
"name" : "WeakSelfCheckBuildToolPlugin",
"targets" : [
"WeakSelfCheckBuildToolPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "WeakSelfCheckCommandPlugin",
"targets" : [
"WeakSelfCheckCommandPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "weak_self_check",
"module_type" : "SwiftTarget",
"name" : "weak-self-check",
"path" : "Sources/weak-self-check",
"product_dependencies" : [
"ArgumentParser",
"Yams",
"SwiftIndexStore"
],
"product_memberships" : [
"weak-self-check",
"WeakSelfCheckBuildToolPlugin",
"WeakSelfCheckCommandPlugin"
],
"sources" : [
"Config.swift",
"Extension/FileManager+.swift",
"Extension/ReportType+.swift",
"main.swift"
],
"target_dependencies" : [
"WeakSelfCheckCore"
],
"type" : "executable"
},
{
"c99name" : "WeakSelfCheckCoreTests",
"module_type" : "SwiftTarget",
"name" : "WeakSelfCheckCoreTests",
"path" : "Tests/WeakSelfCheckCoreTests",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"sources" : [
"WeakSelfCheckCoreTests.swift"
],
"target_dependencies" : [
"WeakSelfCheckCore"
],
"type" : "test"
},
{
"c99name" : "WeakSelfCheckCore",
"module_type" : "SwiftTarget",
"name" : "WeakSelfCheckCore",
"path" : "Sources/WeakSelfCheckCore",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"SwiftIndexStore",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"weak-self-check",
"WeakSelfCheckBuildToolPlugin",
"WeakSelfCheckCommandPlugin"
],
"sources" : [
"ClosureWeakSelfChecker.swift",
"Extension/ClosureCapture+.swift",
"Extension/FunctionParameterSyntax+.swift",
"Extension/IndexStoreSymbol+.swift",
"Extension/MemberAccessExprSyntax+.swift",
"Extension/String+.swift",
"Extension/Syntax+.swift",
"Extension/TypeSyntaxProtocol+.swift",
"Model/WhiteListElement.swift",
"Reporter/CallbackReporter.swift",
"Reporter/Model/Report.swift",
"Reporter/Model/ReportType.swift",
"Reporter/ReporterProtocol.swift",
"Reporter/XcodeReporter.swift",
"SelfAccessDetector.swift",
"Util/demangle.swift",
"WeakSelfChecker.swift"
],
"type" : "library"
},
{
"c99name" : "WeakSelfCheckCommandPlugin",
"module_type" : "PluginTarget",
"name" : "WeakSelfCheckCommandPlugin",
"path" : "Plugins/WeakSelfCheckCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Check whether `self` is captured by weak reference in Closure.",
"type" : "custom",
"verb" : "weak-self-check"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"WeakSelfCheckCommandPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"weak-self-check"
],
"type" : "plugin"
},
{
"c99name" : "WeakSelfCheckBuildToolPlugin",
"module_type" : "PluginTarget",
"name" : "WeakSelfCheckBuildToolPlugin",
"path" : "Plugins/WeakSelfCheckBuildToolPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"WeakSelfCheckBuildToolPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"weak-self-check"
],
"type" : "plugin"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/319] Fetching swift-indexstore
[320/10976] Fetching swift-indexstore, yams
[960/26362] Fetching swift-indexstore, yams, swift-argument-parser
[18692/96884] Fetching swift-indexstore, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.22s)
[16841/81498] Fetching swift-indexstore, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.64s)
[27118/70841] Fetching swift-indexstore, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (13.13s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.29s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (14.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.06s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.25s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.29s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.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
/host/spi-builder-workspace/Plugins/WeakSelfCheckCommandPlugin/plugin.swift:37:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
35 |
36 | let process = Process()
37 | process.launchPath = tool.path.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
38 | process.arguments = [
39 | path,
[1/1] Compiling plugin WeakSelfCheckCommandPlugin
[2/2] Compiling plugin WeakSelfCheckBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/88] Write sources
[27/88] Compiling _SwiftSyntaxCShims dummy.c
[28/88] Compiling _CIndexStore dummy.c
[29/88] Compiling writer.c
[30/88] Compiling reader.c
[31/88] Compiling _SwiftSyntaxCShims dummy.c
[32/88] Write sources
[40/88] Compiling _CIndexStore dummy.c
[41/88] Compiling api.c
[42/88] Compiling parser.c
[43/88] Compiling writer.c
[44/88] Compiling api.c
[45/88] Compiling emitter.c
[46/88] Compiling reader.c
[47/88] Write swift-version-24593BA9C3E375BF.txt
[48/88] Compiling scanner.c
[49/88] Compiling parser.c
[50/88] Compiling emitter.c
[51/98] Compiling scanner.c
[53/140] Emitting module Yams
[54/140] Compiling Yams Tag.swift
[55/140] Compiling Yams YamlAnchorProviding.swift
[56/142] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/142] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/142] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/142] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/144] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/144] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/145] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/145] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/146] Compiling Yams Resolver.swift
[65/146] Compiling Yams String+Yams.swift
[66/146] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/146] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/149] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/149] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/152] Compiling Yams AliasDereferencingStrategy.swift
[77/152] Compiling Yams Anchor.swift
[78/152] Compiling Yams Constructor.swift
[79/156] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/178] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[81/179] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[82/179] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/180] Emitting module Yams
[85/180] Emitting module ArgumentParserToolInfo
[86/180] Wrapping AST for SwiftSyntax601 for debugging
[88/308] Compiling ArgumentParserToolInfo ToolInfo.swift
[90/309] Emitting module ArgumentParserToolInfo
[91/309] Compiling ArgumentParserToolInfo ToolInfo.swift
[93/310] Compiling SwiftSyntax MemoryLayout.swift
[94/310] Compiling SwiftSyntax MissingNodeInitializers.swift
[95/310] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[96/310] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[97/310] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[98/310] Compiling SwiftSyntax Convenience.swift
[99/310] Compiling SwiftSyntax CustomTraits.swift
[100/310] Compiling SwiftSyntax SyntaxChildren.swift
[101/310] Compiling SwiftSyntax SyntaxCollection.swift
[102/310] Compiling SwiftSyntax SyntaxHashable.swift
[103/310] Compiling SwiftSyntax SourceLocation.swift
[104/310] Compiling SwiftSyntax SourcePresence.swift
[105/310] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[105/310] Wrapping AST for SwiftSyntax600 for debugging
[107/310] Compiling SwiftSyntax Syntax.swift
[108/310] Compiling SwiftSyntax SyntaxArena.swift
[109/310] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[110/310] Compiling SwiftSyntax Assert.swift
[111/310] Compiling SwiftSyntax BumpPtrAllocator.swift
[112/310] Compiling SwiftSyntax CommonAncestor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
/host/spi-builder-workspace/Plugins/WeakSelfCheckCommandPlugin/plugin.swift:37:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
35 |
36 | let process = Process()
37 | process.launchPath = tool.path.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
38 | process.arguments = [
39 | path,
[1/1] Compiling plugin WeakSelfCheckCommandPlugin
[2/2] Compiling plugin WeakSelfCheckBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/40] Write swift-version-24593BA9C3E375BF.txt
[5/56] Compiling SwiftSyntax510 Empty.swift
[6/56] Compiling SwiftSyntax509 Empty.swift
[7/56] Emitting module SwiftSyntax600
[8/56] Compiling SwiftSyntax600 Empty.swift
[9/56] Emitting module SwiftSyntax510
[10/56] Compiling SwiftSyntax600 Empty.swift
[11/56] Emitting module SwiftSyntax600
[12/57] Compiling SwiftSyntax509 Empty.swift
[13/59] Emitting module SwiftSyntax509
[15/61] Compiling SwiftSyntax601 Empty.swift
[16/61] Emitting module SwiftSyntax601
[17/61] Compiling SwiftSyntax601 Empty.swift
[18/61] Emitting module SwiftSyntax601
[19/63] Compiling SwiftSyntax510 Empty.swift
[20/63] Emitting module SwiftSyntax510
[28/62] Wrapping AST for SwiftSyntax509 for debugging
[30/190] Compiling SwiftIndexStore OptionSetDisplayable.swift
[31/255] Compiling SwiftIndexStore IndexStoreUnit.swift
[32/255] Compiling SwiftIndexStore UnfairLock.swift
[33/255] Compiling SwiftSyntax MissingNodeInitializers.swift
[34/255] Compiling SwiftSyntax RawSyntax.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/255] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[36/255] Compiling SwiftSyntax Identifier.swift
[37/255] Compiling SwiftSyntax MemoryLayout.swift
[38/255] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[39/255] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[40/255] Compiling SwiftSyntax RawSyntaxValidation.swift
[41/255] Compiling SwiftSyntax Trivia.swift
[42/257] Compiling SwiftSyntax RawSyntaxNodesC.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[43/257] Compiling SwiftSyntax RawSyntaxNodesD.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[44/257] Compiling SwiftSyntax RawSyntaxNodesEF.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[45/257] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[46/257] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[47/257] Compiling SwiftIndexStore SwiftIndexStore.swift
[48/257] Emitting module ArgumentParserToolInfo
[49/257] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/257] Compiling SwiftIndexStore OptionSetDisplayable.swift
[51/257] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm