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 DangerIBLinter, reference master (6bab7c), with Swift 6.1 for Linux on 25 Apr 2025 13:04:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibdecodable/danger-iblinter.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/ibdecodable/danger-iblinter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6bab7c5 Initial commit
Cloned https://github.com/ibdecodable/danger-iblinter.git
Revision (git rev-parse @):
6bab7c5a70991c02b01089a895171dbdc4dd8079
SUCCESS checkout https://github.com/ibdecodable/danger-iblinter.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ibdecodable/danger-iblinter.git
https://github.com/ibdecodable/danger-iblinter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "DangerIBLinter",
  "name" : "DangerIBLinter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DangerIBLinter",
      "targets" : [
        "DangerIBLinter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DangerIBLinterTests",
      "module_type" : "SwiftTarget",
      "name" : "DangerIBLinterTests",
      "path" : "Tests/DangerIBLinterTests",
      "sources" : [
        "DangerIBLinterTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DangerIBLinter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DangerIBLinter",
      "module_type" : "SwiftTarget",
      "name" : "DangerIBLinter",
      "path" : "Sources/DangerIBLinter",
      "product_dependencies" : [
        "Danger"
      ],
      "product_memberships" : [
        "DangerIBLinter"
      ],
      "sources" : [
        "DangerIBLinter.swift",
        "ShellExecutor.swift",
        "Violation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/danger/danger-swift.git
[1/10248] Fetching danger-swift
Fetched https://github.com/danger/danger-swift.git from cache (0.42s)
Computing version for https://github.com/danger/danger-swift.git
Computed https://github.com/danger/danger-swift.git at 0.8.1 (3.13s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/JohnSundell/Marathon
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/f-meloni/Logger
[1/2019] Fetching marathon
[82/2979] Fetching marathon, shellout
[2500/7974] Fetching marathon, shellout, octokit.swift
[2950/8090] Fetching marathon, shellout, octokit.swift, logger
Fetched https://github.com/JohnSundell/ShellOut from cache (0.36s)
Fetched https://github.com/f-meloni/Logger from cache (0.37s)
Fetched https://github.com/JohnSundell/Marathon from cache (0.37s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.48s)
Computing version for https://github.com/JohnSundell/Marathon
Computed https://github.com/JohnSundell/Marathon at 3.3.0 (3.25s)
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/JohnSundell/Releases.git
Fetching https://github.com/JohnSundell/Require.git
[1/174] Fetching releases
[175/326] Fetching releases, require
[327/1562] Fetching releases, require, files
Fetched https://github.com/JohnSundell/Require.git from cache (0.28s)
Fetched https://github.com/JohnSundell/Releases.git from cache (0.31s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.31s)
Computing version for https://github.com/JohnSundell/Releases.git
Computed https://github.com/JohnSundell/Releases.git at 4.0.0 (1.64s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.76s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.86s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (0.85s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.60s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.51s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.25s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (3.11s)
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/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/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/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/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.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
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module ShellOut
[9/22] Emitting module Logger
[10/22] Compiling Logger Logger.swift
[12/23] Compiling ShellOut ShellOut.swift
[13/24] Compiling RequestKit Router.swift
[15/24] Compiling RequestKit RequestKitSession.swift
[16/24] Emitting module RequestKit
[17/24] Compiling RequestKit JSONPostRouter.swift
[17/25] Wrapping AST for Logger for debugging
[19/25] Wrapping AST for ShellOut for debugging
[20/25] Wrapping AST for RequestKit for debugging
[22/51] Emitting module OctoKit
[23/54] Compiling OctoKit NotificationThread.swift
[24/54] Compiling OctoKit Octokit.swift
[25/54] Compiling OctoKit Organization.swift
[26/54] Compiling OctoKit Parameters.swift
[27/54] Compiling OctoKit Configuration.swift
[28/54] Compiling OctoKit File.swift
[29/54] Compiling OctoKit Follow.swift
[30/54] Compiling OctoKit Gist.swift
[31/54] Compiling OctoKit Time.swift
[32/54] Compiling OctoKit URL+URLParameters.swift
[33/54] Compiling OctoKit User.swift
[34/54] Compiling OctoKit Git.swift
[35/54] Compiling OctoKit Issue.swift
[36/54] Compiling OctoKit Label.swift
[37/54] Compiling OctoKit Milestone.swift
[38/54] Compiling OctoKit Reactions.swift
[39/54] Compiling OctoKit Releases.swift
[40/54] Compiling OctoKit Repositories.swift
[41/54] Compiling OctoKit Statuses.swift
[42/54] Compiling OctoKit String+PercentEncoding.swift
[43/54] Compiling OctoKit Team.swift
[44/54] Compiling OctoKit Review.swift
[45/54] Compiling OctoKit Search.swift
[46/54] Compiling OctoKit Stars.swift
[47/54] Compiling OctoKit Plan.swift
[48/54] Compiling OctoKit PreviewHeader.swift
[49/54] Compiling OctoKit PublicKey.swift
[50/54] Compiling OctoKit PullRequest.swift
[51/55] Wrapping AST for OctoKit for debugging
[53/70] Compiling Danger NSRegularExpressionExtensions.swift
[54/70] Compiling Danger File.swift
[55/72] Compiling Danger Report.swift
[56/72] Compiling Danger Settings.swift
[57/72] Compiling Danger CurrentPathProvider.swift
[58/72] Compiling Danger ShellExecutor.swift
[59/72] Compiling Danger SwiftLint.swift
[60/72] Compiling Danger SwiftLintViolation.swift
[61/72] Emitting module Danger
[62/72] Compiling Danger DangerUtils.swift
[63/72] Compiling Danger DateFormatterExtensions.swift
[64/72] Compiling Danger BitBucketServerDSL.swift
[65/72] Compiling Danger Danger.swift
[66/72] 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 |     }
[67/72] 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 |     }
[68/72] Compiling Danger GitDSL.swift
[69/72] Compiling Danger GitHubDSL.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/16] Emitting module Logger
[3/16] Compiling Logger Logger.swift
[4/17] Compiling RequestKit JSONPostRouter.swift
[6/16] Emitting module ShellOut
[7/16] Compiling ShellOut ShellOut.swift
[8/17] Compiling RequestKit RequestKitSession.swift
[9/17] Emitting module RequestKit
[10/17] Compiling RequestKit Router.swift
[13/42] Compiling OctoKit NotificationThread.swift
[14/42] Compiling OctoKit Octokit.swift
[15/42] Compiling OctoKit Organization.swift
[16/42] Compiling OctoKit Parameters.swift
[17/42] Compiling OctoKit Statuses.swift
[18/42] Compiling OctoKit String+PercentEncoding.swift
[19/42] Compiling OctoKit Team.swift
[20/42] Compiling OctoKit Review.swift
[21/42] Compiling OctoKit Search.swift
[22/42] Compiling OctoKit Stars.swift
[23/45] Compiling OctoKit Configuration.swift
[24/45] Compiling OctoKit File.swift
[25/45] Compiling OctoKit Follow.swift
[26/45] Compiling OctoKit Gist.swift
[27/45] Emitting module OctoKit
[28/45] Compiling OctoKit Plan.swift
[29/45] Compiling OctoKit PreviewHeader.swift
[30/45] Compiling OctoKit PublicKey.swift
[31/45] Compiling OctoKit PullRequest.swift
[32/45] Compiling OctoKit Reactions.swift
[33/45] Compiling OctoKit Releases.swift
[34/45] Compiling OctoKit Repositories.swift
[35/45] Compiling OctoKit Time.swift
[36/45] Compiling OctoKit URL+URLParameters.swift
[37/45] Compiling OctoKit User.swift
[38/45] Compiling OctoKit Git.swift
[39/45] Compiling OctoKit Issue.swift
[40/45] Compiling OctoKit Label.swift
[41/45] Compiling OctoKit Milestone.swift
[42/46] Wrapping AST for OctoKit for debugging
[44/61] Compiling Danger CurrentPathProvider.swift
[45/61] Compiling Danger ShellExecutor.swift
[46/63] Compiling Danger DangerUtils.swift
[47/63] Compiling Danger DateFormatterExtensions.swift
[48/63] 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 |     }
[49/63] 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 |     }
[50/63] Compiling Danger NSRegularExpressionExtensions.swift
[51/63] Compiling Danger File.swift
[52/63] Compiling Danger SwiftLint.swift
[53/63] Compiling Danger SwiftLintViolation.swift
[54/63] Compiling Danger Report.swift
[55/63] Compiling Danger Settings.swift
[56/63] Compiling Danger GitDSL.swift
[57/63] Compiling Danger GitHubDSL.swift
[58/63] Emitting module Danger
[59/63] Compiling Danger BitBucketServerDSL.swift
[60/63] Compiling Danger Danger.swift
BUILD FAILURE 6.1 linux