Build Information
Failed to build swift-weak-self-check, reference main (1bbad2
), with Swift 6.1 for Android on 4 Sep 2025 20:29:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.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 1bbad28 Merge pull request #22 from p-x9/feature/migrate-deprecated-api
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
1bbad286af0a19f7a90d16003551d04d3f2f14b3
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"
},
{
"identity" : "swift-source-reporter",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/swift-source-reporter.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",
"SourceReporter"
],
"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",
"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" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/p-x9/swift-source-reporter.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/47] Fetching swift-source-reporter
[48/370] Fetching swift-source-reporter, swift-indexstore
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (0.34s)
[48/11183] Fetching swift-source-reporter, yams
[1273/83033] Fetching swift-source-reporter, yams, swift-syntax
[1609/98725] Fetching swift-source-reporter, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (1.79s)
[74249/98678] Fetching yams, swift-syntax, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.84s)
[65269/87542] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.58s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.64s)
Computing version for https://github.com/p-x9/swift-source-reporter.git
Computed https://github.com/p-x9/swift-source-reporter.git at 0.2.0 (6.17s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.4.0 (9.13s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.50s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.53s)
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.4.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.6.1
Creating working copy for https://github.com/p-x9/swift-source-reporter.git
Working copy of https://github.com/p-x9/swift-source-reporter.git resolved at 0.2.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
/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.url.path
| |- 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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/93] Write sources
[19/93] Compiling _SwiftSyntaxCShims dummy.c
[20/93] Compiling _CIndexStore dummy.c
[20/93] Compiling reader.c
[20/93] Write sources
[25/93] Compiling writer.c
[25/93] Write sources
[40/93] Compiling _CIndexStore dummy.c
[41/93] Compiling _SwiftSyntaxCShims dummy.c
[42/93] Compiling writer.c
[43/93] Compiling api.c
[44/93] Compiling reader.c
[45/93] Compiling scanner.c
[45/93] Write sources
[48/93] Compiling emitter.c
[49/93] Write swift-version-24593BA9C3E375BF.txt
[49/93] Compiling parser.c
[52/106] Compiling scanner.c
[53/115] Compiling api.c
[54/123] Compiling emitter.c
[56/145] Compiling SwiftSyntax601 Empty.swift
[57/145] Emitting module SwiftSyntax601
[58/146] Emitting module SwiftSyntax510
[59/146] Compiling SwiftSyntax510 Empty.swift
[61/147] Emitting module SwiftSyntax600
[62/147] Compiling SwiftSyntax600 Empty.swift
[63/148] Emitting module SwiftSyntax601
[64/148] Compiling SwiftSyntax601 Empty.swift
[66/149] Emitting module SwiftSyntax600
[67/149] Compiling SwiftSyntax600 Empty.swift
[69/150] Compiling SwiftSyntax510 Empty.swift
[70/150] Emitting module SwiftSyntax510
[74/153] Emitting module SwiftSyntax509
[75/165] Compiling SwiftSyntax509 Empty.swift
[76/166] Compiling Yams Tag.swift
[77/166] Compiling Yams YamlAnchorProviding.swift
[78/185] Emitting module SwiftSyntax509
[79/185] Compiling SwiftSyntax509 Empty.swift
[80/186] Compiling SwiftIndexStore IndexStoreError.swift
[81/186] Compiling SwiftIndexStore IndexStoreOccurrence.swift
[82/186] Compiling SwiftIndexStore IndexStoreRelation.swift
[85/195] Emitting module ArgumentParserToolInfo
[86/259] Compiling ArgumentParserToolInfo ToolInfo.swift
[88/260] Compiling SwiftSyntax SourceLength.swift
[89/260] Compiling SwiftSyntax SyntaxIdentifier.swift
[90/326] Compiling SwiftSyntax AbsolutePosition.swift
[91/326] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[92/326] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[93/326] Compiling SwiftSyntax SourcePresence.swift
[94/326] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[95/326] Compiling SwiftSyntax RawSyntaxTokenView.swift
[96/326] Compiling SwiftSyntax SourceEdit.swift
[97/326] Emitting module Yams
[98/326] Compiling SwiftSyntax RawSyntax.swift
[99/326] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[100/326] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[101/326] Compiling SwiftSyntax Convenience.swift
[102/326] Compiling SwiftSyntax CustomTraits.swift
[103/326] Compiling SwiftSyntax EditorPlaceholder.swift
[104/326] Compiling SwiftSyntax Assert.swift
[105/326] Compiling SwiftSyntax BumpPtrAllocator.swift
[106/326] Compiling SwiftSyntax CommonAncestor.swift
[107/326] Compiling SwiftSyntax Identifier.swift
[108/326] Compiling SwiftSyntax MemoryLayout.swift
[109/326] Compiling SwiftSyntax MissingNodeInitializers.swift
[111/327] Compiling SwiftIndexStore OptionSetDisplayable.swift
[112/328] Compiling SwiftIndexStore IndexStoreUnit.swift
[113/328] Compiling SourceReporter CallbackReporter.swift
[114/328] Emitting module SourceReporter
[115/328] Compiling SourceReporter ReportType.swift
[116/328] Compiling SourceReporter ReporterProtocol.swift
[117/328] Compiling SourceReporter XcodeReporter.swift
[118/328] Compiling SwiftIndexStore LibIndexStore.swift
[121/330] Compiling SwiftIndexStore UnfairLock.swift
[122/330] Compiling SwiftSyntax SourceLocation.swift
[125/330] Compiling SwiftSyntax Syntax.swift
[126/330] Compiling SwiftSyntax SyntaxArena.swift
[127/330] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[128/330] Compiling SwiftSyntax SyntaxChildren.swift
[129/330] Compiling SwiftSyntax SyntaxCollection.swift
[130/330] Compiling SwiftSyntax SyntaxHashable.swift
[131/339] Compiling SourceReporter CompositeReporter.swift
[132/339] Compiling SourceReporter Report.swift
[135/340] Emitting module SwiftIndexStore
[154/340] Compiling SwiftSyntax SourceLength.swift
[155/340] Compiling SwiftIndexStore Process+Extension.swift
[156/340] Compiling SwiftIndexStore SwiftIndexStore.swift
[157/385] Wrapping AST for Yams for debugging
[158/385] Wrapping AST for SwiftSyntax601 for debugging
[159/385] Wrapping AST for SwiftSyntax600 for debugging
[160/385] Wrapping AST for SwiftSyntax510 for debugging
[161/385] Wrapping AST for SwiftSyntax509 for debugging
[162/385] Wrapping AST for SwiftIndexStore for debugging
[164/385] Emitting module ArgumentParserToolInfo
[165/385] Compiling ArgumentParserToolInfo ToolInfo.swift
[165/386] Wrapping AST for SourceReporter for debugging
[167/386] Wrapping AST for ArgumentParserToolInfo for debugging
[169/386] Compiling ArgumentParser BashCompletionsGenerator.swift
[170/386] Compiling ArgumentParser CompletionsGenerator.swift
[171/386] Compiling ArgumentParser FishCompletionsGenerator.swift
[172/386] Compiling ArgumentParser ZshCompletionsGenerator.swift
[173/386] Compiling ArgumentParser Argument.swift
[174/386] Compiling ArgumentParser ArgumentDiscussion.swift
[175/386] Compiling ArgumentParser ArgumentHelp.swift
[176/386] Compiling ArgumentParser ArgumentVisibility.swift
[177/386] Compiling ArgumentParser CompletionKind.swift
[177/395] Wrapping AST for SwiftSyntax601 for debugging
[178/439] Wrapping AST for SwiftSyntax600 for debugging
[180/439] Compiling SourceReporter CompositeReporter.swift
[181/439] Emitting module SourceReporter
[182/439] Compiling SourceReporter XcodeReporter.swift
[183/439] Compiling SourceReporter ReporterProtocol.swift
[184/439] Compiling SourceReporter CallbackReporter.swift
[185/439] Compiling ArgumentParser ZshCompletionsGenerator.swift
[186/439] Compiling ArgumentParser Argument.swift
[187/439] Compiling SourceReporter ReportType.swift
[188/439] Compiling SourceReporter Report.swift
[189/440] Compiling ArgumentParser Errors.swift
[190/440] Compiling ArgumentParser Flag.swift
[191/440] Compiling SwiftIndexStore IndexStoreUnit.swift
[192/441] Compiling SwiftIndexStore Process+Extension.swift
[193/441] 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 | }
[194/441] Compiling SwiftIndexStore OptionSetDisplayable.swift
[195/441] Compiling SwiftIndexStore SwiftIndexStore.swift
[196/441] Compiling ArgumentParser ParsableArguments.swift
[197/441] Compiling ArgumentParser ParsableCommand.swift
[198/441] Compiling ArgumentParser OptionGroup.swift
[199/441] Compiling ArgumentParser AsyncParsableCommand.swift
[200/441] Compiling ArgumentParser CommandConfiguration.swift
[201/441] Compiling ArgumentParser CommandGroup.swift
[202/441] Compiling ArgumentParser EnumerableFlag.swift
[203/441] Compiling ArgumentParser ExpressibleByArgument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[204/441] 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 {
[205/441] Compiling ArgumentParser ArgumentVisibility.swift
[206/441] Compiling ArgumentParser CompletionKind.swift
[206/441] Wrapping AST for SwiftSyntax510 for debugging
[209/441] Compiling ArgumentParser BashCompletionsGenerator.swift
[210/441] Compiling ArgumentParser CompletionsGenerator.swift
[211/441] Compiling ArgumentParser FishCompletionsGenerator.swift
[213/441] Compiling ArgumentParser NameSpecification.swift
[214/441] Compiling ArgumentParser Option.swift
[215/441] Emitting module Yams
[215/442] Wrapping AST for SwiftSyntax509 for debugging
[217/442] Compiling SwiftIndexStore UnfairLock.swift
[217/442] Wrapping AST for SourceReporter for debugging
[217/442] Wrapping AST for ArgumentParserToolInfo for debugging
[218/442] Compiling ArgumentParser HelpCommand.swift
[219/442] Compiling ArgumentParser HelpGenerator.swift
[220/442] Compiling ArgumentParser MessageInfo.swift
[221/442] Compiling ArgumentParser UsageGenerator.swift
[222/442] Compiling ArgumentParser InputKey.swift
[223/442] Compiling ArgumentParser InputOrigin.swift
[224/442] Compiling ArgumentParser Name.swift
[225/442] Compiling ArgumentParser Parsed.swift
[226/442] Compiling ArgumentParser ParsedValues.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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.url.path
| |- 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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/43] Write swift-version-24593BA9C3E375BF.txt
[6/53] Emitting module SwiftSyntax510
[7/55] Emitting module SwiftSyntax600
[8/55] Compiling SwiftSyntax600 Empty.swift
[9/56] Compiling SwiftSyntax510 Empty.swift
[10/57] Emitting module SwiftSyntax601
[11/58] Emitting module SwiftSyntax600
[12/58] Compiling SwiftSyntax600 Empty.swift
[13/58] Emitting module SwiftSyntax601
[14/58] Compiling SwiftSyntax601 Empty.swift
[16/100] Emitting module SwiftSyntax510
[17/100] Compiling SwiftSyntax510 Empty.swift
[24/133] Compiling Yams Tag.swift
[25/133] Compiling Yams YamlAnchorProviding.swift
[26/135] Emitting module SwiftSyntax509
[27/135] Compiling SwiftSyntax509 Empty.swift
[29/136] Emitting module SwiftSyntax509
[32/139] Compiling SourceReporter CallbackReporter.swift
[33/139] Emitting module SourceReporter
[34/139] Compiling SourceReporter ReporterProtocol.swift
[35/139] Compiling SourceReporter XcodeReporter.swift
[36/139] Compiling Yams Resolver.swift
[37/139] Compiling Yams String+Yams.swift
[39/139] Compiling SourceReporter ReportType.swift
[40/138] Compiling SwiftIndexStore OptionSetDisplayable.swift
[41/138] Compiling SwiftIndexStore Process+Extension.swift
[45/138] Compiling SourceReporter ReportType.swift
[46/138] Compiling SwiftIndexStore OptionSetDisplayable.swift
[47/139] Compiling SwiftIndexStore IndexStoreUnit.swift
[48/139] 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 | }
[49/139] Compiling SourceReporter ReporterProtocol.swift
[50/139] Compiling SourceReporter XcodeReporter.swift
[51/139] Compiling SourceReporter CallbackReporter.swift
[52/139] Emitting module SourceReporter
[53/139] Compiling SourceReporter CompositeReporter.swift
[54/139] Compiling SourceReporter Report.swift
[55/140] Compiling SourceReporter CompositeReporter.swift
[56/140] Compiling SourceReporter Report.swift
[57/141] Compiling SwiftIndexStore LibIndexStore.swift
[58/141] Compiling SwiftIndexStore IndexStoreUnit.swift
[59/141] Compiling SwiftIndexStore IndexStoreRelation.swift
[60/141] Compiling SwiftIndexStore IndexStoreSymbol.swift
[61/141] Compiling SwiftIndexStore IndexStoreError.swift
[62/141] Compiling SwiftIndexStore IndexStoreOccurrence.swift
[66/141] Compiling SwiftIndexStore UnfairLock.swift
[69/142] Compiling Yams YamlError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/142] Compiling Yams YamlTagProviding.swift
[71/142] 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 {
[75/201] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[76/201] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[77/206] Emitting module Yams
[78/207] Compiling SwiftIndexStore SwiftIndexStore.swift
[79/209] Compiling SwiftIndexStore Process+Extension.swift
[80/209] Compiling SwiftIndexStore SwiftIndexStore.swift
[81/231] Wrapping AST for SourceReporter for debugging
[82/236] Emitting module ArgumentParserToolInfo
[83/247] Compiling SwiftSyntax SourceLocation.swift
[84/247] Compiling SwiftSyntax SourcePresence.swift
[85/247] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
BUILD FAILURE 6.1 android