Build Information
Failed to build DangerSwiftLint, reference 0.4.1 (9ade16
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:47:37 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: 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
Fetching https://github.com/JohnSundell/Unbox.git
Fetching https://github.com/JohnSundell/Wrap.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Marathon.git
Fetching https://github.com/danger/danger-swift.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/2058] Fetching unbox
[84/2232] Fetching unbox, releases
[111/4251] Fetching unbox, releases, marathon
[132/4403] Fetching unbox, releases, marathon, require
[284/5079] Fetching unbox, releases, marathon, require, wrap
[723/6039] Fetching unbox, releases, marathon, require, wrap, shellout
[2043/16164] Fetching unbox, releases, marathon, require, wrap, shellout, danger-swift
Fetched https://github.com/JohnSundell/Marathon.git from cache (1.03s)
[4685/14145] Fetching unbox, releases, require, wrap, shellout, danger-swift
Fetching https://github.com/JohnSundell/Files.git
Fetched https://github.com/JohnSundell/Wrap.git from cache (1.05s)
Fetched https://github.com/JohnSundell/Require.git from cache (1.05s)
[4508/13317] Fetching unbox, releases, shellout, danger-swift
Fetched https://github.com/JohnSundell/Unbox.git from cache (1.09s)
[2754/11259] Fetching releases, shellout, danger-swift
[10855/12490] Fetching releases, shellout, danger-swift, files
Fetched https://github.com/danger/danger-swift.git from cache (2.07s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (2.07s)
Computing version for https://github.com/danger/danger-swift.git
Fetched https://github.com/JohnSundell/Releases.git from cache (2.07s)
[1133/1231] Fetching files
Fetched https://github.com/JohnSundell/Files.git from cache (1.10s)
Computed https://github.com/danger/danger-swift.git at 0.4.0 (0.55s)
Computing version for https://github.com/JohnSundell/Marathon.git
Computed https://github.com/JohnSundell/Marathon.git at 3.0.0 (0.54s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 3.0.0 (0.52s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.52s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.56s)
Computing version for https://github.com/JohnSundell/Wrap.git
Computed https://github.com/JohnSundell/Wrap.git at 3.0.1 (0.52s)
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 RequestKit RequestKitSession.swift
[10/18] Emitting module RequestKit
[11/18] Compiling RequestKit JSONPostRouter.swift
[12/18] Compiling RequestKit Router.swift
[13/18] Emitting module Logger
[14/18] Compiling Logger Logger.swift
[15/18] Emitting module ShellOut
[16/18] Compiling ShellOut ShellOut.swift
[17/43] Compiling OctoKit Configuration.swift
[18/43] Compiling OctoKit File.swift
[19/43] Compiling OctoKit Follow.swift
[20/45] Compiling OctoKit Stars.swift
[21/45] Compiling OctoKit Statuses.swift
[22/45] Compiling OctoKit PreviewHeader.swift
[23/45] Compiling OctoKit PublicKey.swift
[24/45] Compiling OctoKit PullRequest.swift
[25/45] Compiling OctoKit URL+URLParameters.swift
[26/45] Compiling OctoKit User.swift
[27/45] Compiling OctoKit String+PercentEncoding.swift
[28/45] Compiling OctoKit Time.swift
[29/45] Compiling OctoKit Gist.swift
[30/45] Compiling OctoKit Git.swift
[31/45] Compiling OctoKit Issue.swift
[32/45] Compiling OctoKit Label.swift
[33/45] Compiling OctoKit Milestone.swift
[34/45] Compiling OctoKit NotificationThread.swift
[35/45] Compiling OctoKit Octokit.swift
[36/45] Compiling OctoKit Parameters.swift
[37/45] Compiling OctoKit Plan.swift
[38/45] Emitting module OctoKit
[39/45] Compiling OctoKit Review.swift
[40/45] Compiling OctoKit Search.swift
[41/45] Compiling OctoKit Reactions.swift
[42/45] Compiling OctoKit Releases.swift
[43/45] Compiling OctoKit Repositories.swift
[44/61] Compiling Danger SwiftLintViolation.swift
[45/61] Compiling Danger Report.swift
[46/62] Compiling Danger CurrentPathProvider.swift
[47/62] Compiling Danger ShellExecutor.swift
[48/62] Compiling Danger SwiftLint.swift
[49/62] Compiling Danger Settings.swift
[50/62] Compiling Danger NSRegularExpressionExtensions.swift
[51/62] Compiling Danger File.swift
[52/62] Compiling Danger DangerUtils.swift
[53/62] Compiling Danger DateFormatterExtensions.swift
[54/62] Compiling Danger BitBucketServerDSL.swift
[55/62] Compiling Danger Danger.swift
[56/62] Compiling Danger GitDSL.swift
[57/62] Compiling Danger GitHubDSL.swift
[58/62] Emitting module Danger
[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.60s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (2.32s)
Fetching https://github.com/f-meloni/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
Updating https://github.com/JohnSundell/ShellOut
Updated https://github.com/JohnSundell/ShellOut (0.46s)
[1/116] Fetching logger
[117/4555] Fetching logger, octokit.swift
Updating https://github.com/JohnSundell/Marathon
Fetched https://github.com/f-meloni/Logger from cache (1.18s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.18s)
Updated https://github.com/JohnSundell/Marathon (0.50s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (0.52s)
Updating https://github.com/JohnSundell/Require.git
Updating https://github.com/JohnSundell/Releases.git
Updating https://github.com/JohnSundell/Files.git
Updated https://github.com/JohnSundell/Files.git (0.50s)
Updated https://github.com/JohnSundell/Releases.git (0.50s)
Updated https://github.com/JohnSundell/Require.git (0.50s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (0.51s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.50s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.50s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.51s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.13.0 (0.51s)
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/nicklockwood/SwiftFormat from cache (37.85s)
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (37.85s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (2.61s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.51s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.2 (0.53s)
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/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
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/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/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/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.13.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
BUILD FAILURE 6.0 macosSpm