Build Information
Failed to build swift-weak-self-check, reference main (8644fa
), with Swift 6.1 for Android on 30 May 2025 21:06:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
[1/319] Fetching swift-indexstore
[311/10976] Fetching swift-indexstore, yams
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (0.59s)
[533/10657] Fetching yams
[747/26043] Fetching yams, swift-argument-parser
[15673/96565] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.93s)
[37456/81179] Fetching yams, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.01s)
Fetched https://github.com/jpsim/Yams.git from cache (11.01s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (12.04s)
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.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.41s)
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
/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
[23/88] Compiling _SwiftSyntaxCShims dummy.c
[24/88] Compiling _CIndexStore dummy.c
[24/88] Write sources
[27/88] Compiling _SwiftSyntaxCShims dummy.c
[28/88] Compiling writer.c
[29/88] Write sources
[37/88] Compiling _CIndexStore dummy.c
[38/88] Compiling reader.c
[39/88] Compiling api.c
[40/88] Compiling parser.c
[41/88] Compiling writer.c
[42/88] Compiling reader.c
[42/88] Write sources
[45/88] Compiling emitter.c
[45/88] Compiling scanner.c
[45/88] Write swift-version-24593BA9C3E375BF.txt
[48/88] Compiling parser.c
[49/88] Compiling api.c
[50/88] Compiling emitter.c
[51/114] Compiling scanner.c
[53/120] 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
[54/120] 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
[55/140] 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
[56/141] 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
<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 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
<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/143] 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/143] 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/144] 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/144] 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/145] Compiling Yams Resolver.swift
[65/145] Compiling Yams String+Yams.swift
[66/147] 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
[73/148] Emitting module Yams
[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
[75/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
[76/177] 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
[77/177] 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 ArgumentParserToolInfo
[80/178] Wrapping AST for SwiftSyntax601 for debugging
[82/306] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[83/306] Compiling SwiftSyntax TokenDiagnostic.swift
[84/308] Emitting module ArgumentParserToolInfo
[85/308] Compiling ArgumentParserToolInfo ToolInfo.swift
[87/310] Wrapping AST for SwiftSyntax600 for debugging
[89/310] Wrapping AST for SwiftSyntax510 for debugging
[91/386] Compiling ArgumentParser ZshCompletionsGenerator.swift
[92/386] Compiling ArgumentParser Argument.swift
[93/386] Compiling ArgumentParser CompletionsGenerator.swift
[94/386] Compiling ArgumentParser FishCompletionsGenerator.swift
[95/386] Compiling ArgumentParser ArgumentDecoder.swift
[96/386] Compiling ArgumentParser ArgumentVisibility.swift
[97/386] Compiling ArgumentParser CompletionKind.swift
[98/386] Compiling ArgumentParser ParsableArguments.swift
[99/386] Compiling ArgumentParser ParsableArgumentsValidation.swift
[100/386] Compiling ArgumentParser ParsableCommand.swift
[101/386] Compiling ArgumentParser NameSpecification.swift
[102/386] Compiling ArgumentParser Option.swift
[103/386] Compiling ArgumentParser BashCompletionsGenerator.swift
[104/386] Compiling ArgumentParser OptionGroup.swift
[105/386] Compiling ArgumentParser AsyncParsableCommand.swift
[106/386] Compiling ArgumentParser CommandConfiguration.swift
[107/386] Compiling ArgumentParser CommandGroup.swift
[108/386] Compiling ArgumentParser EnumerableFlag.swift
[109/386] Compiling ArgumentParser ExpressibleByArgument.swift
[110/387] Wrapping AST for Yams for debugging
[111/387] Wrapping AST for SwiftSyntax509 for debugging
<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
<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
<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
<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
<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
[121/396] Wrapping AST for ArgumentParserToolInfo for debugging
[122/396] Wrapping AST for SwiftSyntax601 for debugging
[124/396] Compiling SwiftIndexStore Process+Extension.swift
[125/397] Compiling SwiftIndexStore IndexStoreUnit.swift
[126/397] Compiling SwiftIndexStore LibIndexStore.swift
[126/397] Wrapping AST for SwiftSyntax600 for debugging
[130/397] Compiling SwiftIndexStore UnfairLock.swift
[132/397] Wrapping AST for SwiftSyntax510 for debugging
[134/397] Emitting module SwiftIndexStore
[134/397] Wrapping AST for SwiftSyntax509 for debugging
[135/397] Wrapping AST for ArgumentParserToolInfo for debugging
[137/397] Emitting module ArgumentParser
[138/402] Compiling SwiftIndexStore SwiftIndexStore.swift
[139/402] Compiling SwiftIndexStore OptionSetDisplayable.swift
[141/404] Wrapping AST for SwiftIndexStore for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[154/404] 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 {
[155/404] Compiling ArgumentParser Errors.swift
[156/404] Compiling ArgumentParser Flag.swift
[162/404] Emitting module Yams
[172/405] Emitting module ArgumentParser
[180/410] Compiling SwiftIndexStore IndexStoreUnit.swift
[183/410] 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 | }
[184/410] Compiling SwiftIndexStore SwiftIndexStore.swift
[185/410] Compiling SwiftIndexStore Process+Extension.swift
[186/410] Compiling SwiftIndexStore UnfairLock.swift
[186/410] Wrapping AST for Yams for debugging
<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
<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
<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
<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
<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
<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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/92] Emitting module SwiftSyntax600
[6/92] Compiling SwiftSyntax600 Empty.swift
[7/92] Compiling SwiftSyntax601 Empty.swift
[8/93] Emitting module SwiftSyntax600
[9/93] Emitting module SwiftSyntax601
[10/94] Compiling SwiftSyntax600 Empty.swift
[11/95] Emitting module SwiftSyntax510
[12/95] Compiling SwiftSyntax510 Empty.swift
[13/96] Compiling SwiftSyntax601 Empty.swift
[14/96] Emitting module SwiftSyntax601
[15/97] Emitting module SwiftSyntax510
[16/97] Compiling SwiftSyntax510 Empty.swift
[23/108] Compiling Yams Tag.swift
[24/108] Compiling Yams YamlAnchorProviding.swift
[25/118] Compiling SwiftSyntax509 Empty.swift
[26/122] Emitting module SwiftSyntax509
[27/123] Compiling SwiftSyntax509 Empty.swift
[28/123] Compiling Yams Node.Sequence.swift
[29/123] Compiling Yams Node.swift
[30/125] Emitting module SwiftSyntax509
[31/126] Compiling Yams Resolver.swift
[32/126] Compiling Yams String+Yams.swift
[33/126] Compiling SwiftIndexStore IndexStoreUnit.swift
[37/125] Compiling Yams Node.Scalar.swift
[38/125] 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 | }
[40/126] Compiling SwiftIndexStore IndexStoreUnit.swift
[41/126] Compiling SwiftIndexStore IndexStoreRelation.swift
[42/126] Compiling SwiftIndexStore IndexStoreSymbol.swift
[43/126] Compiling SwiftIndexStore UnfairLock.swift
[46/214] Compiling SwiftSyntax SourcePresence.swift
[47/214] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[48/254] Compiling SwiftIndexStore UnfairLock.swift
[49/254] Compiling SwiftSyntax AbsolutePosition.swift
[50/254] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[51/254] Emitting module SwiftIndexStore
[52/254] Compiling SwiftIndexStore OptionSetDisplayable.swift
[53/254] Compiling SwiftIndexStore Process+Extension.swift
[54/254] Compiling SwiftIndexStore SwiftIndexStore.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/254] 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 {
[58/255] Emitting module Yams
[61/255] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[62/255] Emitting module Yams
[66/254] Compiling SwiftIndexStore SwiftIndexStore.swift
[67/254] Compiling SwiftIndexStore Process+Extension.swift
[68/254] Compiling SwiftIndexStore OptionSetDisplayable.swift
[69/254] Compiling SwiftSyntax Assert.swift
[70/254] Compiling SwiftSyntax BumpPtrAllocator.swift
[71/254] Compiling SwiftSyntax CommonAncestor.swift
BUILD FAILURE 6.1 android