The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Mechanica, reference master (076c43), with Swift 6.1 for Android on 28 May 2025 07:44:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/alemar11/Mechanica.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/alemar11/Mechanica
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 076c436 Bump cocoapods-downloader from 1.1.3 to 1.6.3 (#72)
Cloned https://github.com/alemar11/Mechanica.git
Revision (git rev-parse @):
076c436ae3ec24af1861b656c0f660d1ca65426f
SUCCESS checkout https://github.com/alemar11/Mechanica.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alemar11/Mechanica.git
https://github.com/alemar11/Mechanica.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mechanica",
  "name" : "Mechanica",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Mechanica",
      "targets" : [
        "Mechanica"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "StandardLibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "StandardLibraryTests",
      "path" : "Tests/StandardLibraryTests",
      "sources" : [
        "BinaryFloatingPointUtilsTests.swift",
        "BinaryIntegerUtilsTests.swift",
        "BoolUtilsTests.swift",
        "CharacterUtilsTests.swift",
        "CollectionUtilsTests.swift",
        "DictionaryUtilsTests.swift",
        "FloatingPointUtilsTests.swift",
        "OperatorsTests.swift",
        "OptionalUtilsTests.swift",
        "RangeReplaceableCollectionUtilsTests.swift",
        "SequenceUtilsTests.swift",
        "SignedIntegerUtilsTests.swift",
        "StringUtilsTests.swift",
        "UnsignedIntegerUtilsTests.swift"
      ],
      "target_dependencies" : [
        "Mechanica"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mechanica",
      "module_type" : "SwiftTarget",
      "name" : "Mechanica",
      "path" : "Sources",
      "product_memberships" : [
        "Mechanica"
      ],
      "sources" : [
        "Foundation/Bundle+Info.swift",
        "Foundation/Calendar+Utils.swift",
        "Foundation/Data+Utils.swift",
        "Foundation/Date+Utils.swift",
        "Foundation/Dictionary+FoundationUtils.swift",
        "Foundation/DispatchQueue+Utils.swift",
        "Foundation/FileManager+Utils.swift",
        "Foundation/FoundationUtils.swift",
        "Foundation/Locale.swift",
        "Foundation/NSAttributedString+Utils.swift",
        "Foundation/NSMutableAttributedString+Utils.swift",
        "Foundation/NSObjectProtocol+Utils.swift",
        "Foundation/NSPredicate+Utils.swift",
        "Foundation/ProcessInfo+Utils.swift",
        "Foundation/Stat+Utils.swift",
        "Foundation/String+FoundationUtils.swift",
        "Foundation/URL+Utils.swift",
        "Foundation/URLRequest+Utils.swift",
        "Foundation/UserDefaults+Utils.swift",
        "StandardLibrary/BinaryFloatingPoint+Utils.swift",
        "StandardLibrary/BinaryInteger+Utils.swift",
        "StandardLibrary/Bool+Utils.swift",
        "StandardLibrary/Character+Utils.swift",
        "StandardLibrary/Collection+Utils.swift",
        "StandardLibrary/Dictionary+Utils.swift",
        "StandardLibrary/FixedWidthInteger+Utils.swift",
        "StandardLibrary/FloatingPoint+Utils.swift",
        "StandardLibrary/Operators.swift",
        "StandardLibrary/Optional+Utils.swift",
        "StandardLibrary/RangeReplaceableCollection+Utils.swift",
        "StandardLibrary/Sequence+Utils.swift",
        "StandardLibrary/SignedInteger.swift",
        "StandardLibrary/String+Utils.swift",
        "StandardLibrary/Unicode+Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationTests",
      "path" : "Tests/FoundationTests",
      "sources" : [
        "CalendarUtilsTests.swift",
        "DataUtilsTests.swift",
        "DateUtilsTests.swift",
        "DictionaryFoundationUtilsTests.swift",
        "DispatchQueueUtilsTests.swift",
        "FileManagerUtilsTests.swift",
        "FoundationUtilsTests.swift",
        "LocaleUtilsTests.swift",
        "NSAttributedStringUtilsTests.swift",
        "NSMutableAttributedStringUtilsTests.swift",
        "NSObjectProtocolUtils.swift",
        "NSPredicateUtilsTests.swift",
        "ProcessInfoTests.swift",
        "StatUtilsTests.swift",
        "StringFoundationUtilsTests.swift",
        "URLRequestUtilsTests.swift",
        "URLUtilsTests.swift",
        "UserDefaultsUtilsTests.swift"
      ],
      "target_dependencies" : [
        "Mechanica"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/BundleInfoTests.swift': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/BundleInfoTests.swift': File not found.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/33] Compiling Mechanica Character+Utils.swift
[4/33] Compiling Mechanica Collection+Utils.swift
[5/33] Compiling Mechanica Dictionary+Utils.swift
[6/33] Compiling Mechanica FixedWidthInteger+Utils.swift
[7/33] Compiling Mechanica DispatchQueue+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[8/33] Compiling Mechanica FileManager+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[9/33] Compiling Mechanica FoundationUtils.swift
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[10/33] Compiling Mechanica Locale.swift
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[11/33] Compiling Mechanica NSAttributedString+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[12/33] Compiling Mechanica FloatingPoint+Utils.swift
[13/33] Compiling Mechanica Operators.swift
[14/33] Compiling Mechanica Optional+Utils.swift
[15/33] Compiling Mechanica RangeReplaceableCollection+Utils.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/37] Emitting module Mechanica
/host/spi-builder-workspace/Sources/Foundation/DispatchQueue+Utils.swift:13:18: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |   static var isMainQueue: Bool {
12 |     enum Static {
13 |       static var key: DispatchSpecificKey<Void> = {
   |                  |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                  |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
   |                  |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
   |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         let key = DispatchSpecificKey<Void>()
15 |         DispatchQueue.main.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |   ///
 9 |   /// An always `true` NSPredicate.
10 |   public static let `true` = NSPredicate(value: true)
   |                     |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |   /// **Mechanica**
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// An always `false` NSPredicate.
15 |   public static let `false` = NSPredicate(value: false)
   |                     |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[17/37] Compiling Mechanica UserDefaults+Utils.swift
[18/37] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[19/37] Compiling Mechanica BinaryInteger+Utils.swift
[20/37] Compiling Mechanica Bool+Utils.swift
[21/37] Compiling Mechanica Bundle+Info.swift
[22/37] Compiling Mechanica Calendar+Utils.swift
[23/37] Compiling Mechanica Data+Utils.swift
[24/37] Compiling Mechanica Date+Utils.swift
[25/37] Compiling Mechanica Dictionary+FoundationUtils.swift
[26/37] Compiling Mechanica Stat+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[27/37] Compiling Mechanica String+FoundationUtils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[28/37] Compiling Mechanica URL+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[29/37] Compiling Mechanica URLRequest+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[30/37] Compiling Mechanica NSMutableAttributedString+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |   ///
 9 |   /// An always `true` NSPredicate.
10 |   public static let `true` = NSPredicate(value: true)
   |                     |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |   /// **Mechanica**
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// An always `false` NSPredicate.
15 |   public static let `false` = NSPredicate(value: false)
   |                     |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[31/37] Compiling Mechanica NSObjectProtocol+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |   ///
 9 |   /// An always `true` NSPredicate.
10 |   public static let `true` = NSPredicate(value: true)
   |                     |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |   /// **Mechanica**
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// An always `false` NSPredicate.
15 |   public static let `false` = NSPredicate(value: false)
   |                     |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[32/37] Compiling Mechanica NSPredicate+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |   ///
 9 |   /// An always `true` NSPredicate.
10 |   public static let `true` = NSPredicate(value: true)
   |                     |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |   /// **Mechanica**
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// An always `false` NSPredicate.
15 |   public static let `false` = NSPredicate(value: false)
   |                     |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[33/37] Compiling Mechanica ProcessInfo+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:10:21: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |   ///
 9 |   /// An always `true` NSPredicate.
10 |   public static let `true` = NSPredicate(value: true)
   |                     |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'true' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |   /// **Mechanica**
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/Foundation/NSPredicate+Utils.swift:15:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
13 |   ///
14 |   /// An always `false` NSPredicate.
15 |   public static let `false` = NSPredicate(value: false)
   |                     |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'NSPredicate' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'false' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
Foundation.NSPredicate:1:12: note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 1 | open class NSPredicate : NSObject, NSCopying {
   |            `- note: class 'NSPredicate' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[34/37] Compiling Mechanica Sequence+Utils.swift
[35/37] Compiling Mechanica SignedInteger.swift
[36/37] Compiling Mechanica String+Utils.swift
[37/37] Compiling Mechanica Unicode+Utils.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/BundleInfoTests.swift': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/32] Emitting module Mechanica
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[3/36] Compiling Mechanica UserDefaults+Utils.swift
[4/36] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[5/36] Compiling Mechanica BinaryInteger+Utils.swift
[6/36] Compiling Mechanica Bool+Utils.swift
[7/36] Compiling Mechanica Bundle+Info.swift
[8/36] Compiling Mechanica Calendar+Utils.swift
[9/36] Compiling Mechanica Data+Utils.swift
[10/36] Compiling Mechanica Date+Utils.swift
[11/36] Compiling Mechanica Dictionary+FoundationUtils.swift
[12/36] Compiling Mechanica FloatingPoint+Utils.swift
[13/36] Compiling Mechanica Operators.swift
[14/36] Compiling Mechanica Optional+Utils.swift
[15/36] Compiling Mechanica RangeReplaceableCollection+Utils.swift
[16/36] Compiling Mechanica NSMutableAttributedString+Utils.swift
[17/36] Compiling Mechanica NSObjectProtocol+Utils.swift
[18/36] Compiling Mechanica NSPredicate+Utils.swift
[19/36] Compiling Mechanica ProcessInfo+Utils.swift
[20/36] Compiling Mechanica DispatchQueue+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[21/36] Compiling Mechanica FileManager+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[22/36] Compiling Mechanica FoundationUtils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[23/36] Compiling Mechanica Locale.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[24/36] Compiling Mechanica NSAttributedString+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/FileManager+Utils.swift:26:7: error: cannot find 'stat' in scope
24 |
25 |       var result = Stat()
26 |       stat(path, &result)
   |       `- error: cannot find 'stat' in scope
27 |       guard result.isDirectory == true else { return }
28 |
[25/36] Compiling Mechanica Stat+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[26/36] Compiling Mechanica String+FoundationUtils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[27/36] Compiling Mechanica URL+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[28/36] Compiling Mechanica URLRequest+Utils.swift
/host/spi-builder-workspace/Sources/Foundation/Stat+Utils.swift:14:18: error: cannot find type 'stat' in scope
 12 | ///
 13 | /// The structure of the data returned by the functions `fstat()`, `lstat()`, and `stat()`.
 14 | typealias Stat = stat
    |                  `- error: cannot find type 'stat' in scope
 15 |
 16 | extension Stat {
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:62:5: error: cannot find 'stat' in scope
60 |     //    #elseif os(Linux)
61 |     var result = Stat()
62 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
63 |     return result.isDirectory
64 |     //    #endif
/host/spi-builder-workspace/Sources/Foundation/URL+Utils.swift:72:5: error: cannot find 'stat' in scope
70 |   var isFile: Bool {
71 |     var result = Stat()
72 |     stat(path, &result)
   |     `- error: cannot find 'stat' in scope
73 |     return result.isFile
74 |   }
/host/spi-builder-workspace/Sources/Foundation/URLRequest+Utils.swift:5:11: error: cannot find type 'URLRequest' in scope
  3 | import Foundation
  4 |
  5 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
  6 |   /// **Mechanica**
  7 |   ///
[29/36] Compiling Mechanica Character+Utils.swift
[30/36] Compiling Mechanica Collection+Utils.swift
[31/36] Compiling Mechanica Dictionary+Utils.swift
[32/36] Compiling Mechanica FixedWidthInteger+Utils.swift
[33/36] Compiling Mechanica Sequence+Utils.swift
[34/36] Compiling Mechanica SignedInteger.swift
[35/36] Compiling Mechanica String+Utils.swift
[36/36] Compiling Mechanica Unicode+Utils.swift
BUILD FAILURE 6.1 android