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 DangerSwiftLint, reference 0.4.1 (9ade16), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 18:42:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ashfurrow/danger-swiftlint.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ashfurrow/danger-swiftlint
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 9ade161 Merge pull request #16 from marcelofabri/custom-binary-path
Cloned https://github.com/ashfurrow/danger-swiftlint.git
Revision (git rev-parse @):
9ade16147f162af9cbb37af1ea42e46d990527ee
SUCCESS checkout https://github.com/ashfurrow/danger-swiftlint.git at 0.4.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ashfurrow/danger-swiftlint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[6/9] Write swift-version-1EA4D86E10B52AF.txt
[8/17] Emitting module Logger
[9/17] Compiling Logger Logger.swift
[10/17] Compiling ShellOut ShellOut.swift
[11/17] Emitting module ShellOut
[12/17] Compiling RequestKit RequestKitSession.swift
[13/17] Compiling RequestKit Router.swift
[14/17] Compiling RequestKit JSONPostRouter.swift
[15/17] Emitting module RequestKit
[16/44] Compiling OctoKit Octokit.swift
[17/44] Compiling OctoKit Organization.swift
[18/44] Compiling OctoKit Parameters.swift
[19/46] Emitting module OctoKit
[20/46] Compiling OctoKit Configuration.swift
[21/46] Compiling OctoKit File.swift
[22/46] Compiling OctoKit Follow.swift
[23/46] Compiling OctoKit URL+URLParameters.swift
[24/46] Compiling OctoKit User.swift
[25/46] Compiling OctoKit Team.swift
[26/46] Compiling OctoKit Time.swift
[27/46] Compiling OctoKit Stars.swift
[28/46] Compiling OctoKit Statuses.swift
[29/46] Compiling OctoKit String+PercentEncoding.swift
[30/46] Compiling OctoKit Gist.swift
[31/46] Compiling OctoKit Git.swift
[32/46] Compiling OctoKit Issue.swift
[33/46] Compiling OctoKit Label.swift
[34/46] Compiling OctoKit Milestone.swift
[35/46] Compiling OctoKit NotificationThread.swift
[36/46] Compiling OctoKit Plan.swift
[37/46] Compiling OctoKit PreviewHeader.swift
[38/46] Compiling OctoKit PublicKey.swift
[39/46] Compiling OctoKit Repositories.swift
[40/46] Compiling OctoKit Review.swift
[41/46] Compiling OctoKit Search.swift
[42/46] Compiling OctoKit PullRequest.swift
[43/46] Compiling OctoKit Reactions.swift
[44/46] Compiling OctoKit Releases.swift
[45/62] Compiling Danger SwiftLint.swift
[46/63] Compiling Danger Report.swift
[47/63] Compiling Danger CurrentPathProvider.swift
[48/63] Compiling Danger ShellExecutor.swift
[49/63] Compiling Danger DangerUtils.swift
[50/63] Compiling Danger DateFormatterExtensions.swift
[51/63] Compiling Danger DangerDSL.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/danger-swift/Sources/Danger/DangerDSL.swift:61:24: error: immutable value 'self.github' may only be initialized once
14 |     public let git: Git
15 |
16 |     public let github: GitHub!
   |            `- note: change 'let' to 'var' to make it mutable
17 |
18 |     public let bitbucketServer: BitBucketServer!
   :
59 |             }
60 |
61 |             github.api = Octokit(config)
   |                        `- error: immutable value 'self.github' may only be initialized once
62 |         }
63 |     }
[52/63] Compiling Danger DangerResults.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/danger-swift/Sources/Danger/DangerDSL.swift:61:24: error: immutable value 'self.github' may only be initialized once
14 |     public let git: Git
15 |
16 |     public let github: GitHub!
   |            `- note: change 'let' to 'var' to make it mutable
17 |
18 |     public let bitbucketServer: BitBucketServer!
   :
59 |             }
60 |
61 |             github.api = Octokit(config)
   |                        `- error: immutable value 'self.github' may only be initialized once
62 |         }
63 |     }
[53/63] Compiling Danger NSRegularExpressionExtensions.swift
[54/63] Compiling Danger File.swift
[55/63] Compiling Danger Settings.swift
[56/63] Emitting module Danger
[57/63] Compiling Danger BitBucketServerDSL.swift
[58/63] Compiling Danger Danger.swift
[59/63] Compiling Danger SwiftLintViolation.swift
[60/63] Compiling Danger GitDSL.swift
[61/63] Compiling Danger GitHubDSL.swift
Fetching https://github.com/danger/danger-swift.git
[1/10309] Fetching danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (1.12s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.10s)
Fetching https://github.com/f-meloni/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/JohnSundell/Marathon
Fetching https://github.com/JohnSundell/ShellOut
[1/2019] Fetching marathon
[22/2999] Fetching marathon, shellout
[199/3115] Fetching marathon, shellout, logger
[449/8115] Fetching marathon, shellout, logger, octokit.swift
Fetched https://github.com/f-meloni/Logger from cache (0.76s)
[2025/7999] Fetching marathon, shellout, octokit.swift
Fetched https://github.com/JohnSundell/ShellOut from cache (0.91s)
Fetched https://github.com/JohnSundell/Marathon from cache (0.91s)
[4900/5000] Fetching octokit.swift
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.97s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (1.51s)
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
[143/326] Fetching require, releases
[317/1574] Fetching require, releases, files
Fetched https://github.com/JohnSundell/Releases.git from cache (0.86s)
Fetched https://github.com/JohnSundell/Require.git from cache (0.86s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.86s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (1.40s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.51s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.51s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.52s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.50s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.43s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.83s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.75s)
Creating working copy for https://github.com/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
Creating working copy for https://github.com/danger/danger-swift.git
Working copy of https://github.com/danger/danger-swift.git resolved at 0.8.1
Creating working copy for https://github.com/f-meloni/Logger
Working copy of https://github.com/f-meloni/Logger resolved at 0.2.3
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
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/JohnSundell/Marathon
Working copy of https://github.com/JohnSundell/Marathon resolved at 3.3.0
Creating working copy for https://github.com/JohnSundell/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.0
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
BUILD FAILURE 6.2 macosSpm