The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DangerSwiftPeriphery, reference main (247641), with Swift 6.1 for Android on 29 May 2025 09:58:45 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/taji-taji/DangerSwiftPeriphery.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/taji-taji/DangerSwiftPeriphery
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2476413 Merge pull request #71 from taji-taji/release/1.4.1
Cloned https://github.com/taji-taji/DangerSwiftPeriphery.git
Revision (git rev-parse @):
2476413ea55b828784dc742a64ca7dfe88131904
SUCCESS checkout https://github.com/taji-taji/DangerSwiftPeriphery.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/taji-taji/DangerSwiftPeriphery.git
https://github.com/taji-taji/DangerSwiftPeriphery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/danger/swift.git"
    },
    {
      "identity" : "swift-shell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/taji-taji/swift-shell.git"
    },
    {
      "identity" : "periphery",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/peripheryapp/periphery"
    }
  ],
  "manifest_display_name" : "DangerSwiftPeriphery",
  "name" : "DangerSwiftPeriphery",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DangerSwiftPeriphery",
      "targets" : [
        "DangerSwiftPeriphery"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DangerDeps",
      "targets" : [
        "DangerDependencies"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DangerSwiftPeripheryTests",
      "module_type" : "SwiftTarget",
      "name" : "DangerSwiftPeripheryTests",
      "path" : "Tests/DangerSwiftPeripheryTests",
      "sources" : [
        "CheckstyleOutputParserTests.swift",
        "DangerSwiftPeripheryTests.swift",
        "Mocks/CheckstyleOutputParsableMock.swift",
        "Mocks/PeripheryScanExecutableMock.swift",
        "Mocks/PullRequestDiffProvidableMock.swift",
        "Mocks/ShellExecutableMock.swift",
        "Mocks/ViolationNotifierMock.swift",
        "PeripheryExecutionTests.swift",
        "PeripheryScanCommandBuilderTests.swift",
        "PeripheryScanExecutorTests.swift",
        "PeripheryScanOptionsBuilderTests.swift",
        "PeripheryScanOptionsTests.swift"
      ],
      "target_dependencies" : [
        "DangerSwiftPeriphery"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DangerSwiftPeriphery",
      "module_type" : "SwiftTarget",
      "name" : "DangerSwiftPeriphery",
      "path" : "Sources/DangerSwiftPeriphery",
      "product_dependencies" : [
        "Danger",
        "periphery",
        "SwiftShell"
      ],
      "product_memberships" : [
        "DangerSwiftPeriphery",
        "DangerDeps"
      ],
      "sources" : [
        "CheckstyleOutputParser.swift",
        "CurrentPathProvider.swift",
        "DangerDSL+Extensions.swift",
        "DangerPeriphery.swift",
        "FileDiff.swift",
        "Logger.swift",
        "PeripheryScanCommandBuilder.swift",
        "PeripheryScanExecutor.swift",
        "PeripheryScanOptions.swift",
        "PeripheryScanOptionsBuilder.swift",
        "PullRequestDiffProvidable.swift",
        "ShellExecutor.swift",
        "Violation.swift",
        "ViolationNotifier.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DangerDependencies",
      "module_type" : "SwiftTarget",
      "name" : "DangerDependencies",
      "path" : "Sources/DangerDependencies",
      "product_memberships" : [
        "DangerDeps"
      ],
      "sources" : [
        "Fake.swift"
      ],
      "target_dependencies" : [
        "DangerSwiftPeriphery"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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/peripheryapp/periphery
Fetching https://github.com/danger/swift.git
Fetching https://github.com/taji-taji/swift-shell.git
[1/148] Fetching swift-shell
Fetched https://github.com/taji-taji/swift-shell.git from cache (0.27s)
[1/10264] Fetching swift
[7802/22453] Fetching swift, periphery
Fetched https://github.com/danger/swift.git from cache (0.85s)
Fetched https://github.com/peripheryapp/periphery from cache (0.86s)
Computing version for https://github.com/taji-taji/swift-shell.git
Computed https://github.com/taji-taji/swift-shell.git at 1.0.2 (3.42s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.21.1 (0.51s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
[1/116] Fetching logger
[117/404] Fetching logger, version
[405/5399] Fetching logger, version, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.26s)
[3613/5111] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.37s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.37s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.90s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.68s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.70s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.94s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (3.33s)
Computing version for https://github.com/peripheryapp/periphery
Computed https://github.com/peripheryapp/periphery at 2.21.2 (1.43s)
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/ileitch/swift-filename-matcher
[1/2127] Fetching aexml
[257/2446] Fetching aexml, swift-indexstore
[2107/13103] Fetching aexml, swift-indexstore, yams
[2448/13157] Fetching aexml, swift-indexstore, yams, swift-filename-matcher
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.59s)
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.62s)
Fetching https://github.com/apple/swift-system
Fetched https://github.com/tadija/AEXML from cache (0.62s)
[746/10657] Fetching yams
[747/26036] Fetching yams, swift-argument-parser
[21135/30427] Fetching yams, swift-argument-parser, swift-system
[25846/100879] Fetching yams, swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.64s)
[26362/96488] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.38s)
[17088/81109] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (2.78s)
Fetched https://github.com/apple/swift-syntax from cache (4.96s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.3.0 (5.45s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (0.63s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 0.1.2 (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.18s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.68s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.96s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Creating working copy for https://github.com/peripheryapp/periphery
Working copy of https://github.com/peripheryapp/periphery resolved at 2.21.2
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/taji-taji/swift-shell.git
Working copy of https://github.com/taji-taji/swift-shell.git resolved at 1.0.2
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.21.1
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.3.0
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/61] Write sources
[21/61] Compiling _SwiftSyntaxCShims dummy.c
[22/61] Compiling _CIndexStore dummy.c
[23/61] Compiling reader.c
[23/61] Write sources
[27/61] Compiling CSystem shims.c
[28/61] Compiling writer.c
[29/61] Compiling parser.c
[30/61] Compiling api.c
[31/61] Write swift-version-24593BA9C3E375BF.txt
[32/61] Compiling emitter.c
[33/63] Compiling scanner.c
[35/114] Emitting module SystemPackage
[36/117] 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
[37/117] 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
[38/117] 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
[39/117] 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
[42/119] 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
[43/119] 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
[45/120] Compiling SystemPackage Util+StringArray.swift
[46/120] Compiling SystemPackage Util.swift
[47/120] Compiling SystemPackage UtilConsumers.swift
[48/120] Compiling SystemPackage MachPort.swift
[49/120] Compiling SystemPackage PlatformString.swift
[50/120] Compiling SystemPackage SystemString.swift
[51/120] Compiling SystemPackage FileOperations.swift
[52/120] Compiling SystemPackage FilePath.swift
[53/120] Compiling SystemPackage FilePathComponentView.swift
[54/120] Compiling SystemPackage FilePathComponents.swift
[55/120] Compiling SystemPackage Errno.swift
[56/120] Compiling SystemPackage ErrnoWindows.swift
[57/120] Compiling SystemPackage FileDescriptor.swift
[58/120] Compiling SystemPackage FileHelpers.swift
[59/120] Compiling SystemPackage FilePathParsing.swift
[60/120] Compiling SystemPackage FilePathString.swift
[61/120] Compiling SystemPackage FilePathSyntax.swift
[62/120] Compiling SystemPackage FilePathTemp.swift
[63/120] Compiling SwiftIndexStore IndexStoreUnit.swift
[66/145] Emitting module FilenameMatcher
[67/145] Compiling SystemPackage Mocking.swift
[68/145] Compiling SystemPackage RawBuffer.swift
[69/145] Compiling SystemPackage Syscalls.swift
[70/145] Compiling SystemPackage WindowsSyscallAdapters.swift
[71/145] Compiling Yams Parser.swift
[72/145] Compiling Yams RedundancyAliasingStrategy.swift
[73/145] Compiling Yams Representer.swift
[74/145] Compiling Yams Resolver.swift
[75/145] Compiling Yams String+Yams.swift
[76/145] Compiling Yams Tag.swift
[77/145] Compiling Yams YamlAnchorProviding.swift
[78/145] Compiling SystemPackage Exports.swift
[80/146] Compiling RequestKit Router.swift
[81/146] Emitting module DangerShellExecutor
[82/146] Compiling DangerShellExecutor ShellExecutor.swift
[83/147] Compiling RequestKit JSONPostRouter.swift
[84/147] Emitting module RequestKit
[85/147] Compiling RequestKit RequestKitSession.swift
[86/147] Emitting module Logger
[87/147] Compiling Logger Logger.swift
[89/149] Compiling SwiftShell ShellError.swift
[90/149] Compiling SwiftIndexStore OptionSetDisplayable.swift
[91/149] Compiling SwiftIndexStore UnfairLock.swift
[92/149] 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 |             }
[93/149] Compiling SwiftIndexStore SwiftIndexStore.swift
[94/149] Compiling SwiftIndexStore Process+Extension.swift
[95/149] Compiling FilenameMatcher FilenameMatcher.swift
[96/150] Emitting module SwiftShell
[97/150] Compiling SwiftShell Shell.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/151] 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 {
[101/151] Compiling Yams Constructor.swift
[102/151] Compiling Yams Decoder.swift
[103/158] Compiling AEXML Error.swift
[104/158] Compiling AEXML Document.swift
[105/158] Compiling AEXML Builders.swift
[106/158] Compiling AEXML Options.swift
[107/158] Compiling AEXML Parser.swift
[108/158] Emitting module AEXML
[109/158] Compiling AEXML Element.swift
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
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/29] Write swift-version-24593BA9C3E375BF.txt
[3/91] Emitting module DangerShellExecutor
[4/91] Emitting module SwiftSyntax510
[5/91] Compiling SwiftSyntax600 Empty.swift
[6/91] Emitting module SwiftSyntax600
[7/92] Compiling SwiftSyntax509 Empty.swift
[8/92] Emitting module SwiftSyntax509
[9/93] Emitting module Logger
[10/93] Compiling SwiftSyntax510 Empty.swift
[11/93] Compiling DangerShellExecutor ShellExecutor.swift
[14/95] Compiling RequestKit RequestKitSession.swift
[15/95] Compiling RequestKit Router.swift
[18/95] Compiling RequestKit JSONPostRouter.swift
[19/95] Emitting module RequestKit
[20/98] Compiling Logger Logger.swift
[22/114] Emitting module ArgumentParserToolInfo
[24/204] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[25/204] Compiling SwiftSyntax Syntax.swift
[26/204] Compiling SwiftSyntax SyntaxArena.swift
[27/204] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[28/207] Compiling SwiftShell ShellError.swift
[29/207] 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 |             }
[30/208] Emitting module SwiftShell
[31/208] Compiling SwiftSyntax AbsolutePosition.swift
[32/208] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[33/208] Compiling SwiftShell Shell.swift
[34/209] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[35/209] Compiling SwiftSyntax Assert.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/209] 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 {
[37/209] Compiling SwiftIndexStore IndexStoreUnit.swift
[38/209] Compiling SwiftSyntax SyntaxBaseNodes.swift
[39/209] Compiling SwiftSyntax SyntaxCollections.swift
[40/209] Compiling SwiftSyntax SyntaxEnum.swift
[41/209] Compiling SwiftSyntax SourcePresence.swift
[42/209] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[43/209] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[44/209] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[45/209] Compiling SwiftSyntax BumpPtrAllocator.swift
[46/209] Compiling SwiftSyntax CommonAncestor.swift
[47/209] Compiling SwiftSyntax Convenience.swift
[48/209] Compiling SwiftSyntax CustomTraits.swift
[49/209] Compiling SwiftSyntax SyntaxChildren.swift
[50/209] Compiling SwiftSyntax SyntaxCollection.swift
[51/209] Compiling SwiftSyntax SyntaxHashable.swift
[52/209] Compiling SwiftSyntax SyntaxIdentifier.swift
[54/209] Emitting module FilenameMatcher
[55/209] Compiling FilenameMatcher FilenameMatcher.swift
[56/210] Compiling ArgumentParserToolInfo ToolInfo.swift
[58/211] Compiling SwiftIndexStore UnfairLock.swift
[59/211] Compiling SwiftIndexStore Process+Extension.swift
[60/211] Compiling SwiftIndexStore OptionSetDisplayable.swift
[61/211] Compiling SwiftIndexStore SwiftIndexStore.swift
[69/213] Emitting module SystemPackage
[69/213] Wrapping AST for SwiftSyntax600 for debugging
BUILD FAILURE 6.1 android