The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pecker, reference master (bd6931), with Swift 6.1 for Android on 28 May 2025 08:37:09 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/woshiccm/Pecker.git
Reference: master
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/woshiccm/Pecker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bd69311 Merge pull request #70 from ArthurChi/master
Cloned https://github.com/woshiccm/Pecker.git
Revision (git rev-parse @):
bd6931173f57d696c24e530514bb0e8a2b3346f7
SUCCESS checkout https://github.com/woshiccm/Pecker.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/woshiccm/Pecker.git
https://github.com/woshiccm/Pecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50500.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "indexstore-db",
      "requirement" : {
        "branch" : [
          "release/5.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/indexstore-db.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "0.3.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "pecker",
  "name" : "pecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "pecker",
      "targets" : [
        "Pecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PeckerTests",
      "module_type" : "SwiftTarget",
      "name" : "PeckerTests",
      "path" : "Tests/PeckerTests",
      "sources" : [
        "PeckerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Pecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PeckerKit",
      "module_type" : "SwiftTarget",
      "name" : "PeckerKit",
      "path" : "Sources/PeckerKit",
      "product_dependencies" : [
        "SwiftSyntax",
        "IndexStoreDB",
        "SwiftToolsSupport-auto",
        "Yams"
      ],
      "product_memberships" : [
        "pecker"
      ],
      "sources" : [
        "Analyzer.swift",
        "CollectContext.swift",
        "Configuration.swift",
        "Extensions/Array+Extension.swift",
        "Extensions/Dictionary+Extension.swift",
        "Extensions/SwiftSyntax+Extension.swift",
        "Extensions/SymbolOccurrence+Extension.swift",
        "Logging/LogLevel.swift",
        "Logging/Logging.swift",
        "Models/Function.swift",
        "Models/ReporterType.swift",
        "Models/RuleType.swift",
        "Models/SourceDetail.swift",
        "Models/SourceLocation.swift",
        "Models/XMLElement.swift",
        "Models/XMLElementKind.swift",
        "Models/YamlConfiguration.swift",
        "Reporters/JSONReporter.swift",
        "Reporters/Reporter.swift",
        "Reporters/ReporterFactory.swift",
        "Reporters/XcodeReporter.swift",
        "Rules/AttributesRule.swift",
        "Rules/BlacklistSources.swift",
        "Rules/CommentRule.swift",
        "Rules/Rule.swift",
        "Rules/RuleFactory.swift",
        "Rules/SkipOptionalFunctionRule.swift",
        "Rules/SkipPublicRule.swift",
        "Rules/SuperClassRule.swift",
        "Rules/XCTestRule.swift",
        "Rules/XMLRule.swift",
        "SourceCollector.swift",
        "SourceKitServer/DatabaseBuildSystem.swift",
        "SourceKitServer/SourceKitServer.swift",
        "SourceKitServer/Workspace.swift",
        "SwiftSourceCollectVisitor.swift",
        "Utils/Regex.swift",
        "Utils/ThreadSafe.swift",
        "Utils/Validation.swift",
        "XMLServer/XMLParserCoordinator.swift",
        "XMLServer/XMLServer.swift",
        "YamlParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Pecker",
      "module_type" : "SwiftTarget",
      "name" : "Pecker",
      "path" : "Sources/Pecker",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "pecker"
      ],
      "sources" : [
        "PeckerCommand.swift",
        "ToolMode.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PeckerKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
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/apple/indexstore-db.git
[1/5215] Fetching indexstore-db
Fetched https://github.com/apple/indexstore-db.git from cache (0.83s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6763] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.42s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
[6289/26008] Fetching yams, swift-argument-parser
[24198/96456] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.98s)
[19816/81105] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.27s)
[19021/70448] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.34s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (6.44s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50500.0 (0.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.58s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50500.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at main (7436264)
Creating working copy for https://github.com/apple/indexstore-db.git
Working copy of https://github.com/apple/indexstore-db.git resolved at release/5.5 (e771994)
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 0.3.2
Building for debugging...
[0/118] Write sources
[8/118] Compiling atomic-counter.c
[9/118] Compiling reader.c
[10/118] Compiling TSCclibc strerror.c
[10/118] Write sources
[12/118] Compiling TSCclibc process.c
[13/118] Compiling TSCclibc libc.c
[14/118] Compiling parser.c
[15/118] Compiling emitter.c
[16/118] Write swift-version-24593BA9C3E375BF.txt
[17/118] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[18/118] Compiling IndexStoreDB_Support Logging-Mac.mm
[19/118] Compiling scanner.c
[20/188] Compiling IndexStoreDB_Support PatternMatching.cpp
[21/188] Compiling Mutex.cpp
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/Support/Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found
   19 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[22/188] Compiling IndexStoreDB_Support Logging.cpp
[22/188] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[22/188] Compiling raw_ostream.cpp
[22/188] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[22/188] Compiling IndexStoreDB_Support Path.cpp
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
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/Support/Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found
   19 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/97] Compiling IndexStoreDB_Support Logging.cpp
[0/97] Compiling circular_raw_ostream.cpp
[0/97] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[0/97] Compiling raw_ostream.cpp
[0/97] Compiling YAMLTraits.cpp
[0/97] Compiling IndexStoreDB_Support Path.cpp
[0/97] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[0/97] Compiling YAMLParser.cpp
BUILD FAILURE 6.1 android