The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PonyExpress, reference 2.0.2 (649f3c), with Swift 6.1 for Android on 28 May 2025 14:40:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/adamwulf/PonyExpress.git
Reference: 2.0.2
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/adamwulf/PonyExpress
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at 649f3c0 Fixes how types with the same name are cached inside of PostOffice. now they are cached with a fully qualified name.
Cloned https://github.com/adamwulf/PonyExpress.git
Revision (git rev-parse @):
649f3c024eab95a9d3bf0dadabb8fa80f46bcb61
SUCCESS checkout https://github.com/adamwulf/PonyExpress.git at 2.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adamwulf/PonyExpress.git
https://github.com/adamwulf/PonyExpress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "locks",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adamwulf/Locks.git"
    }
  ],
  "manifest_display_name" : "PonyExpress",
  "name" : "PonyExpress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "PonyExpress",
      "targets" : [
        "PonyExpress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PonyExpressTests",
      "module_type" : "SwiftTarget",
      "name" : "PonyExpressTests",
      "path" : "Tests/PonyExpressTests",
      "sources" : [
        "MemoryTests.swift",
        "TestHelpers.swift",
        "UnverifiedMailBlockTests.swift",
        "UnverifiedMailMethodTests.swift",
        "VerifiedBlockTests.swift",
        "VerifiedMethodTests.swift"
      ],
      "target_dependencies" : [
        "PonyExpress"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PonyExpress",
      "module_type" : "SwiftTarget",
      "name" : "PonyExpress",
      "path" : "Sources/PonyExpress",
      "product_dependencies" : [
        "Locks"
      ],
      "product_memberships" : [
        "PonyExpress"
      ],
      "sources" : [
        "Array+Extension.swift",
        "Mail.swift",
        "PostOffice.swift",
        "Recipient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/adamwulf/Locks.git
[1/311] Fetching locks
Fetched https://github.com/adamwulf/Locks.git from cache (1.28s)
Computing version for https://github.com/adamwulf/Locks.git
Computed https://github.com/adamwulf/Locks.git at 1.0.0 (2.15s)
Creating working copy for https://github.com/adamwulf/Locks.git
Working copy of https://github.com/adamwulf/Locks.git resolved at 1.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling Locks RecursiveMutex.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/RecursiveMutex.swift:30:45: error: cannot convert value of type 'Int' to expected argument type 'Int32'
28 |         withUnsafeMutablePointer(to: &attr) { attr in
29 |             pthread_mutexattr_init(attr)
30 |             pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE)
   |                                             `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
31 |             let err = pthread_mutex_init(mutex, attr)
32 |             pthread_mutexattr_destroy(attr)
[5/13] Compiling Locks ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:45:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
43 |                 return v
44 |             }
45 |             Thread.current.threadDictionary[key] = initialValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
46 |             return initialValue
47 |         }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:49:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
47 |         }
48 |         set {
49 |             Thread.current.threadDictionary[key] = newValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
50 |         }
51 |     }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Compiling Locks AtomicWrapper+Extensions.swift
[7/14] Compiling Locks AtomicWrapper.swift
[8/14] Compiling Locks NSLocking+Extensions.swift
[9/14] Compiling Locks Mutex.swift
[10/14] Compiling Locks AtomicDictionary.swift
[11/14] Compiling Locks AtomicSet.swift
[12/14] Compiling Locks ReadWriteLock.swift
[13/14] Emitting module Locks
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:45:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
43 |                 return v
44 |             }
45 |             Thread.current.threadDictionary[key] = initialValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
46 |             return initialValue
47 |         }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:49:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
47 |         }
48 |         set {
49 |             Thread.current.threadDictionary[key] = newValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
50 |         }
51 |     }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:11:29: error: cannot find type 'os_unfair_lock_t' in scope
 9 |
10 | public class UnfairLock: NSLocking {
11 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
12 |     private var locked = false
13 |
[14/14] Compiling Locks UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:11:29: error: cannot find type 'os_unfair_lock_t' in scope
 9 |
10 | public class UnfairLock: NSLocking {
11 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
12 |     private var locked = false
13 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:15:23: error: cannot infer contextual base in reference to member 'allocate'
13 |
14 |     public init() {
15 |         unfairLock = .allocate(capacity: 1)
   |                       `- error: cannot infer contextual base in reference to member 'allocate'
16 |         unfairLock.initialize(to: os_unfair_lock())
17 |     }
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:16:35: error: cannot find 'os_unfair_lock' in scope
14 |     public init() {
15 |         unfairLock = .allocate(capacity: 1)
16 |         unfairLock.initialize(to: os_unfair_lock())
   |                                   `- error: cannot find 'os_unfair_lock' in scope
17 |     }
18 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:20:9: error: cannot find 'os_unfair_lock_lock' in scope
18 |
19 |     public func lock() {
20 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
21 |         locked = true
22 |     }
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:26:9: error: cannot find 'os_unfair_lock_unlock' in scope
24 |     public func unlock() {
25 |         locked = false
26 |         os_unfair_lock_unlock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_unlock' in scope
27 |     }
28 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/11] Compiling Locks ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:45:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
43 |                 return v
44 |             }
45 |             Thread.current.threadDictionary[key] = initialValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
46 |             return initialValue
47 |         }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:49:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
47 |         }
48 |         set {
49 |             Thread.current.threadDictionary[key] = newValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
50 |         }
51 |     }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
[3/12] Compiling Locks ReadWriteLock.swift
[4/12] Compiling Locks NSLocking+Extensions.swift
[5/12] Compiling Locks RecursiveMutex.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/RecursiveMutex.swift:30:45: error: cannot convert value of type 'Int' to expected argument type 'Int32'
28 |         withUnsafeMutablePointer(to: &attr) { attr in
29 |             pthread_mutexattr_init(attr)
30 |             pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE)
   |                                             `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
31 |             let err = pthread_mutex_init(mutex, attr)
32 |             pthread_mutexattr_destroy(attr)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Compiling Locks AtomicDictionary.swift
[7/12] Compiling Locks AtomicSet.swift
[8/12] Emitting module Locks
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:45:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
43 |                 return v
44 |             }
45 |             Thread.current.threadDictionary[key] = initialValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
46 |             return initialValue
47 |         }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:49:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
47 |         }
48 |         set {
49 |             Thread.current.threadDictionary[key] = newValue
   |             `- error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
50 |         }
51 |     }
Foundation.Thread._:2:1: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
1 | class Thread {
2 | set(value)}
  | `- note: setter for property 'threadDictionary' is not '@usableFromInline' or public
3 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:11:29: error: cannot find type 'os_unfair_lock_t' in scope
 9 |
10 | public class UnfairLock: NSLocking {
11 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
12 |     private var locked = false
13 |
[9/12] Compiling Locks AtomicWrapper+Extensions.swift
[10/12] Compiling Locks AtomicWrapper.swift
[11/12] Compiling Locks Mutex.swift
[12/12] Compiling Locks UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:11:29: error: cannot find type 'os_unfair_lock_t' in scope
 9 |
10 | public class UnfairLock: NSLocking {
11 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
12 |     private var locked = false
13 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:15:23: error: cannot infer contextual base in reference to member 'allocate'
13 |
14 |     public init() {
15 |         unfairLock = .allocate(capacity: 1)
   |                       `- error: cannot infer contextual base in reference to member 'allocate'
16 |         unfairLock.initialize(to: os_unfair_lock())
17 |     }
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:16:35: error: cannot find 'os_unfair_lock' in scope
14 |     public init() {
15 |         unfairLock = .allocate(capacity: 1)
16 |         unfairLock.initialize(to: os_unfair_lock())
   |                                   `- error: cannot find 'os_unfair_lock' in scope
17 |     }
18 |
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:20:9: error: cannot find 'os_unfair_lock_lock' in scope
18 |
19 |     public func lock() {
20 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
21 |         locked = true
22 |     }
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:26:9: error: cannot find 'os_unfair_lock_unlock' in scope
24 |     public func unlock() {
25 |         locked = false
26 |         os_unfair_lock_unlock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_unlock' in scope
27 |     }
28 |
BUILD FAILURE 6.1 android