The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swim, reference 0.4.0 (a2860d), with Swift 6.1 for Android on 27 May 2025 15:08:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mitsuse/swim.git
Reference: 0.4.0
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
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at a2860de 0.4.0
Cloned https://github.com/mitsuse/swim.git
Revision (git rev-parse @):
a2860dee5e1ed63e33bc9356c9293ed721268e3e
SUCCESS checkout https://github.com/mitsuse/swim.git at 0.4.0
========================================
Build
========================================
Selected platform:         android
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (1.24s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.83s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[444/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.24s)
[6267/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.86s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.38s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.63s)
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
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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 OrderedSet.swift
[6/18] Compiling Commandant Switch.swift
[7/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 |
[8/18] Emitting module Commandant
[9/18] Compiling Commandant Argument.swift
[10/18] Compiling Commandant ArgumentParser.swift
[11/18] Compiling Commandant ArgumentProtocol.swift
[12/18] Compiling Commandant Command.swift
[13/18] Compiling Commandant Errors.swift
[14/18] Compiling Commandant HelpCommand.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Commandant Result+Additions.swift
[3/16] Compiling Commandant OrderedSet.swift
[4/16] Compiling Commandant Option.swift
[5/16] Compiling Commandant HelpCommand.swift
[6/16] Compiling Commandant Errors.swift
[7/16] Compiling Commandant Switch.swift
[8/16] Emitting module Commandant
[9/16] Compiling Commandant ArgumentProtocol.swift
[10/16] Compiling Commandant Command.swift
[11/16] Compiling Commandant Argument.swift
[12/16] Compiling Commandant ArgumentParser.swift
[13/17] Wrapping AST for Commandant for debugging
[15/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 |
[16/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 |
[17/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 |
[18/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/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 |
[20/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 |
BUILD FAILURE 6.1 android