The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Signals, reference master (a5ce52), with Swift 6.1 for Android on 28 May 2025 12:56:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Kitura/BlueSignals.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/Kitura/BlueSignals
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a5ce527 Add SIGCHLD and other signals
Cloned https://github.com/Kitura/BlueSignals.git
Revision (git rev-parse @):
a5ce52795af4d91b3ff5dfb484ee3e45d9ed3d44
SUCCESS checkout https://github.com/Kitura/BlueSignals.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/BlueSignals.git
https://github.com/Kitura/BlueSignals.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Signals",
  "name" : "Signals",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Signals",
      "targets" : [
        "Signals"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Signals",
      "module_type" : "SwiftTarget",
      "name" : "Signals",
      "path" : "Sources/Signals",
      "product_memberships" : [
        "Signals"
      ],
      "sources" : [
        "SignalWatch.swift",
        "SignalWatchHandler.swift",
        "Signals.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Signals Signals.swift
/host/spi-builder-workspace/Sources/Signals/Signals.swift:94:30: error: cannot find 'SIGINFO' in scope
 92 |                 return Int32(SIGWINCH)
 93 |             case .info:
 94 |                 return Int32(SIGINFO)
    |                              `- error: cannot find 'SIGINFO' in scope
 95 | 			case .user(let sig):
 96 | 				return Int32(sig)
/host/spi-builder-workspace/Sources/Signals/Signals.swift:120:22: error: cannot find 'SIGINFO' in scope
118 |             case Int(SIGPROF): self = .prof
119 |             case Int(SIGWINCH): self = .winch
120 |             case Int(SIGINFO): self = .info
    |                      `- error: cannot find 'SIGINFO' in scope
121 |
122 |             default:
[4/6] Compiling Signals SignalWatch.swift
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     typealias SignalNumber = Int32
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:48: warning: capture of 'self' with non-sendable type 'SignalWatch' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
 13 |
    :
 88 |     private func didRecieve(signal: Signals.Signal) {
 89 |         return self.queue.async {
 90 |             guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
    |                                                `- warning: capture of 'self' with non-sendable type 'SignalWatch' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |
 92 |             for signalHandler in signalWatchHandlerList {
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:68: warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 88 |     private func didRecieve(signal: Signals.Signal) {
 89 |         return self.queue.async {
 90 |             guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
    |                                                                    `- warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |
 92 |             for signalHandler in signalWatchHandlerList {
/host/spi-builder-workspace/Sources/Signals/Signals.swift:39:14: note: consider making enum 'Signal' conform to the 'Sendable' protocol
 37 | 	/// Common OS Signals
 38 | 	///
 39 | 	public enum Signal {
    |              `- note: consider making enum 'Signal' conform to the 'Sendable' protocol
 40 | 		case hup
 41 | 		case int
[5/6] Emitting module Signals
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     typealias SignalNumber = Int32
[6/6] Compiling Signals SignalWatchHandler.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling Signals SignalWatchHandler.swift
[3/5] Compiling Signals Signals.swift
/host/spi-builder-workspace/Sources/Signals/Signals.swift:94:30: error: cannot find 'SIGINFO' in scope
 92 |                 return Int32(SIGWINCH)
 93 |             case .info:
 94 |                 return Int32(SIGINFO)
    |                              `- error: cannot find 'SIGINFO' in scope
 95 | 			case .user(let sig):
 96 | 				return Int32(sig)
/host/spi-builder-workspace/Sources/Signals/Signals.swift:120:22: error: cannot find 'SIGINFO' in scope
118 |             case Int(SIGPROF): self = .prof
119 |             case Int(SIGWINCH): self = .winch
120 |             case Int(SIGINFO): self = .info
    |                      `- error: cannot find 'SIGINFO' in scope
121 |
122 |             default:
[4/5] Compiling Signals SignalWatch.swift
[5/5] Emitting module Signals
BUILD FAILURE 6.1 android