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 master (d89840), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 18:46:51 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ashfurrow/danger-swiftlint
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d89840f Adds deprecation notice.
Cloned https://github.com/ashfurrow/danger-swiftlint.git
Revision (git rev-parse @):
d89840f0540b9e9c4ca6cdf67e2346778c27ec4f
SUCCESS checkout https://github.com/ashfurrow/danger-swiftlint.git at master
========================================
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 RequestKit RequestKitSession.swift
[11/17] Compiling ShellOut ShellOut.swift
[12/17] Emitting module ShellOut
[13/17] Compiling RequestKit JSONPostRouter.swift
[14/17] Emitting module RequestKit
[15/17] Compiling RequestKit Router.swift
[16/44] Emitting module OctoKit
[17/46] Compiling OctoKit Stars.swift
[18/46] Compiling OctoKit Statuses.swift
[19/46] Compiling OctoKit String+PercentEncoding.swift
[20/46] Compiling OctoKit Configuration.swift
[21/46] Compiling OctoKit File.swift
[22/46] Compiling OctoKit Follow.swift
[23/46] Compiling OctoKit Team.swift
[24/46] Compiling OctoKit Time.swift
[25/46] Compiling OctoKit Label.swift
[26/46] Compiling OctoKit Milestone.swift
[27/46] Compiling OctoKit NotificationThread.swift
[28/46] Compiling OctoKit URL+URLParameters.swift
[29/46] Compiling OctoKit User.swift
[30/46] Compiling OctoKit Repositories.swift
[31/46] Compiling OctoKit Review.swift
[32/46] Compiling OctoKit Search.swift
[33/46] Compiling OctoKit Plan.swift
[34/46] Compiling OctoKit PreviewHeader.swift
[35/46] Compiling OctoKit PublicKey.swift
[36/46] Compiling OctoKit Octokit.swift
[37/46] Compiling OctoKit Organization.swift
[38/46] Compiling OctoKit Parameters.swift
[39/46] Compiling OctoKit PullRequest.swift
[40/46] Compiling OctoKit Reactions.swift
[41/46] Compiling OctoKit Releases.swift
[42/46] Compiling OctoKit Gist.swift
[43/46] Compiling OctoKit Git.swift
[44/46] Compiling OctoKit Issue.swift
[45/62] Compiling Danger SwiftLintViolation.swift
[46/63] Compiling Danger CurrentPathProvider.swift
[47/63] Compiling Danger ShellExecutor.swift
[48/63] Compiling Danger Report.swift
[49/63] Compiling Danger SwiftLint.swift
[50/63] Compiling Danger Settings.swift
[51/63] Compiling Danger NSRegularExpressionExtensions.swift
[52/63] Compiling Danger File.swift
[53/63] Compiling Danger DangerUtils.swift
[54/63] Compiling Danger DateFormatterExtensions.swift
[55/63] Compiling Danger BitBucketServerDSL.swift
[56/63] Compiling Danger Danger.swift
[57/63] Emitting module Danger
[58/63] Compiling Danger GitDSL.swift
[59/63] Compiling Danger GitHubDSL.swift
[60/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 |     }
[61/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 |     }
Fetching https://github.com/danger/danger-swift.git
[1/10309] Fetching danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (1.25s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.16s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/JohnSundell/Marathon
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/f-meloni/Logger
[1/116] Fetching logger
[29/2135] Fetching logger, marathon
[90/7135] Fetching logger, marathon, octokit.swift
[399/8115] Fetching logger, marathon, octokit.swift, shellout
Fetched https://github.com/JohnSundell/Marathon from cache (0.98s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.00s)
Fetched https://github.com/f-meloni/Logger from cache (1.00s)
Fetched https://github.com/JohnSundell/ShellOut from cache (1.00s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (1.50s)
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Files.git
[1/152] Fetching require
[30/1400] Fetching require, files
[143/1574] Fetching require, files, releases
Fetched https://github.com/JohnSundell/Releases.git from cache (0.68s)
[315/1400] Fetching require, files
Fetched https://github.com/JohnSundell/Files.git from cache (0.89s)
Fetched https://github.com/JohnSundell/Require.git from cache (0.89s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (1.38s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.46s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.46s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.46s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.46s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.38s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.85s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.69s)
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/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
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/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/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
Creating working copy for https://github.com/JohnSundell/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.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/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.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