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 Linux on 17 Jun 2025 18:42:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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/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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ashfurrow/danger-swiftlint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/danger/danger-swift.git
[1/10309] Fetching danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (0.50s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.71s)
Fetching https://github.com/f-meloni/Logger
Fetching https://github.com/JohnSundell/Marathon
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/JohnSundell/ShellOut
[1/5000] Fetching octokit.swift
[51/5980] Fetching octokit.swift, shellout
[1139/7999] Fetching octokit.swift, shellout, marathon
[2051/8115] Fetching octokit.swift, shellout, marathon, logger
Fetched https://github.com/JohnSundell/ShellOut from cache (0.38s)
Fetched https://github.com/f-meloni/Logger from cache (0.52s)
Fetched https://github.com/JohnSundell/Marathon from cache (0.52s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.52s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (1.10s)
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/JohnSundell/Releases.git
[1/174] Fetching releases
[175/326] Fetching releases, require
[327/1574] Fetching releases, require, files
Fetched https://github.com/JohnSundell/Releases.git from cache (0.25s)
[452/1400] Fetching require, files
Fetched https://github.com/JohnSundell/Require.git from cache (0.25s)
[986/1248] Fetching files
Fetched https://github.com/JohnSundell/Files.git from cache (0.33s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (0.80s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.48s)
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.42s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.61s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.77s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.43s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (4.15s)
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/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/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.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/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/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.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/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
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module ShellOut
[9/22] Compiling ShellOut ShellOut.swift
[11/23] Emitting module Logger
[12/23] Compiling Logger Logger.swift
[14/24] Compiling RequestKit Router.swift
[15/24] Emitting module RequestKit
[16/24] Compiling RequestKit JSONPostRouter.swift
[17/24] Compiling RequestKit RequestKitSession.swift
[18/25] Wrapping AST for Logger for debugging
[19/25] Wrapping AST for ShellOut for debugging
[20/25] Wrapping AST for RequestKit for debugging
[22/51] Compiling OctoKit Statuses.swift
[23/51] Compiling OctoKit String+PercentEncoding.swift
[24/51] Compiling OctoKit Team.swift
[25/54] Emitting module OctoKit
[26/54] Compiling OctoKit NotificationThread.swift
[27/54] Compiling OctoKit Octokit.swift
[28/54] Compiling OctoKit Organization.swift
[29/54] Compiling OctoKit Parameters.swift
[30/54] Compiling OctoKit Review.swift
[31/54] Compiling OctoKit Search.swift
[32/54] Compiling OctoKit Stars.swift
[33/54] Compiling OctoKit Configuration.swift
[34/54] Compiling OctoKit File.swift
[35/54] Compiling OctoKit Follow.swift
[36/54] Compiling OctoKit Gist.swift
[37/54] Compiling OctoKit Plan.swift
[38/54] Compiling OctoKit PreviewHeader.swift
[39/54] Compiling OctoKit PublicKey.swift
[40/54] Compiling OctoKit PullRequest.swift
[41/54] Compiling OctoKit Time.swift
[42/54] Compiling OctoKit URL+URLParameters.swift
[43/54] Compiling OctoKit User.swift
[44/54] Compiling OctoKit Reactions.swift
[45/54] Compiling OctoKit Releases.swift
[46/54] Compiling OctoKit Repositories.swift
[47/54] Compiling OctoKit Git.swift
[48/54] Compiling OctoKit Issue.swift
[49/54] Compiling OctoKit Label.swift
[50/54] Compiling OctoKit Milestone.swift
[51/55] Wrapping AST for OctoKit for debugging
[53/70] Compiling Danger DangerUtils.swift
[54/70] Compiling Danger DateFormatterExtensions.swift
[55/70] Compiling Danger NSRegularExpressionExtensions.swift
[56/70] Compiling Danger File.swift
[57/72] Compiling Danger Report.swift
[58/72] Compiling Danger Settings.swift
[59/72] Compiling Danger CurrentPathProvider.swift
[60/72] Compiling Danger ShellExecutor.swift
[61/72] Compiling Danger SwiftLint.swift
[62/72] Compiling Danger SwiftLintViolation.swift
[63/72] Emitting module Danger
[64/72] Compiling Danger BitBucketServerDSL.swift
[65/72] Compiling Danger Danger.swift
[66/72] Compiling Danger GitDSL.swift
[67/72] Compiling Danger GitHubDSL.swift
[68/72] Compiling Danger DangerDSL.swift
/host/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 |     }
[69/72] Compiling Danger DangerResults.swift
/host/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 |     }
BUILD FAILURE 6.2 linux