Build Information
Failed to build Time, reference main (eab0cb), with Swift 6.1 for Android on 28 May 2025 06:55:19 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctrlgroup/Time.git
Reference: main
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/ctrlgroup/Time
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at eab0cb3 Added normal weekday symbol
Cloned https://github.com/ctrlgroup/Time.git
Revision (git rev-parse @):
eab0cb3d54e2467a2a22375126bac865b171b254
SUCCESS checkout https://github.com/ctrlgroup/Time.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ctrlgroup/Time.git
https://github.com/ctrlgroup/Time.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "resolver",
"requirement" : {
"branch" : [
"feature/moc-view-context-constant"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ctrlgroup/Resolver.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.1",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Time",
"name" : "Time",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "Time",
"targets" : [
"Time"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TimeTestHelpers",
"targets" : [
"TimeTestHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TimeTests",
"module_type" : "SwiftTarget",
"name" : "TimeTests",
"path" : "Tests/TimeTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"CalendarDate/CalendarDate+ArithmeticTests.swift",
"CalendarDate/CalendarDate+IntegerRepresentationTests.swift",
"CalendarDate/CalendarDateStringFormattingTests.swift",
"CalendarDate/CalendarDateStringTests.swift",
"CalendarDate/CalendarDateTests.swift",
"CalendarDate/CalendarDateWeekdaysTests.swift",
"CalendarDateRange/CalendarDateRangeSegmenterTests.swift",
"CalendarDateRange/CalendarDateRangeTests.swift",
"CalendarTests.swift",
"Clock/ClockTests.swift",
"Date/DateTests.swift",
"DateTime/DateTime+Tests.swift",
"DayOfWeek/DayOfWeekTests.swift",
"Locale.swift",
"TimeOfDay/TimeOfDay+TwelveHourClock.swift",
"TimeOfDay/TimeOfDayISO8601StringTests.swift",
"TimeOfDay/TimeOfDayStringTests.swift",
"TimeOfDay/TimeOfDayTests.swift",
"TimeRange/TimeRangeTests.swift",
"TimeTestConfiguration.swift",
"Timestamp/Timestamp+ArithmeticTests.swift",
"Timestamp/TimestampISO8601Tests.swift",
"Timestamp/TimestampRelativeTimeFormattingTests.swift",
"Timestamp/TimestampTests.swift"
],
"target_dependencies" : [
"Time",
"TimeTestHelpers"
],
"type" : "test"
},
{
"c99name" : "TimeTestHelpers",
"module_type" : "SwiftTarget",
"name" : "TimeTestHelpers",
"path" : "Sources/TimeTestHelpers",
"product_memberships" : [
"TimeTestHelpers"
],
"sources" : [
"CalendarDate+Example.swift",
"Clock+Fake.swift",
"DateFactoryStub.swift",
"TimeZoneFactoryStub.swift",
"Timestamp+Example.swift"
],
"target_dependencies" : [
"Time"
],
"type" : "library"
},
{
"c99name" : "Time",
"module_type" : "SwiftTarget",
"name" : "Time",
"path" : "Sources/Time",
"product_dependencies" : [
"Resolver"
],
"product_memberships" : [
"Time",
"TimeTestHelpers"
],
"sources" : [
"Calendar.swift",
"CalendarDate/CalendarDate+Arithmetic.swift",
"CalendarDate/CalendarDate+String.swift",
"CalendarDate/CalendarDate+StringFormatting.swift",
"CalendarDate/CalendarDate+Weekdays.swift",
"CalendarDate/CalendarDate.swift",
"CalendarDateRange/CalendarDateRange.swift",
"CalendarDateRange/CalendarDateRangeSegmenter.swift",
"Clock/Clock.swift",
"Date/Date.swift",
"DateTime/DateTime+String.swift",
"DateTime/DateTime.swift",
"DayOfWeek/DayOfWeek.swift",
"Extensions/Array.swift",
"Extensions/String.swift",
"Extensions/TimeInterval.swift",
"Factories/DateFactory.swift",
"Factories/TimeZoneProvider.swift",
"Time+Injection.swift",
"TimeOfDay/TimeOfDay+ISO8601String.swift",
"TimeOfDay/TimeOfDay+String.swift",
"TimeOfDay/TimeOfDay.swift",
"TimeRange/TimeRange.swift",
"TimeSerializationType.swift",
"TimeZone.swift",
"Timestamp/Timestamp+Arithmetic.swift",
"Timestamp/Timestamp+Codable.swift",
"Timestamp/Timestamp+ISO8601.swift",
"Timestamp/Timestamp+RelativeTimeFormatting.swift",
"Timestamp/Timestamp.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/ctrlgroup/Resolver.git
[1/1599] Fetching resolver
Fetched https://github.com/ctrlgroup/Resolver.git from cache (0.27s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[2510/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.89s)
Fetched https://github.com/Quick/Nimble.git from cache (1.91s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (2.75s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (1.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.65s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.87s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/ctrlgroup/Resolver.git
Working copy of https://github.com/ctrlgroup/Resolver.git resolved at feature/moc-view-context-constant (c50f9e7)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling Resolver Constants.swift
[6/7] Emitting module Resolver
[7/7] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
340 | init() {
341 | pthread_mutexattr_init(&recursiveMutexAttr)
342 | pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
343 | pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 | }
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/4] Compiling Resolver Constants.swift
[3/4] Emitting module Resolver
[4/4] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
340 | init() {
341 | pthread_mutexattr_init(&recursiveMutexAttr)
342 | pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
343 | pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 | }
BUILD FAILURE 6.1 android