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 Linux on 26 Nov 2024 16:37:05 UTC.

Build Command

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

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 /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.0
Building package at path:  $PWD
https://github.com/ashfurrow/danger-swiftlint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/danger/danger-swift.git
[1/10125] Fetching danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (0.51s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (2.07s)
Fetching https://github.com/f-meloni/Logger
Fetching https://github.com/JohnSundell/Marathon
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/nerdishbynature/octokit.swift
[1/960] Fetching shellout
[961/2979] Fetching shellout, marathon
[2213/3095] Fetching shellout, marathon, logger
Fetched https://github.com/f-meloni/Logger from cache (0.23s)
[2980/7418] Fetching shellout, marathon, octokit.swift
Fetched https://github.com/JohnSundell/Marathon from cache (0.35s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.36s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.36s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (0.51s)
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Files.git
[1/1231] Fetching files
[1097/1383] Fetching files, require
[1384/1557] Fetching files, require, releases
Fetched https://github.com/JohnSundell/Require.git from cache (0.24s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.25s)
Fetched https://github.com/JohnSundell/Releases.git from cache (0.25s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (0.48s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.47s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.49s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.50s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (0.48s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
[1555/47308] Fetching requestkit, swiftformat
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (33.05s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (33.74s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (6.24s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.54s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.2 (2.47s)
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/Marathon
Working copy of https://github.com/JohnSundell/Marathon resolved at 3.3.0
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/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
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/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/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.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/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/15] Write sources
[7/15] Write swift-version-24593BA9C3E375BF.txt
[9/23] Compiling ShellOut ShellOut.swift
[10/23] Emitting module ShellOut
[11/24] Emitting module Logger
[12/24] Compiling Logger Logger.swift
[13/25] Compiling RequestKit RequestKitSession.swift
[14/25] Compiling RequestKit Router.swift
[17/25] Compiling RequestKit JSONPostRouter.swift
[18/25] Emitting module RequestKit
[18/26] Wrapping AST for Logger for debugging
[20/26] Wrapping AST for ShellOut for debugging
[21/26] Wrapping AST for RequestKit for debugging
[23/50] Compiling OctoKit Stars.swift
[24/50] Compiling OctoKit Statuses.swift
[25/50] Compiling OctoKit String+PercentEncoding.swift
[26/53] Compiling OctoKit NotificationThread.swift
[27/53] Compiling OctoKit Octokit.swift
[28/53] Compiling OctoKit Parameters.swift
[29/53] Emitting module OctoKit
[30/53] Compiling OctoKit Time.swift
[31/53] Compiling OctoKit URL+URLParameters.swift
[32/53] Compiling OctoKit User.swift
[33/53] Compiling OctoKit Plan.swift
[34/53] Compiling OctoKit PreviewHeader.swift
[35/53] Compiling OctoKit PublicKey.swift
[36/53] Compiling OctoKit PullRequest.swift
[37/53] Compiling OctoKit Reactions.swift
[38/53] Compiling OctoKit Releases.swift
[39/53] Compiling OctoKit Configuration.swift
[40/53] Compiling OctoKit File.swift
[41/53] Compiling OctoKit Follow.swift
[42/53] Compiling OctoKit Gist.swift
[43/53] Compiling OctoKit Git.swift
[44/53] Compiling OctoKit Issue.swift
[45/53] Compiling OctoKit Label.swift
[46/53] Compiling OctoKit Milestone.swift
[47/53] Compiling OctoKit Repositories.swift
[48/53] Compiling OctoKit Review.swift
[49/53] Compiling OctoKit Search.swift
[50/54] Wrapping AST for OctoKit for debugging
[52/69] Compiling Danger SwiftLint.swift
[53/69] Compiling Danger SwiftLintViolation.swift
[54/69] Compiling Danger CurrentPathProvider.swift
[55/69] Compiling Danger ShellExecutor.swift
[56/71] Compiling Danger Report.swift
[57/71] Compiling Danger Settings.swift
[58/71] Compiling Danger BitBucketServerDSL.swift
[59/71] Compiling Danger Danger.swift
[60/71] Compiling Danger NSRegularExpressionExtensions.swift
[61/71] Compiling Danger File.swift
[62/71] Emitting module Danger
[63/71] Compiling Danger DangerUtils.swift
[64/71] Compiling Danger DateFormatterExtensions.swift
[65/71] Compiling Danger GitDSL.swift
[66/71] Compiling Danger GitHubDSL.swift
[67/71] 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 |     }
[68/71] 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.0 linux