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 swim, reference master (a29d99), with Swift 6.1 for Linux on 25 Apr 2025 15:32:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/mitsuse/swim.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/mitsuse/swim
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a29d999 Merge branch 'update-readme'
Cloned https://github.com/mitsuse/swim.git
Revision (git rev-parse @):
a29d999c27475bfb3859c7d48b51f8353c0410b1
SUCCESS checkout https://github.com/mitsuse/swim.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mitsuse/swim.git
https://github.com/mitsuse/swim.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "0.18.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "swim",
  "name" : "swim",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "swim",
      "targets" : [
        "swim"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swim",
      "module_type" : "SwiftTarget",
      "name" : "swim",
      "path" : "Sources/swim",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "swim"
      ],
      "sources" : [
        "Command.swift",
        "InputSource.swift",
        "Object.swift",
        "RawInputSource.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Carthage/Commandant.git
[1/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.66s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.44s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[4723/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (3.47s)
Fetched https://github.com/Quick/Nimble.git from cache (3.47s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (4.22s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.80s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Commandant Result+Additions.swift
[5/18] Compiling Commandant Switch.swift
[6/18] Compiling Commandant OrderedSet.swift
[7/18] Compiling Commandant HelpCommand.swift
[8/18] Compiling Commandant Errors.swift
[9/18] Compiling Commandant ArgumentProtocol.swift
[10/18] Compiling Commandant Command.swift
[11/18] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
  |               `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
[12/18] Emitting module Commandant
[13/18] Compiling Commandant Argument.swift
[14/18] Compiling Commandant ArgumentParser.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Commandant OrderedSet.swift
[3/15] Compiling Commandant Result+Additions.swift
[4/16] Emitting module Commandant
[5/16] Compiling Commandant HelpCommand.swift
[6/16] Compiling Commandant Option.swift
[7/16] Compiling Commandant Switch.swift
[8/16] Compiling Commandant ArgumentProtocol.swift
[9/16] Compiling Commandant Command.swift
[10/16] Compiling Commandant Argument.swift
[11/16] Compiling Commandant ArgumentParser.swift
[12/16] Compiling Commandant Errors.swift
[13/17] Wrapping AST for Commandant for debugging
[15/23] Compiling swim RawInputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
[16/23] Compiling swim InputSource.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
[17/23] Compiling swim Command.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
[18/23] Compiling swim Object.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
[19/23] Compiling swim main.swift
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/23] Emitting module swim
/host/spi-builder-workspace/Sources/swim/main.swift:1:8: error: no such module 'Darwin'
 1 | import Darwin
   |        `- error: no such module 'Darwin'
 2 | import Commandant
 3 |
BUILD FAILURE 6.1 linux