Build Information
Failed to build DangerSwiftLint, reference 0.4.1 (9ade16
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 17:10:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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/Files.git
Fetching https://github.com/JohnSundell/Marathon.git
Fetching https://github.com/JohnSundell/Require.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Wrap.git
Fetching https://github.com/danger/danger-swift.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/676] Fetching wrap
[22/2695] Fetching wrap, marathon
[63/2847] Fetching wrap, marathon, require
[382/3807] Fetching wrap, marathon, require, shellout
[585/3981] Fetching wrap, marathon, require, shellout, releases
[778/5217] Fetching wrap, marathon, require, shellout, releases, files
Fetched https://github.com/JohnSundell/Marathon.git from cache (0.99s)
Fetched https://github.com/JohnSundell/Wrap.git from cache (0.99s)
Fetching https://github.com/JohnSundell/Unbox.git
[2522/12770] Fetching require, shellout, releases, files, danger-swift
[3855/14828] Fetching require, shellout, releases, files, danger-swift, unbox
Fetched https://github.com/JohnSundell/Files.git from cache (1.83s)
Fetched https://github.com/JohnSundell/Releases.git from cache (1.83s)
Fetched https://github.com/JohnSundell/Require.git from cache (1.83s)
Fetched https://github.com/danger/danger-swift.git from cache (1.83s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.83s)
Computing version for https://github.com/danger/danger-swift.git
[536/2058] Fetching unbox
Fetched https://github.com/JohnSundell/Unbox.git from cache (1.00s)
Computed https://github.com/danger/danger-swift.git at 0.4.0 (2.46s)
Computing version for https://github.com/JohnSundell/Marathon.git
Computed https://github.com/JohnSundell/Marathon.git at 3.0.0 (0.60s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 3.0.0 (0.59s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.58s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.1.0 (0.58s)
Computing version for https://github.com/JohnSundell/Wrap.git
Computed https://github.com/JohnSundell/Wrap.git at 3.0.1 (0.56s)
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.1' to specify the current tools version
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ashfurrow/danger-swiftlint.git
https://github.com/ashfurrow/danger-swiftlint.git
{
"dependencies" : [
{
"identity" : "danger-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danger/danger-swift.git"
}
],
"manifest_display_name" : "DangerSwiftLint",
"name" : "DangerSwiftLint",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DangerSwiftLint",
"targets" : [
"DangerSwiftLint"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DangerSwiftLintTests",
"module_type" : "SwiftTarget",
"name" : "DangerSwiftLintTests",
"path" : "Tests/DangerSwiftLintTests",
"sources" : [
"DangerSwiftLintTests.swift",
"FakeCurrentPathProvider.swift",
"FakeShellExecutor.swift",
"URL+Utils.swift",
"ViolationTests.swift"
],
"target_dependencies" : [
"DangerSwiftLint"
],
"type" : "test"
},
{
"c99name" : "DangerSwiftLint",
"module_type" : "SwiftTarget",
"name" : "DangerSwiftLint",
"path" : "Sources/DangerSwiftLint",
"product_dependencies" : [
"Danger"
],
"product_memberships" : [
"DangerSwiftLint"
],
"sources" : [
"CurrentPathProvider.swift",
"DangerSwiftLint.swift",
"ShellExecutor.swift",
"Violation.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/9] Write sources
[6/9] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Emitting module Logger
[9/17] Compiling Logger Logger.swift
[10/17] Emitting module ShellOut
[11/17] Compiling ShellOut ShellOut.swift
[12/17] Compiling RequestKit RequestKitSession.swift
[13/17] Emitting module RequestKit
[14/17] Compiling RequestKit JSONPostRouter.swift
[15/17] Compiling RequestKit Router.swift
[16/44] Emitting module OctoKit
[17/46] Compiling OctoKit Octokit.swift
[18/46] Compiling OctoKit Organization.swift
[19/46] Compiling OctoKit Parameters.swift
[20/46] Compiling OctoKit Configuration.swift
[21/46] Compiling OctoKit File.swift
[22/46] Compiling OctoKit Follow.swift
[23/46] Compiling OctoKit Plan.swift
[24/46] Compiling OctoKit PreviewHeader.swift
[25/46] Compiling OctoKit PublicKey.swift
[26/46] Compiling OctoKit Team.swift
[27/46] Compiling OctoKit Time.swift
[28/46] Compiling OctoKit Gist.swift
[29/46] Compiling OctoKit Git.swift
[30/46] Compiling OctoKit Issue.swift
[31/46] Compiling OctoKit Label.swift
[32/46] Compiling OctoKit Milestone.swift
[33/46] Compiling OctoKit NotificationThread.swift
[34/46] Compiling OctoKit Stars.swift
[35/46] Compiling OctoKit Statuses.swift
[36/46] Compiling OctoKit String+PercentEncoding.swift
[37/46] Compiling OctoKit URL+URLParameters.swift
[38/46] Compiling OctoKit User.swift
[39/46] Compiling OctoKit PullRequest.swift
[40/46] Compiling OctoKit Reactions.swift
[41/46] Compiling OctoKit Releases.swift
[42/46] Compiling OctoKit Repositories.swift
[43/46] Compiling OctoKit Review.swift
[44/46] Compiling OctoKit Search.swift
[45/62] Compiling Danger SwiftLintViolation.swift
[46/62] Compiling Danger Report.swift
[47/63] Compiling Danger Settings.swift
[48/63] Compiling Danger SwiftLint.swift
[49/63] Compiling Danger CurrentPathProvider.swift
[50/63] Compiling Danger ShellExecutor.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 GitDSL.swift
[56/63] Compiling Danger GitHubDSL.swift
[57/63] Compiling Danger BitBucketServerDSL.swift
[58/63] Compiling Danger Danger.swift
[59/63] Emitting module Danger
[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 | }
Updating https://github.com/danger/danger-swift.git
Updated https://github.com/danger/danger-swift.git (0.76s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.55s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/f-meloni/Logger
[1/116] Fetching logger
Fetched https://github.com/f-meloni/Logger from cache (0.61s)
[1/4995] Fetching octokit.swift
Updating https://github.com/JohnSundell/ShellOut
Updating https://github.com/JohnSundell/Marathon
Fetched https://github.com/nerdishbynature/octokit.swift from cache (1.11s)
Updated https://github.com/JohnSundell/Marathon (0.43s)
Updated https://github.com/JohnSundell/ShellOut (0.43s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (2.13s)
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/Releases.git (0.44s)
Updated https://github.com/JohnSundell/Require.git (0.44s)
Updated https://github.com/JohnSundell/Files.git (0.44s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (1.05s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.55s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.57s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.57s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.58s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.49s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.76s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.48s)
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/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.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/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.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/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
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/Marathon
Working copy of https://github.com/JohnSundell/Marathon 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
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling RequestKit RequestKitSession.swift
[3/11] Emitting module RequestKit
[4/11] Emitting module Logger
[5/11] Compiling Logger Logger.swift
[6/11] Compiling ShellOut ShellOut.swift
[7/11] Emitting module ShellOut
[8/11] Compiling RequestKit Router.swift
[9/11] Compiling RequestKit JSONPostRouter.swift
[10/38] Emitting module OctoKit
[11/40] Compiling OctoKit Octokit.swift
[12/40] Compiling OctoKit Organization.swift
[13/40] Compiling OctoKit Parameters.swift
[14/40] Compiling OctoKit Stars.swift
[15/40] Compiling OctoKit Statuses.swift
[16/40] Compiling OctoKit String+PercentEncoding.swift
[17/40] Compiling OctoKit Gist.swift
[18/40] Compiling OctoKit Git.swift
[19/40] Compiling OctoKit Issue.swift
[20/40] Compiling OctoKit Configuration.swift
[21/40] Compiling OctoKit File.swift
[22/40] Compiling OctoKit Follow.swift
[23/40] Compiling OctoKit URL+URLParameters.swift
[24/40] Compiling OctoKit User.swift
[25/40] Compiling OctoKit Plan.swift
[26/40] Compiling OctoKit PreviewHeader.swift
[27/40] Compiling OctoKit PublicKey.swift
[28/40] Compiling OctoKit Team.swift
[29/40] Compiling OctoKit Time.swift
[30/40] Compiling OctoKit Label.swift
[31/40] Compiling OctoKit Milestone.swift
[32/40] Compiling OctoKit NotificationThread.swift
[33/40] Compiling OctoKit PullRequest.swift
[34/40] Compiling OctoKit Reactions.swift
[35/40] Compiling OctoKit Releases.swift
[36/40] Compiling OctoKit Repositories.swift
[37/40] Compiling OctoKit Review.swift
[38/40] Compiling OctoKit Search.swift
[39/56] Compiling Danger Report.swift
[40/57] Compiling Danger SwiftLintViolation.swift
[41/57] Compiling Danger SwiftLint.swift
[42/57] Compiling Danger CurrentPathProvider.swift
[43/57] Compiling Danger ShellExecutor.swift
[44/57] Compiling Danger Settings.swift
[45/57] Compiling Danger DangerUtils.swift
[46/57] Compiling Danger DateFormatterExtensions.swift
[47/57] Compiling Danger NSRegularExpressionExtensions.swift
[48/57] Compiling Danger File.swift
[49/57] Emitting module Danger
[50/57] Compiling Danger BitBucketServerDSL.swift
[51/57] Compiling Danger Danger.swift
[52/57] Compiling Danger GitDSL.swift
[53/57] Compiling Danger GitHubDSL.swift
[54/57] 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 | }
[55/57] 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 | }
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.1 macosSpm