The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DangerSwiftLint, reference master (d89840), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:47:30 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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
Fetching https://github.com/danger/danger-swift.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Wrap.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Marathon.git
Fetching https://github.com/JohnSundell/Unbox.git
[4/152] Fetching require
[9/2171] Fetching require, marathon
[51/4229] Fetching require, marathon, unbox
[134/4905] Fetching require, marathon, unbox, wrap
[522/5079] Fetching require, marathon, unbox, wrap, releases
[1186/6039] Fetching require, marathon, unbox, wrap, releases, shellout
[1691/16164] Fetching require, marathon, unbox, wrap, releases, shellout, danger-swift
Fetched https://github.com/JohnSundell/Require.git from cache (1.04s)
Fetched https://github.com/JohnSundell/Unbox.git from cache (1.04s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.04s)
Fetched https://github.com/JohnSundell/Marathon.git from cache (1.04s)
Fetched https://github.com/JohnSundell/Wrap.git from cache (1.05s)
Fetching https://github.com/JohnSundell/Files.git
[1693/10299] Fetching releases, danger-swift
Fetched https://github.com/JohnSundell/Releases.git from cache (1.35s)
Fetched https://github.com/danger/danger-swift.git from cache (1.35s)
Computing version for https://github.com/danger/danger-swift.git
[1/1231] Fetching files
Computed https://github.com/danger/danger-swift.git at 0.4.0 (0.58s)
Computing version for https://github.com/JohnSundell/Marathon.git
Fetched https://github.com/JohnSundell/Files.git from cache (0.92s)
Computed https://github.com/JohnSundell/Marathon.git at 3.0.0 (0.58s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 3.0.0 (0.56s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.56s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.59s)
Computing version for https://github.com/JohnSundell/Wrap.git
Computed https://github.com/JohnSundell/Wrap.git at 3.0.1 (0.57s)
Computing version for https://github.com/JohnSundell/Unbox.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ashfurrow/danger-swiftlint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/10] Write sources
[7/10] Write swift-version--7754E27361AE5C74.txt
[9/18] Compiling Logger Logger.swift
[10/18] Emitting module Logger
[11/18] Compiling RequestKit RequestKitSession.swift
[12/18] Compiling RequestKit JSONPostRouter.swift
[13/18] Emitting module RequestKit
[14/18] Compiling RequestKit Router.swift
[15/18] Compiling ShellOut ShellOut.swift
[16/18] Emitting module ShellOut
[17/43] Compiling OctoKit Configuration.swift
[18/43] Compiling OctoKit File.swift
[19/43] Compiling OctoKit Follow.swift
[20/45] Compiling OctoKit String+PercentEncoding.swift
[21/45] Compiling OctoKit Time.swift
[22/45] Compiling OctoKit PreviewHeader.swift
[23/45] Compiling OctoKit PublicKey.swift
[24/45] Compiling OctoKit PullRequest.swift
[25/45] Compiling OctoKit Review.swift
[26/45] Compiling OctoKit Search.swift
[27/45] Compiling OctoKit Gist.swift
[28/45] Compiling OctoKit Git.swift
[29/45] Compiling OctoKit Issue.swift
[30/45] Compiling OctoKit Octokit.swift
[31/45] Compiling OctoKit Parameters.swift
[32/45] Compiling OctoKit Plan.swift
[33/45] Emitting module OctoKit
[34/45] Compiling OctoKit Label.swift
[35/45] Compiling OctoKit Milestone.swift
[36/45] Compiling OctoKit NotificationThread.swift
[37/45] Compiling OctoKit URL+URLParameters.swift
[38/45] Compiling OctoKit User.swift
[39/45] Compiling OctoKit Stars.swift
[40/45] Compiling OctoKit Statuses.swift
[41/45] Compiling OctoKit Reactions.swift
[42/45] Compiling OctoKit Releases.swift
[43/45] Compiling OctoKit Repositories.swift
[44/61] Compiling Danger Report.swift
[45/61] Compiling Danger SwiftLintViolation.swift
[46/61] Compiling Danger SwiftLint.swift
[47/62] Compiling Danger Settings.swift
[48/62] Compiling Danger CurrentPathProvider.swift
[49/62] Compiling Danger ShellExecutor.swift
[50/62] Compiling Danger DangerUtils.swift
[51/62] Compiling Danger DateFormatterExtensions.swift
[52/62] Compiling Danger BitBucketServerDSL.swift
[53/62] Compiling Danger Danger.swift
[54/62] Compiling Danger NSRegularExpressionExtensions.swift
[55/62] Compiling Danger File.swift
[56/62] Emitting module Danger
[57/62] Compiling Danger GitDSL.swift
[58/62] Compiling Danger GitHubDSL.swift
[59/62] 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 |     }
[60/62] 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 |     }
Updating https://github.com/danger/danger-swift.git
Updated https://github.com/danger/danger-swift.git (0.56s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (2.42s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/f-meloni/Logger
[1/116] Fetching logger
Updating https://github.com/JohnSundell/Marathon
Fetched https://github.com/f-meloni/Logger from cache (0.66s)
[1/4439] Fetching octokit.swift
Updated https://github.com/JohnSundell/Marathon (0.46s)
Updating https://github.com/JohnSundell/ShellOut
Fetched https://github.com/nerdishbynature/octokit.swift from cache (4.88s)
Updated https://github.com/JohnSundell/ShellOut (0.47s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (0.55s)
Updating https://github.com/JohnSundell/Files.git
Updating https://github.com/JohnSundell/Require.git
Updating https://github.com/JohnSundell/Releases.git
Updated https://github.com/JohnSundell/Releases.git (0.48s)
Updated https://github.com/JohnSundell/Require.git (0.48s)
Updated https://github.com/JohnSundell/Files.git (0.48s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (0.55s)
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.54s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.56s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (0.55s)
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.86s)
[1/45754] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (39.04s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.62s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.55s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.2 (0.56s)
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/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/JohnSundell/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.2
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.13.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
BUILD FAILURE 6.0 macosSpm