Build Information
Failed to build swift-weak-self-check, reference 0.6.0 (416d56
), with Swift 6.1 for Wasm on 30 May 2025 21:05:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.6.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/p-x9/swift-weak-self-check
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 416d56e Merge pull request #16 from p-x9/feature/swift-syntax-601
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
416d56e95821fe52b65abe40d40250ee1ad317c0
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at 0.6.0
========================================
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" : "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/ReportType.swift",
"Reporter/Reporter.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-4606859-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-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/319] Fetching swift-indexstore
[320/10976] Fetching swift-indexstore, yams
[853/26362] Fetching swift-indexstore, yams, swift-argument-parser
[19640/96884] Fetching swift-indexstore, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.38s)
[38978/86227] Fetching swift-indexstore, swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (12.38s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (12.40s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.59s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (13.81s)
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.02s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.04s)
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/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/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/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
[19/88] Compiling reader.c
[20/88] Compiling _SwiftSyntaxCShims dummy.c
[21/88] Compiling parser.c
[22/88] Write sources
[30/88] Compiling _CIndexStore dummy.c
[31/88] Compiling writer.c
[32/88] Compiling api.c
[32/88] Write sources
[41/88] Compiling _SwiftSyntaxCShims dummy.c
[42/88] Compiling _CIndexStore dummy.c
[43/88] Compiling api.c
[44/88] Compiling writer.c
[45/88] Write swift-version-24593BA9C3E375BF.txt
[46/88] Compiling emitter.c
[47/88] Compiling reader.c
[48/88] Compiling emitter.c
[49/88] Compiling parser.c
[50/88] Compiling scanner.c
[52/101] 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
[53/120] 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
[53/120] Compiling scanner.c
[55/140] 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
[56/140] 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
[57/141] 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
[58/141] 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
[59/142] 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
[60/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
[61/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
[62/142] 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
[63/144] 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
[64/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
[71/146] Compiling Yams Tag.swift
[72/146] Compiling Yams YamlAnchorProviding.swift
[73/176] 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
[74/176] 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
<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/176] 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
[77/178] Compiling Yams Parser.swift
[78/178] Compiling Yams RedundancyAliasingStrategy.swift
[80/180] Emitting module ArgumentParserToolInfo
[81/180] Compiling Yams Mark.swift
[82/180] Compiling Yams Node.Alias.swift
[83/180] Compiling Yams Node.Mapping.swift
[84/180] Wrapping AST for SwiftSyntax601 for debugging
[86/180] Emitting module Yams
[88/308] Compiling ArgumentParserToolInfo ToolInfo.swift
[90/309] Emitting module ArgumentParserToolInfo
[91/309] Compiling ArgumentParserToolInfo ToolInfo.swift
[93/386] Compiling ArgumentParser Argument.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.
[94/386] Compiling ArgumentParser ArgumentHelp.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.
[95/386] Compiling ArgumentParser ArgumentDefinition.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/386] Compiling ArgumentParser InputOrigin.swift
[97/386] Compiling ArgumentParser DumpHelpGenerator.swift
[98/386] Compiling ArgumentParser MessageInfo.swift
[99/386] Compiling ArgumentParser UsageGenerator.swift
[100/386] Compiling ArgumentParser ArgumentSet.swift
[101/386] Compiling ArgumentParser CommandParser.swift
[102/386] Compiling ArgumentParser InputKey.swift
[103/386] Compiling ArgumentParser ExpressibleByArgument.swift
[104/386] Compiling ArgumentParser ParsableArguments.swift
[105/386] Compiling ArgumentParser ParsableArgumentsValidation.swift
[106/386] Compiling ArgumentParser ParsableCommand.swift
[107/386] Compiling ArgumentParser ArgumentDecoder.swift
[108/386] Compiling ArgumentParser BashCompletionsGenerator.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-4606859-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
/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/74] Compiling SwiftSyntax601 Empty.swift
[6/74] Emitting module SwiftSyntax601
[7/75] Emitting module SwiftSyntax600
[8/75] Compiling SwiftSyntax600 Empty.swift
[9/76] Compiling SwiftSyntax601 Empty.swift
[10/76] Emitting module SwiftSyntax510
[11/76] Emitting module SwiftSyntax601
[12/77] Compiling SwiftSyntax510 Empty.swift
[13/78] Compiling SwiftSyntax600 Empty.swift
[14/78] Emitting module SwiftSyntax600
[15/79] Emitting module SwiftSyntax509
[16/79] Compiling SwiftSyntax509 Empty.swift
[17/80] Compiling SwiftSyntax510 Empty.swift
[18/80] Emitting module SwiftSyntax510
[26/92] Compiling Yams Tag.swift
[27/92] Compiling Yams YamlAnchorProviding.swift
[28/192] Compiling SwiftSyntax509 Empty.swift
[29/192] Emitting module SwiftSyntax509
[31/193] Compiling SwiftIndexStore OptionSetDisplayable.swift
[32/199] 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"]
[33/255] Compiling SwiftSyntax Syntax.swift
[34/255] Compiling SwiftSyntax SyntaxArena.swift
[35/260] Emitting module Yams
[36/260] Compiling SwiftIndexStore IndexStoreUnit.swift
[37/260] Compiling SwiftIndexStore UnfairLock.swift
[38/260] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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.
[39/260] Compiling SwiftSyntax SyntaxChildren.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.
[40/260] Compiling SwiftSyntax SyntaxCollection.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.
[41/260] Compiling SwiftSyntax SyntaxHashable.swift
[42/260] Compiling SwiftSyntax Identifier.swift
[43/260] Compiling SwiftSyntax SyntaxNodeStructure.swift
[44/260] Compiling SwiftSyntax SyntaxProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/260] Compiling SwiftSyntax SyntaxIdentifier.swift
[46/260] Compiling SwiftSyntax SyntaxNodeFactory.swift
[47/260] 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(
[48/260] Emitting module ArgumentParserToolInfo
[49/260] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/261] Emitting module ArgumentParserToolInfo
[51/261] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/262] Wrapping AST for SwiftSyntax600 for debugging
[54/262] Compiling SwiftSyntax SourceLocation.swift
[55/262] Compiling SwiftSyntax SourcePresence.swift
[56/262] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[58/262] Compiling SwiftSyntax SyntaxText.swift
[59/262] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[61/262] Compiling Yams YamlError.swift
[62/262] Compiling Yams YamlTagProviding.swift
[63/262] 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 | )
[64/262] Compiling SwiftIndexStore SwiftIndexStore.swift
[65/262] Compiling SwiftSyntax TokenDiagnostic.swift
[66/262] Compiling SwiftSyntax TokenSequence.swift
[67/262] Compiling SwiftSyntax TokenSyntax.swift
BUILD FAILURE 6.1 wasm