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.2 (beta) for Android on 19 Jun 2025 13:59:57 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/alemar11/Mechanica.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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-8C5A4AE7A8CE2BA.txt
[3/33] Compiling Mechanica NSMutableAttributedString+Utils.swift
[4/33] Compiling Mechanica NSObjectProtocol+Utils.swift
[5/33] Compiling Mechanica NSPredicate+Utils.swift
[6/33] Compiling Mechanica ProcessInfo+Utils.swift
[7/37] 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 |
[8/37] 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 |
[9/37] 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 |
[10/37] 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 |
[11/37] 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 |
[12/37] Compiling Mechanica Bundle+Info.swift
[13/37] Compiling Mechanica Calendar+Utils.swift
[14/37] Compiling Mechanica Data+Utils.swift
[15/37] Compiling Mechanica Date+Utils.swift
[16/37] Compiling Mechanica Dictionary+FoundationUtils.swift
[17/37] Compiling Mechanica FloatingPoint+Utils.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/37] Compiling Mechanica Operators.swift
[19/37] Compiling Mechanica Optional+Utils.swift
[20/37] Compiling Mechanica RangeReplaceableCollection+Utils.swift
[21/37] Compiling Mechanica UserDefaults+Utils.swift
[22/37] Compiling Mechanica BinaryFloatingPoint+Utils.swift
[23/37] Compiling Mechanica BinaryInteger+Utils.swift
[24/37] Compiling Mechanica Bool+Utils.swift
[25/37] Compiling Mechanica Character+Utils.swift
[26/37] Compiling Mechanica Collection+Utils.swift
[27/37] Compiling Mechanica Dictionary+Utils.swift
[28/37] Compiling Mechanica FixedWidthInteger+Utils.swift
[29/37] 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 |   ///
[30/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 |   ///
[31/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 |   ///
[32/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 |   ///
[33/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 |   ///
[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
BUILD FAILURE 6.2 android