Build Information
Failed to build DangerSwiftLint, reference master (d89840
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 17:10:28 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: 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/JohnSundell/Wrap.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/danger/danger-swift.git
Fetching https://github.com/JohnSundell/Unbox.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Marathon.git
Fetching https://github.com/JohnSundell/Files.git
[1/676] Fetching wrap
[22/2734] Fetching wrap, unbox
[105/4753] Fetching wrap, unbox, marathon
[166/5713] Fetching wrap, unbox, marathon, shellout
[531/6949] Fetching wrap, unbox, marathon, shellout, files
[618/7123] Fetching wrap, unbox, marathon, shellout, files, releases
[1981/17371] Fetching wrap, unbox, marathon, shellout, files, releases, danger-swift
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.80s)
[3363/16411] Fetching wrap, unbox, marathon, files, releases, danger-swift
Fetching https://github.com/JohnSundell/Require.git
Fetched https://github.com/JohnSundell/Unbox.git from cache (1.05s)
Fetched https://github.com/JohnSundell/Wrap.git from cache (1.05s)
[12035/13677] Fetching marathon, files, releases, danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (1.18s)
Computing version for https://github.com/danger/danger-swift.git
Fetched https://github.com/JohnSundell/Marathon.git from cache (1.18s)
Fetched https://github.com/JohnSundell/Releases.git from cache (1.18s)
Fetched https://github.com/JohnSundell/Files.git from cache (1.18s)
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.61s)
Computed https://github.com/danger/danger-swift.git at 0.4.0 (1.77s)
Computing version for https://github.com/JohnSundell/Marathon.git
Computed https://github.com/JohnSundell/Marathon.git at 3.0.0 (0.57s)
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.55s)
Computing version for https://github.com/JohnSundell/Wrap.git
Computed https://github.com/JohnSundell/Wrap.git at 3.0.1 (0.55s)
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] Compiling Logger Logger.swift
[9/17] Emitting module Logger
[10/17] Compiling RequestKit RequestKitSession.swift
[11/17] Emitting module RequestKit
[12/17] Compiling RequestKit JSONPostRouter.swift
[13/17] Compiling RequestKit Router.swift
[14/17] Emitting module ShellOut
[15/17] Compiling ShellOut ShellOut.swift
[16/44] Compiling OctoKit Octokit.swift
[17/44] Compiling OctoKit Organization.swift
[18/44] Compiling OctoKit Parameters.swift
[19/46] Compiling OctoKit Team.swift
[20/46] Compiling OctoKit Time.swift
[21/46] Compiling OctoKit Plan.swift
[22/46] Compiling OctoKit PreviewHeader.swift
[23/46] Compiling OctoKit PublicKey.swift
[24/46] Emitting module OctoKit
[25/46] Compiling OctoKit URL+URLParameters.swift
[26/46] Compiling OctoKit User.swift
[27/46] Compiling OctoKit Gist.swift
[28/46] Compiling OctoKit Git.swift
[29/46] Compiling OctoKit Issue.swift
[30/46] Compiling OctoKit Configuration.swift
[31/46] Compiling OctoKit File.swift
[32/46] Compiling OctoKit Follow.swift
[33/46] Compiling OctoKit Label.swift
[34/46] Compiling OctoKit Milestone.swift
[35/46] Compiling OctoKit NotificationThread.swift
[36/46] Compiling OctoKit PullRequest.swift
[37/46] Compiling OctoKit Reactions.swift
[38/46] Compiling OctoKit Releases.swift
[39/46] Compiling OctoKit Repositories.swift
[40/46] Compiling OctoKit Review.swift
[41/46] Compiling OctoKit Search.swift
[42/46] Compiling OctoKit Stars.swift
[43/46] Compiling OctoKit Statuses.swift
[44/46] Compiling OctoKit String+PercentEncoding.swift
[45/62] Compiling Danger SwiftLint.swift
[46/62] Compiling Danger CurrentPathProvider.swift
[47/62] Compiling Danger ShellExecutor.swift
[48/63] Compiling Danger Report.swift
[49/63] Compiling Danger NSRegularExpressionExtensions.swift
[50/63] Compiling Danger File.swift
[51/63] Compiling Danger SwiftLintViolation.swift
[52/63] Compiling Danger Settings.swift
[53/63] Compiling Danger DangerUtils.swift
[54/63] Compiling Danger DateFormatterExtensions.swift
[55/63] Emitting module Danger
[56/63] Compiling Danger BitBucketServerDSL.swift
[57/63] Compiling Danger Danger.swift
[58/63] Compiling Danger GitDSL.swift
[59/63] Compiling Danger GitHubDSL.swift
[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.57s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.17s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/f-meloni/Logger
Updating https://github.com/JohnSundell/ShellOut
Updated https://github.com/JohnSundell/ShellOut (0.40s)
[1/116] Fetching logger
[104/5111] Fetching logger, octokit.swift
Updating https://github.com/JohnSundell/Marathon
Fetched https://github.com/f-meloni/Logger from cache (0.93s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.93s)
Updated https://github.com/JohnSundell/Marathon (0.39s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (1.89s)
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.39s)
Updated https://github.com/JohnSundell/Require.git (0.43s)
Updated https://github.com/JohnSundell/Files.git (0.43s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (1.02s)
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
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.54s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.56s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.46s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.82s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (1.58s)
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/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.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/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
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/Releases.git
Working copy of https://github.com/JohnSundell/Releases.git resolved at 4.0.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 Logger Logger.swift
[3/11] Emitting module Logger
[4/11] Emitting module ShellOut
[5/11] Compiling ShellOut ShellOut.swift
[6/11] Emitting module RequestKit
[7/11] Compiling RequestKit RequestKitSession.swift
[8/11] Compiling RequestKit JSONPostRouter.swift
[9/11] Compiling RequestKit Router.swift
[10/38] Compiling OctoKit Stars.swift
[11/38] Compiling OctoKit Statuses.swift
[12/38] Compiling OctoKit String+PercentEncoding.swift
[13/38] Compiling OctoKit Team.swift
[14/38] Compiling OctoKit Time.swift
[15/40] Emitting module OctoKit
[16/40] Compiling OctoKit Gist.swift
[17/40] Compiling OctoKit Git.swift
[18/40] Compiling OctoKit Issue.swift
[19/40] Compiling OctoKit Plan.swift
[20/40] Compiling OctoKit PreviewHeader.swift
[21/40] Compiling OctoKit PublicKey.swift
[22/40] Compiling OctoKit PullRequest.swift
[23/40] Compiling OctoKit Reactions.swift
[24/40] Compiling OctoKit Releases.swift
[25/40] Compiling OctoKit Configuration.swift
[26/40] Compiling OctoKit File.swift
[27/40] Compiling OctoKit Follow.swift
[28/40] Compiling OctoKit Label.swift
[29/40] Compiling OctoKit Milestone.swift
[30/40] Compiling OctoKit NotificationThread.swift
[31/40] Compiling OctoKit Octokit.swift
[32/40] Compiling OctoKit Organization.swift
[33/40] Compiling OctoKit Parameters.swift
[34/40] Compiling OctoKit Repositories.swift
[35/40] Compiling OctoKit Review.swift
[36/40] Compiling OctoKit Search.swift
[37/40] Compiling OctoKit URL+URLParameters.swift
[38/40] Compiling OctoKit User.swift
[39/56] Compiling Danger Report.swift
[40/56] Compiling Danger NSRegularExpressionExtensions.swift
[41/56] Compiling Danger File.swift
[42/56] Compiling Danger SwiftLint.swift
[43/57] Compiling Danger Settings.swift
[44/57] Compiling Danger CurrentPathProvider.swift
[45/57] Compiling Danger ShellExecutor.swift
[46/57] Compiling Danger SwiftLintViolation.swift
[47/57] Compiling Danger DangerUtils.swift
[48/57] Compiling Danger DateFormatterExtensions.swift
[49/57] Compiling Danger GitDSL.swift
[50/57] Compiling Danger GitHubDSL.swift
[51/57] Compiling Danger BitBucketServerDSL.swift
[52/57] Compiling Danger Danger.swift
[53/57] Emitting module Danger
[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