The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StubNetworkKit, reference main (26945c), with Swift 6.1 for macOS (SPM) on 3 Nov 2026 22:59:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/417-72KI/StubNetworkKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/417-72KI/StubNetworkKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 26945c8 enable to set DEBUG from environment values
Cloned https://github.com/417-72KI/StubNetworkKit.git
Revision (git rev-parse @):
26945c82291371114102c866e6403a18d5f0fe80
SUCCESS checkout https://github.com/417-72KI/StubNetworkKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/417-72KI/StubNetworkKit.git
https://github.com/417-72KI/StubNetworkKit.git
{
  "dependencies" : [
    {
      "identity" : "multipartformdataparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/417-72KI/MultipartFormDataParser.git"
    },
    {
      "identity" : "swiftlintplugins",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.65.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SimplyDanny/SwiftLintPlugins.git"
    },
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.12.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "apikit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.4.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ishkawa/APIKit.git"
    }
  ],
  "manifest_display_name" : "StubNetworkKit",
  "name" : "StubNetworkKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "StubNetworkKit",
      "targets" : [
        "StubNetworkKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "StubNetworkKitTests",
      "module_type" : "SwiftTarget",
      "name" : "StubNetworkKitTests",
      "path" : "Tests/StubNetworkKitTests",
      "product_dependencies" : [
        "Alamofire",
        "APIKit",
        "SwiftLintBuildToolPlugin"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StubNetworkKitTests/_Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Condition/AnyStubConditionTests.swift",
        "Condition/BodyTests.swift",
        "Condition/StubCondition+ResultBuilderTests.swift",
        "Examples/StubNetworkKitTests.swift",
        "Examples/StubNetworkKitTests_SwiftTesting.swift",
        "Matcher/StubMatcher+OperatorsTests.swift",
        "Matcher/StubMatcherTests.swift",
        "Sample/APIKitSampleTests.swift",
        "Sample/AlamofireSampleTests.swift",
        "Stub/StubTests.swift",
        "_Entitites/SampleEntity.swift",
        "_Util/Constant.swift",
        "_Util/URLRequest+.swift",
        "_Util/URLSession+Concurrency+LinuxSupport.swift"
      ],
      "target_dependencies" : [
        "StubNetworkKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StubNetworkKit",
      "module_type" : "SwiftTarget",
      "name" : "StubNetworkKit",
      "path" : "Sources/StubNetworkKit",
      "product_dependencies" : [
        "MultipartFormDataParser",
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "StubNetworkKit"
      ],
      "sources" : [
        "Condition/ANDStubCondition.swift",
        "Condition/AnyStubCondition.swift",
        "Condition/Body.swift",
        "Condition/Header.swift",
        "Condition/Host.swift",
        "Condition/Method.swift",
        "Condition/ORStubCondition.swift",
        "Condition/Path.swift",
        "Condition/PathExtension.swift",
        "Condition/QueryParams.swift",
        "Condition/Scheme.swift",
        "Condition/StubCondition+ResultBuilder.swift",
        "Condition/StubCondition.swift",
        "Matcher/StubMatcher+Operators.swift",
        "Matcher/StubMatcher.swift",
        "Response/StubResponse+Fixtures.swift",
        "Response/StubResponse+Path.swift",
        "Response/StubResponse.swift",
        "Stub.swift",
        "StubError.swift",
        "StubNetworking.swift",
        "StubURLProtocol.swift",
        "Util/Extension/Sequence.swift",
        "Util/JSON.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Fetching https://github.com/417-72KI/MultipartFormDataParser.git
Fetching https://github.com/ishkawa/APIKit.git
Fetching https://github.com/SimplyDanny/SwiftLintPlugins.git
Fetching https://github.com/Alamofire/Alamofire.git
[8/362] Fetching swiftlintplugins
[193/5927] Fetching swiftlintplugins, apikit
[809/8224] Fetching swiftlintplugins, apikit, multipartformdataparser
[6779/41313] Fetching swiftlintplugins, apikit, multipartformdataparser, alamofire
Fetched https://github.com/SimplyDanny/SwiftLintPlugins.git from cache (5.61s)
Fetched https://github.com/417-72KI/MultipartFormDataParser.git from cache (5.61s)
Fetched https://github.com/ishkawa/APIKit.git from cache (5.61s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.61s)
Computing version for https://github.com/ishkawa/APIKit.git
Computed https://github.com/ishkawa/APIKit.git at 5.4.0 (9.05s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins.git
Computed https://github.com/SimplyDanny/SwiftLintPlugins.git at 0.65.1 (0.49s)
Computing version for https://github.com/417-72KI/MultipartFormDataParser.git
Computed https://github.com/417-72KI/MultipartFormDataParser.git at 2.4.0 (0.55s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.54s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins.git
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins.git resolved at 0.65.1
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/ishkawa/APIKit.git
Working copy of https://github.com/ishkawa/APIKit.git resolved at 5.4.0
Creating working copy for https://github.com/417-72KI/MultipartFormDataParser.git
Working copy of https://github.com/417-72KI/MultipartFormDataParser.git resolved at 2.4.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip
[16375/75992853] Downloading https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip (3.73s)
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 macosSpm