The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Deviice, reference develop (42a62d), with Swift 6.1 for Android on 24 Sep 2026 01:30:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrealufino/Deviice.git
Reference: develop
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/andrealufino/Deviice
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 42a62d0 Merge tag '3.2.1' into develop
Cloned https://github.com/andrealufino/Deviice.git
Revision (git rev-parse @):
42a62d07a07f4650718a6c9c5c5ded69deb44e88
SUCCESS checkout https://github.com/andrealufino/Deviice.git at develop
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/andrealufino/Deviice.git
https://github.com/andrealufino/Deviice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying devices.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Deviice Model.swift
[5/7] Compiling Deviice resource_bundle_accessor.swift
[6/7] Emitting module Deviice
/host/spi-builder-workspace/Sources/Deviice/Device.swift:123:16: warning: static property 'allDevices' is not concurrency-safe because non-'Sendable' type '[String : Device]' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | /// This struct represent a device in the physical sense.
 13 | public struct Device: Codable {
    |               `- note: consider making struct 'Device' conform to the 'Sendable' protocol
 14 |
 15 |     /// This is the identifier of the device, such as `iPhone17,2`.
    :
121 |     /// missing or malformed, which is a package build error rather than a runtime
122 |     /// condition, so it traps.
123 |     static let allDevices: [String: Device] = {
    |                |- warning: static property 'allDevices' is not concurrency-safe because non-'Sendable' type '[String : Device]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'allDevices' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |         guard let fileURL = Bundle.module.url(forResource: "devices", withExtension: "json") else {
125 |             fatalError("Deviice: bundled devices.json resource not found.")
[7/7] Compiling Deviice Device.swift
/host/spi-builder-workspace/Sources/Deviice/Device.swift:123:16: warning: static property 'allDevices' is not concurrency-safe because non-'Sendable' type '[String : Device]' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | /// This struct represent a device in the physical sense.
 13 | public struct Device: Codable {
    |               `- note: consider making struct 'Device' conform to the 'Sendable' protocol
 14 |
 15 |     /// This is the identifier of the device, such as `iPhone17,2`.
    :
121 |     /// missing or malformed, which is a package build error rather than a runtime
122 |     /// condition, so it traps.
123 |     static let allDevices: [String: Device] = {
    |                |- warning: static property 'allDevices' is not concurrency-safe because non-'Sendable' type '[String : Device]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'allDevices' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |         guard let fileURL = Bundle.module.url(forResource: "devices", withExtension: "json") else {
125 |             fatalError("Deviice: bundled devices.json resource not found.")
/host/spi-builder-workspace/Sources/Deviice/Device.swift:60:54: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 58 |     public var simulatedDevice: Device? {
 59 |         if isSimulator {
 60 |             if let actualSimulatedDeviceIdentifier = ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] {
    |                                                      `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 61 |                 // actual simulated device here
 62 |                 return Self.device(fromIdentifier: actualSimulatedDeviceIdentifier)
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/spi-builder-workspace/Sources/Deviice/Device.swift:106:26: error: cannot find 'utsname' in scope
104 |         // https://github.com/dennisweissmann
105 |         // Here his snippet : https://github.com/dennisweissmann/DeviceKit/blob/master/Source/Device.swift#L177-L185
106 |         var systemInfo = utsname()
    |                          `- error: cannot find 'utsname' in scope
107 |         uname(&systemInfo)
108 |         let machineMirror = Mirror(reflecting: systemInfo.machine)
/host/spi-builder-workspace/Sources/Deviice/Device.swift:107:9: error: cannot find 'uname' in scope
105 |         // Here his snippet : https://github.com/dennisweissmann/DeviceKit/blob/master/Source/Device.swift#L177-L185
106 |         var systemInfo = utsname()
107 |         uname(&systemInfo)
    |         `- error: cannot find 'uname' in scope
108 |         let machineMirror = Mirror(reflecting: systemInfo.machine)
109 |         let identifier = machineMirror.children.reduce("") { identifier, element in
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling Deviice resource_bundle_accessor.swift
[3/5] Compiling Deviice Model.swift
[4/5] Compiling Deviice Device.swift
/host/spi-builder-workspace/Sources/Deviice/Device.swift:60:54: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 58 |     public var simulatedDevice: Device? {
 59 |         if isSimulator {
 60 |             if let actualSimulatedDeviceIdentifier = ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] {
    |                                                      `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 61 |                 // actual simulated device here
 62 |                 return Self.device(fromIdentifier: actualSimulatedDeviceIdentifier)
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/spi-builder-workspace/Sources/Deviice/Device.swift:106:26: error: cannot find 'utsname' in scope
104 |         // https://github.com/dennisweissmann
105 |         // Here his snippet : https://github.com/dennisweissmann/DeviceKit/blob/master/Source/Device.swift#L177-L185
106 |         var systemInfo = utsname()
    |                          `- error: cannot find 'utsname' in scope
107 |         uname(&systemInfo)
108 |         let machineMirror = Mirror(reflecting: systemInfo.machine)
/host/spi-builder-workspace/Sources/Deviice/Device.swift:107:9: error: cannot find 'uname' in scope
105 |         // Here his snippet : https://github.com/dennisweissmann/DeviceKit/blob/master/Source/Device.swift#L177-L185
106 |         var systemInfo = utsname()
107 |         uname(&systemInfo)
    |         `- error: cannot find 'uname' in scope
108 |         let machineMirror = Mirror(reflecting: systemInfo.machine)
109 |         let identifier = machineMirror.children.reduce("") { identifier, element in
[5/5] Emitting module Deviice
BUILD FAILURE 6.1 android